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

Convert action to script

Participant ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

Can action be converted into a script?

TOPICS
Windows

Views

179

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

correct answers 1 Correct answer

Community Expert , Feb 08, 2024 Feb 08, 2024

A support file is missing. Download the entire repo from GitHub as a .zip, then decompress/unzip to a folder in any location. From there use Photoshop's File menu > Scripts > Browse:

 

/xtools v2.3/apps/ActionFileToJavascript.jsx

 

or

 

/xtools v2.3/apps/ActionToJavascript.jsx

 

Votes

Translate

Translate
Adobe
Community Expert ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

Yes it may depend on the action steps, so YMMV...

 

For legacy ExtendScript .jsx scripts:

 

Using the xtools script, one can convert an .ATN file to .JSX file (ActionFileToJavascript.jsx or ActionToJavascript.jsx). Or one can convert an .ATN file to .XML (ActionFileToXML.jsx), edit it in a plain text editor, and then convert it back to an .ATN (ActionFileFromXML.jsx).


For the new UXP based .psjs one can enable the "Developer Mode" in preferences where there are multiple native methods to record the batchPlay code, or one can use the third-party Alchemist add-on.

 

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
Participant ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

I didn't install any software, just loaded this script. error occurred again2.jpgUntitled-1.jpg

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
Participant ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

I don't know how to use xtool

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 ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

A support file is missing. Download the entire repo from GitHub as a .zip, then decompress/unzip to a folder in any location. From there use Photoshop's File menu > Scripts > Browse:

 

/xtools v2.3/apps/ActionFileToJavascript.jsx

 

or

 

/xtools v2.3/apps/ActionToJavascript.jsx

 

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
Participant ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

LATEST

Thank U sir...Its Done

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