• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ASScriptMenuManager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ASScriptMenuManager


  • Subject: ASScriptMenuManager
  • From: Ron Fleckner <email@hidden>
  • Date: Sun, 22 Jul 2007 18:19:59 +1000

Hi,

I've developed an Objective-C class which creates and manages a Scripts menu for Cocoa apps. "Manages", in this context simply means that it also runs the scripts selected in the menu as well as opens the selected menu item's represented object (the script) in the user's script editor if the Option key is held down while choosing one of the menu items.

It's available as two files (.h and .m) here:
<http://members.ozemail.com.au/~ronfleckner/ASScriptMenuManager.zip> (8 KB)


or in a demo project here:
<http://members.ozemail.com.au/~ronfleckner/ ASScriptMenuManagerDemo.zip>. (92 KB)


The demo project package also contains a Scripts folder with lots of very simple scripts (display dialog "Hi there" and etcetera) in nested folders to demonstrate how well the class handles scripts in nested folders.

It works a treat on my system, a G4 running 10.4.10, but, to be honest, I'd be very pleased if anyone who was interested in making a Scripts menu in their app could have a look at it and see if it works for you.

This is one small way I can repay the community on Cocoa-dev for all the knowledge I've gained by lurking for the last couple of years.

Ron Fleckner
_______________________________________________

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


  • Prev by Date: Re: Scheduled command execution
  • Next by Date: Saving images to MySQL
  • Previous by thread: Re: Quickest Drawing Method
  • Next by thread: Re: ASScriptMenuManager
  • Index(es):
    • Date
    • Thread