Like all marketing claims, however, this one should be taken with a healthy dose of skepticism. Like English, AppleScript also can be convoluted, offers many ways of saying the same thing, and at times makes absolutely no sense (at least to me). On the plus side, a wealth of AppleScript learning resources and free scripts for Creative Suite are available. What's more, if a Macintosh graphics program supports scripting, it probably supports AppleScript. Plus, you can use AppleScript to control multiple applications simultaneously; it is a relatively easy scripting language to start learning; and nonprogrammers will find it easier to get the gist of what AppleScript is saying and doing than with the other scripting options.
This utility is an event-based triggering mechanism. Instead of running a script from an editor or double-clicking the script file, the Script Events Manager keeps an eye peeled, and when the event you specified occurs, it automatically takes your script (or action) by the shoulder and puts it in the game.
The code it writes, while usable, is hardly easy to read for the beginner. Even though you might not be able to completely understand the code, it is a great way to quickly 'write' a script for a process without a lot of good prewritten resources. For instance, scripting filters is not documented very well, and the code that the Scripting Listener plug-in writes will show you how it's done. To activate the Listener, find the plug-in called Scripting-Listener.plugin, located in the folder Adobe Photoshop CS3 Scripting Guide Utilities and drag it into the folder Adobe Photoshop CS3 Plug Ins Automate ( ). Restart Photoshop, and you'll see the ScriptingListener.log on your desktop (if you're using Mac OS X) or at the root of your C: drive (if you're using Windows). Do something in Photoshop (for example, open a new file) and then double-click the log file, copy the text you find there, paste it into a script editor, and see what happens when you run it.
Image Processor provides a quick way to:. Convert open files (or a folder of files) to one or all of the JPEG, PSD, or TIFF formats. Resize images according to specific pixel dimensions.
Embed color profiles. Convert a folder of images to sRGB and save them all for the Web. Process a folder of camera raw files using the same settings. Add copyright metadata You can also include an action by clicking Run Action in the Preferences section at the bottom. Note that actions are run prior to any file resizing (if selected). If you need your action to run after resizing (such as applying the Sharpening filter to a resized image) you should download a modified Image Processor script from.
Scripting the User Interface When using ExtendScript for Photoshop you have access to many new elements for building dialog boxes. These include static text, icon buttons, images, check boxes, radio buttons, progress bars, sliders, list boxes, and drop-down/pop-up lists. For an example of the types of interfaces you can build for Photoshop, open the Image Processor (File Scripts Image Processor), which itself is an ExtendScript. Which Scripting Language Should You Choose? Here are my guidelines for choosing a Creative Suite scripting language:.