~/Library/Scripts/Applications/
Posted February 22nd, 2003 @ 08:09pm by Erik J. Barzeski
If you create the folder ~/Library/Scripts/Applications/Safari/ and drop AppleScripts into it, they'll appear as I've illustrated to the right. This is a great way to clean up your AppleScript system menu (y'all have one, right?). No longer must you have a long list of AppleScripts in that menu just to use them in all of your apps.
This is pretty handy, really. It seems to work with any application - just get the name right (i.e. "Microsoft Entourage" instead of "Entourage"). More experimentation is necessary. Most of my Entourage scripts, for example, will remain in their script menu, but my iTunes scripts will migrate to this menu.
Posted 22 Feb 2003 at 9:21pm #
Totally unrelated to this post:
I am just curious what CSS you used for your mouseovers on links.
Thanks.
Posted 23 Feb 2003 at 6:04pm #
Script Menu
Erik Barzeski shows how to make a script menu that includes the scripts for the frontmost application inline instead of just having them in a submenu. It’s not OSA Menu, but it’s getting there. (How about holding down Option to edit the sc...
Posted 24 Feb 2003 at 11:36am #
Doesn't seem to work for me. I'm running 10.2.4, with System Events 1.2b though (for gui scripting). Is it possible that this is in the new 10.2.4 System Events?
Posted 24 Feb 2003 at 12:00pm #
Sorry. It is working, after a kill -HUP of the SystemUIServer.
Posted 24 Feb 2003 at 1:10pm #
Be sure you update to the latest ScriptMenu.menu v1.1 for this to work (replace in ~/Library/Bundles).
Personally, I find this new trick intollerable, as it forces a rescan of all scripts in all subdirectories on the path each time you switch apps; I have several hundred scripts on that path and it takes about 20-22 seconds each time you switch apps and reaccess the menu.
Posted 24 Feb 2003 at 1:16pm #
~/Library/Scripts/Applications/
NSLog();: "If you create the folder ~/Library/Scripts/Applications/Safari/ and drop AppleScripts into it, they'll appear as I've illustrated to the right. This is a great way to clean up your AppleScript system menu (y'all have one, right?). No longer ...
Posted 24 Feb 2003 at 5:01pm #
What about the Scripts folder at root?
Posted 25 Feb 2003 at 7:48am #
Doesn't work for me, even after trying Scott's workaround.
Any suggestions?
Posted 28 Feb 2003 at 3:34pm #
This tip is very cool. It allows me to simplify the script menu in such a way that it shows only the most relevant scripts for a particular application. All without limiting access to scripts for other applications. Also, if there are scripts that you'd like to be consistently available, you can still keep them in the Applescript folder.
Thanks for the tip.
Posted 08 Sep 2006 at 2:39pm #
Is there anyway to make the script menu come up for Safari? As iTunes has, where you drop scripts in ~/Library/[Application Name]/Scripts/
I'd much prefer this as I look for the script menu there as part of the application rather than an extension of my entire operating system.
Posted 05 Nov 2006 at 10:33am #
This tip is very cool. It allows me to simplify the script menu in such a way that it shows only the most relevant scripts for a particular application. All without limiting access to scripts for other applications. Also, if there are scripts that you'd like to be consistently available, you can still keep them in the Applescript folder.