To turn on the script menu go into your Application folder > AppleScript > AppleScript Utility. Select the check box for Show Script Menu in menu bar. You should now see the script menu in your menu bar.
Now that you have your script menu installed, you will have easy access to the Finder Scripts that we will use in the next example.
If you deal with a large number of files that you need to rename on a regular basis, you are going to love this tip. We will use a standard AppleScript called “Replace Text in Item Names”. Basically it will take a group of files or folders and perform a find and replace on their names. While there may be a million different reasons to use this script, a common one, and one that I deal with a lot, is to rename a series of screen grabs.
- Find the location of the files or folders that you want to rename.
- Go to the script menu and into Finder Scripts.
- Select “Replace Text in Item Names”.
- You will be prompted to select File Name or Folder Name. Select which ever you would like to change.
- Enter the text that you would like to replace.
- Enter the new text.
- You will receive a confirmation notice. Select Ok, and you are done.
Make sure to take a look at the other Finder scripts, as you may also have a use for them.