Re: Script Menu in Cocoa app
Re: Script Menu in Cocoa app
- Subject: Re: Script Menu in Cocoa app
- From: Jonathan Wight <email@hidden>
- Date: Tue, 18 Nov 2003 08:01:45 -0600
There doesn't seem to be a quick and easy way to do this (i.e. there
isn't an "NSScriptMenu" widget you can just drag and drop into your
application).
However it would be incredibly simple to roll your own basic script
menu. Start off with NSFileManager to iterate through your script
directories and then use NSAppleScript to execute the scripts.
I'm actually working on a script menu for one of my apps right now -
when it's finished I'll release it to the world.
Jon.
On Nov 17, 2003, at 10:37, Moray Taylor wrote:
Hi,
How do i add one of those nice little black script menus to my app?
(Mail has one, it's just a little black icon that runs AppleScripts).
In Panther it's black, in Jaguar I think it was white.
Thanks
Moray
_______________________________________________
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.
_______________________________________________
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.