h1

Script key

Posted by afoolswisdom

Install

Details

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

var mark = getSelectedRange()
var sel = getSelectedText()
var title = sel + '\n'

setText(title + getText())
setSelectedRange(mark[0] + title.length + sel.length)

Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus