Copy link to clipboard
Copied
From the Ps action palette in button mode - I simply want the action to run a javascript file. I have a javascripts that load and unload actions sets to keep from having too many distracting buttons and having to scroll in the action palette.
I currently can drag and drop javascript files into Ps, and Ps load and unloads the Actions Sets nicely to reduce the clutter.
BUT, I want to get rid dragging and dropping js files into photoshop. It breaks the the rythme of workflow. I should be able to work WITHIN photoshop. Photoshop doesn't allow me to load / unload sets [programmatically with a Ps Action ]
I want like this;
Action pallette (button mode);
action1
action2
action3
NEXT TASK...
where NEXT TASK is an action that somehow executes a javascript file.
TIA for any help.
Save your .jsx to 'Presets / Scripts' folder of your Photoshop which you have to relaunch. When you have action (in action set) selected, Insert Menu Item from top right corner expandable menu. Then click on the appropriate item in the 'File / Scripts' menu.
cntnt='load(File(path+"/Presets/Actions/gL Print Preflight.atn"))';
(bt = new BridgeTalk()).target='photoshop', bt.body=cntnt, bt.send()
Copy link to clipboard
Copied
ES is inbuilt while ToolKit is an editor. Doesn't simpler code from Sep 11, 2021 work on Mac?
Copy link to clipboard
Copied
Sept 11 code works on Mac, but I had already installed ES before this project. So I don't know if the code works with native install of photoshop or because I had installed ES.
So, this is my question;
Is BridgeTalk a part native photoshop installation on Mac:windows ?
or is BridgeTalk a part of Extendscript ?
I'm so happy this works 😀
Copy link to clipboard
Copied
You couldn't install ExtendScript to Photoshop over that there's already in. As I explained it's part of Ps, so if the other approach I proposed works, it's better to use that as simpler solution.
Copy link to clipboard
Copied
actionFile.execute()