Tw
TwitterAccountLink(Markdown)

Script key: TwitterAccountLink(Markdown)

Posted by @feelingplace

Install

Details

Label Tw
Voice Over TwitterAccountLink(Markdown)
Script
//Please start by selecting the Twitter account name.

var accountName = getSelectedText();
var twitterLink = "[@" + accountName + "](https://twitter.com/" + accountName + ")";
var selRange = getSelectedRange();
setSelectedText(twitterLink);
setSelectedRange(selRange[0]+twitterLink.length,0);

Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus