[TxMt] applescript from textmate (specific case)

Allan Odgaard throw-away-1 at macromates.com
Sun May 28 00:48:24 UTC 2006


On 28/5/2006, at 0:08, Oliver Taylor wrote:

>> Sorry, should have been:
>>
>> osascript 2>/dev/null \
>>     -e 'tell app "Backdrop" to activate' \
>>     -e 'tell app "MenuShade" to activate' \
>>     -e 'tell app "TextMate" to activate' &

Actually, I didn’t do it correct there either :)

    osascript &>/dev/null \
        -e 'tell app "Backdrop" to activate' \
        -e 'tell app "MenuShade" to activate' \
        -e 'tell app "TextMate" to activate' &

> [...] The only way this DOESN'T hang TextMate is if I set the  
> Output to
> "Show as HTML". Ideally, I'd discard it, but that hangs the app.
> Bizarre.

That’s because commands with HTML output do not make TM wait for the  
command -- I probably will do the same for discarding output, but  
there are some considerations wrt commands that change output option  
midway.





More information about the textmate mailing list