Forward delete

Script key: Forward delete

Posted by loicwolff

Install

Details

Label
Voice Over Forward delete
Script
// Script keys run short Javascripts
// For documentation and examples, visit:
// http://help.agiletortoise.com

var sel = getSelectedRange();
var start = sel[0];
var length = sel[1];

setTextInRange(start, length == 0 ? 1 : length, "");

setSelectedRange(start, 0);

Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus