Automator Tools Menu for Mac Publisher's description
from Nyhthawk Productions
Free Xcode plug-in that displays a new menu containing a set of script tools for assisting in the development of Automator Actions
Automator Tools Menu is a free plug-in for Xcode that will provide developers with easy to use and quick tools for building Automator Actions.
Automator Tools Menu will also install a script for Interface Builder that automates the process of adding a parameter to the Info.plist file of the active project.
1. Download Installer
2. Quit Xcode
3. Run Installer
4. Open Xcode
Scripts for All Action Projects:
В· Action Setup Assistant: This script will guide you through the process of populating the active project's Info.plist file. Run this script first after creating a new Automator Action project.
В· Add Localization File: This script will create a new Localizable.strings file in the Resources group of the active project. Once created, make sure it's Target Membership status is active.
To complete the process of making the file localizable, select the file in the Groups & Files column, and select Get Info from the File menu to summon the information window for the file. Click the General tab in the information window and then the Make File Localizable button.
В· Blank InfoPlist.strings: This script saves a lot of time deleting the instruction strings in the default InfoPlist.strings file. To use, run the script, select the InfoPlist.strings file from the Resources group, select and replace the content of the file with the contents of the clipboard.
Scripts for AppleScript-Action Projects:
В· Derive Filename Sub-Routine: This script places a sub-routine, for deriving the filename of a new file, on the clipboard. Very handy when saving copies of files.
В· Directory Chooser Main Routine: When you add an Automator directory chooser control to the action view, and bind it using Cocoa Bindings to a parameter, a relative POSIX path is passed in the action's parameters record to the run handler. This script will place a special routine on the clipboard that you paste into the run handler. The routine will convert the relative POSIX path passed in the parameters record to an AppleScript alias reference to the chosen folder. Additionally, the routine will error if the chosen folder doesn't exist on the user's computer.
В· Localization Sub-Routine: This script places a sub-routine for calling the localization hander on the clipboard. The sub-routine contains the bundle identifier for the active action project. To use, paste at the bottom of your script and pass the key string for a localized string to the routine.
В· Locate Bundle Resource: If your action scripts require accessing resources within the action bundle, this script will place one of two routines on the clipboard for pasting into your code. One routine is for use within the main run handler and the other is for use in scripts that support the action UI (action view).
В· Run Handler with File Checks: If your main run handler processes files passed from the previous action, this script code provides a way to filter the passed files for only those matching specified types, for example, only text files. To use, run the script, then select and replace the contents of the main.applescript file (the one that contains the on run handler) with the contents of the clipboard. Fill-in the information for the file types you want to process.
В· Run Handler with Image Checks: If your main run handler processes files passed from the previous action, this script code provides a way to filter the passed files for only those that are image files, such as TIFF and JPEG files. To use, run the script, then select and replace the contents of the main.applescript file (the one that contains the on run handler) with the contents of the clipboard. The file type information is already filled-in to accept the standard QuickTime image types: JPEG, TIFF, PNGf, 8BPS (Photoshop), BMPf, GIFf, PDF, and PICT
System Requirements:Apple Xcode
Program Release Status:
Program Install Support: Install anh Uninstall