Re: Cocoa Doc App and AppleScript Studio Support
Re: Cocoa Doc App and AppleScript Studio Support
- Subject: Re: Cocoa Doc App and AppleScript Studio Support
- From: matt neuburg <email@hidden>
- Date: Wed, 25 Feb 2004 08:08:48 -0800
On Tue, 24 Feb 2004 16:16:34 -0600, Sean Todd <email@hidden> said:
>
This should be simple but...
>
>
In my Cocoa Doc-based app, I added a new menu item that would use a
>
simple script to open a URL in the user's default browser but have had
>
no success. To simplify things, I even tried this from a new Cocoa Doc
>
App project.
>
>
I followed the instructions described in "Add AppleScript Studio
>
Support to Your Cocoa Application":
If you want a menu item to run an AppleScript script then have its action
create an NSAppleScript object and execute it. There is no need to "add
AppleScript Studio support". m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.