[TxMt] Re: Refreshing files after a command executes
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
Excellent. Thank you, this is exactly what I was looking for.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 758 bytes
Desc: not available
More information about the textmate