[TxMt] Re: Refreshing files after a command executes

David Ogren ogren at mac.com
Fri Apr 15 15:05:28 UTC 2005


> > In short, is there anyway to force TextMate to check the "freshness"
> > of a current file after executing a command?
>
> As a workaround you can add this to the bottom of your command,
> basically automating the re-activation you were doing manually (in the
> future I hope to make this unnecessary :) ):
>
>     osascript <<EOF &>/dev/null &
>        tell app "System Events" to activate
>        tell app "TextMate" to activate
>     EOF

Excellent. Thank you, this is exactly what I was looking for.

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 758 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20050415/7033684b/attachment.bin>


More information about the textmate mailing list