[TxMt] Open Terminal

Allan Odgaard throw-away-2 at macromates.com
Mon Apr 21 15:36:39 UTC 2008


On 17 Apr 2008, at 02:52, Mark Eli Kalderon wrote:

> Is there a way to modify the Open Terminal command so that it uses  
> tabs with Terminal.app? I have been trying to do this but my  
> applescript-fu is weak. :/

I see there is plenty of support for this in the scripting dictionary,  
but I also don’t get AppleScript.

I tried first:

     tell app "Terminal" to return tabs of first window

This worked fine, so then I tried:

     tell app "Terminal" to make new tab in first window

That gave me:

     Terminal got an error: Can’t make or move that element into that  
container. (-10024)

And then I gave up :)




More information about the textmate mailing list