Re: Open a new terminal tab or window from a Cocoa app at a certain directory without using NSAppleScript?
Re: Open a new terminal tab or window from a Cocoa app at a certain directory without using NSAppleScript?
- Subject: Re: Open a new terminal tab or window from a Cocoa app at a certain directory without using NSAppleScript?
- From: Jens Alfke <email@hidden>
- Date: Thu, 26 Jan 2012 10:30:22 -0800
On Jan 26, 2012, at 9:13 AM, Andrew wrote:
> The only code I found via Google is all
> using AppleScript to open the Terminal.app, but nothing I found was a Cocoa
> interface besides 3rd party terminal apps (iTerm, iTerm2). Is there a
> better way than using NSAppleScript to do this?
Not that I’m aware of. NSAppleScript is a perfectly valid way to do inter-application communication, so don’t think of this as a kludge.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden