Copy link to clipboard
Copied
I'm looking for a script to use to read actions in Photoshop.
I hope to find a script method to read actions to simplify my daily work. I need your help. Thank you very much. This is very important to me.
Picture effects come from xbytor ActionToJavascript.jsx
Copy link to clipboard
Copied
Two great gods, I have to ask you for help again. @c.pfaffenbichler @Stephen_A_Marsh
Copy link to clipboard
Copied
What do you mean "read actions"?
Copy link to clipboard
Copied
use photoshop script to read Action in Photoshop ,Then I will use other programs to cooperate with this script to improve efficiency.
Copy link to clipboard
Copied
You haven't explained a thing. You can RUN an action with app.doAction()
Copy link to clipboard
Copied
I may not explain it very well... I need this JSX script to be able to read PS actions, and then I embed this JSX script into other more advanced scripts to achieve some more complex operations.
Copy link to clipboard
Copied
Retouch4Me is paid software. You can't just use it where you want. More to the point, its not a jsx script. You can't do whatever it is you think you want to do.
Copy link to clipboard
Copied
Retouch4Me is the name of my action group. Thank you, but maybe you didn’t understand what I meant, or I didn’t express it clearly.
Copy link to clipboard
Copied
Hi @h4ste338468947qjm , As @Lumigraphics suggests you can call a panel action with doAction inside of a more complex script, so in your case it would be something like this, where the first parameter is the action and the 2nd parameter is the action group:
if (app.documents.length > 0) {
//name strings have to be exact
doAction ("USM 150", "Retouch4me");
} else {alert("No Documents are Open")}
If you are trying to convert your USM 150 action into JS code you could record the action, get ActionDescriptor code, and execute the action from a function. If you want to share your action we might be able to show an example.
Copy link to clipboard
Copied
It's above my knowledge and experience .
https://sourceforge.net/projects/ps-scripts/files/xtools/v2.3/
Copy link to clipboard
Copied
OK thank you ~ ,This is indeed difficult.
Copy link to clipboard
Copied
I am not sure whether this is what you're after but have a look here.