PRUNE
Remove all empty lines

Script key: Remove all empty lines

Posted by @ComplexPoint

Install

Details

Label PRUNE
Voice Over Remove all empty lines
Script
(function () {
	var drafts = this;

	drafts.setText(
		drafts.getText().split(/[\n\r]+/).filter(
			function (x) { return x; }
		).join('\n')
	);
})();

Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus