Photoshop

Run a JavaScript

 Choose File > Scripts and then select the script from the list. The scripts list includes all the script files saved with a .js or .jsx extension and saved in the Photoshop CS3/Presets/Scripts folder. To run a script saved in another location, choose File > Scripts > Browse and navigate to the script.