Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
2

Script to read actions in Photoshop

Explorer ,
Dec 27, 2023 Dec 27, 2023

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   

 

h4ste338468947qjm_1-1703696134719.png

 

 

 

TOPICS
Actions and scripting
555
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Explorer ,
Dec 27, 2023 Dec 27, 2023

Two great gods, I have to ask you for help again.  @c.pfaffenbichler @Stephen_A_Marsh 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 27, 2023 Dec 27, 2023

What do you mean "read actions"?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 27, 2023 Dec 27, 2023

 use photoshop script to read Action in Photoshop ,Then I will use other programs to cooperate with this script to improve efficiency.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 27, 2023 Dec 27, 2023

You haven't explained a thing. You can RUN an action with app.doAction()

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 27, 2023 Dec 27, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 27, 2023 Dec 27, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 27, 2023 Dec 27, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 28, 2023 Dec 28, 2023

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.

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 27, 2023 Dec 27, 2023

It's above my knowledge and experience .

https://sourceforge.net/projects/ps-scripts/files/xtools/v2.3/

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 27, 2023 Dec 27, 2023

OK thank you ~ ,This is indeed difficult.  

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 22, 2024 Jan 22, 2024
LATEST

I am not sure whether this is what you're after but have a look here.

Davide Barranca - PS developer and author
www.ps-scripting.com
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines