[TxMt] Distilling Text (was: Another Editor War Sparked by TextMate)

Jay Soffian jay-txmt at soffian.org
Mon Nov 13 01:06:16 UTC 2006


On Nov 12, 2006, at 6:30 PM, Luke Daley wrote:

> A Guru I am not, but Allan gave this to me a few days ago.
>
> osascript -e 'tell app "TextMate" to activate' -e 'tell app "System  
> Events" to keystroke "n" using command down'
>
> Works great. As for add the text, I don't know.

Cool. New version attached. Instead of piping to mate, I pipe to  
pbcopy, then just do a cmd-n, cmd-v via system events.

j.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Distill Document : Selection.tmCommand
Type: application/octet-stream
Size: 1409 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061112/6545af11/attachment.tmCommand>


More information about the textmate mailing list