Copy link to clipboard
Copied
Hi, to preface this conversation I am quite new to scripting. I have added a few scripts to Photoshop actions in the past however when I try to run the below script using the File>Script>Browse feature to add it as part of an action. The script runs succesfully once, but when I try and play the whole action again it says it cannot find the jsx file.
I want the script to check that if either the height or width are over 2000 pixels to run one action and if neither are above then it should run another action.
This script is coming up with the 'Name:""'' section below it in the action menu. Which I have never seen before but I am guessing is due to something wrong with the script?
Screenshot of the script as it appears in the Photoshop Action:
And then the Script itself:
Copy link to clipboard
Copied
Why don’t you put the Script in the Photoshop’s Presets/Scripts-Folder so you don’t need to browse for them?
Copy link to clipboard
Copied
Its not going to work unless the script is loaded at Photoshop launch. Put the .jsx in one of the script folders.