[TxMt] Re: Running an AppleScript

Jacob Rus jrus at hcs.harvard.edu
Sat Mar 31 04:39:12 UTC 2007


Tim Mansour wrote:
> osascript <<-ENDSCRIPT
> set title to "${TM_SELECTED_TEXT}"
[...]

Incidentally, if you use "APPLESCRIPT" as a token, you'll get syntax 
highlighting for applescript inside your here-document.

-Jacob




More information about the textmate mailing list