Setting Up Script Listener
The Setting Up Script Listener tutorial will highlight finding the character ID code associated with events in Adobe Photoshop. The character ID code will be used for registering and unregistering events to be monitored. Note: For more information, see Adobe Photoshop Reserved Words. To obtain the character ID codes, a plug-in called Script Listener will produce a JavaScript (JSX) output log onto the user's desktop based on the user's events in Adobe Photoshop. It works very similarly to the Actions panel found under Adobe Photoshop's Window menu. The difference is that the user is able to view JavaScript code, optionally modify the code, and run the code over and over again. The JavaScript (JSX) output log can be executed through ExtendScript. To enable the plug-in, the developer will place the Script Listener plug-in from the Adobe Photoshop Utilities folder into the Adobe Photoshop Plug-Ins folder. The result is a JavaScript (JSX) output log showing the functions and character ID code of the events committed by the user.
Instructions:
- To record actions on Adobe Photoshop, copy the ScriptListener plug-in from the Utilities folder under the Adobe Photoshop CS5\Scripting\ folder into the Plug-ins folder under the Adobe Photoshop CS4 folder located under:
- Applications for Macintosh
- Program Files for Windows
- If ScriptingListenerJS.log is on the Desktop, Rename or Delete the file.