Re: NSWorkspace openFile: bug?
Re: NSWorkspace openFile: bug?
- Subject: Re: NSWorkspace openFile: bug?
- From: John Stiles <email@hidden>
- Date: Fri, 5 Jan 2007 11:51:53 -0800
On Jan 5, 2007, at 11:46 AM, Sean McBride wrote:
You could use
AppleEvents directly if you're that concerned.
I tried reading the docs for this, but got discouraged too
quickly....how exactly would I go about doing this using AE?
Agreed. AEs are messy, I was also put off quickly. The AppleScript
method I showed you works fast enough, even on my G4.
AppleScript is a huge mess. (Low level AEs aren't so terrible, OTOH,
but you wouldn't want to write any complex interactions with them.)
AppleScript is convenient for interacting with Growl, though, since
you can avoid linking in a several-hundred-K framework. :) I use
NSAppleScript to drive Growl in one of my apps, and I was pleased
with the results. In my case, size is an issue and an 300K of extra
code wouldn't have been justifiable, so I'm glad they support
AppleScript!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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