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

Script to read actions in Photoshop

Explorer ,
Dec 27, 2023 Dec 27, 2023

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   

 

h4ste338468947qjm_1-1703696134719.png

 

 

 

TOPICS
Actions and scripting

Views

254

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

What do you mean "read actions"?

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

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.

 

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

It's above my knowledge and experience .

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

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

OK thank you ~ ,This is indeed difficult.  

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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