image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
LinkBack Thread Tools
  #1  
Old September 21st, 2008, 11:26 AM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,682
Thanks: 6
Thanked 53 Times in 48 Posts
Mikuro will become famous soon enough
Use the AppleScript menu

The Script menu is a standard option in OS X that lets you easily execute AppleScripts from any application. You can set it up so that certain scripts will only appear in the menu when certain applications are loaded. For example, I have it set up so that when I'm using the Finder, the Script menu contains scripts that help me rename files, and when I'm in QuickTime Player, the menu contains scripts that help me manipulate movies.

I find it very convenient. However, it is disabled by default. Here's how to enable it:

• Open your /Applications folder, then the AppleScript folder, and then launch AppleScript Utility.
• Check the box that says "Show Script menu in menu bar". You should see the script menu appear immediately at the top of your screen, probably near the clock.
• Close AppleScript Utility.

And here's how to use it:

Click on the Script icon in your menu bar, and look under the "Open Scripts Folder" sub-menu. You'll see three items:

1. Open <currently active application> Scripts Folder. This is the one you'll use most, probably. Select it, and a folder will open. Drop any scripts (.scpt files, or .app files saved with Script Editor) in there that you want to use ONLY when that application is active.

2. Open User Scripts Folder. This will open a folder where you can put scripts that you want to appear regardless of which application is active.

3. Open Computer Scripts Folder. This is like the User Scripts Folder, but items here will appear for all user accounts, not just yours. This is probably the least useful for most people.

I've attached a picture of what my Script menu looks like when the Finder is active. You'll see a bunch of scripts there than only appear for the Finder, and then one below them that appears all the time.
Attached Images
File Type: png Picture 2008-09-21 11-17-24.png (74.4 KB, 19 views)
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.8

Useful programs: Privoxy, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
The Following 3 Users Say Thank You to Mikuro For This Useful Post:
goldenbill (February 17th, 2009), iaeon (September 21st, 2008), VirtualTracy (September 27th, 2008)
  #2  
Old September 27th, 2008, 07:02 AM
Registered User
 
Join Date: Aug 2006
Posts: 1,135
Thanks: 22
Thanked 59 Times in 58 Posts
VirtualTracy is on a distinguished road
This is a great tip! I discovered a while back that you could enable the AppleScript icon in the menubar (I always suspected that this section of the menubar had a different name), but didn't really dig around so this is news to me.

I notice Mikuro, that where you have an "Open Computer Scripts" I have "Open Library Scripts" ... is this just the same thing? I think you are using Leopard whereas I'm a Tigerer ...

Reply With Quote
  #3  
Old October 3rd, 2008, 10:43 AM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,682
Thanks: 6
Thanked 53 Times in 48 Posts
Mikuro will become famous soon enough
Yeah, it must be the same thing, and I am on Leopard. When you select it, it should open the /Library/Scripts folder
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.8

Useful programs: Privoxy, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
Reply

Bookmarks

Tags
applescript, menu, script

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 07:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.