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

Convert action to script

Contributor ,
Feb 08, 2024 Feb 08, 2024

Can action be converted into a script?

TOPICS
Windows
1.1K
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

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

 

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

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.

 

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

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

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

I don't know how to use xtool

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 ,
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

 

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

Thank U sir...Its Done

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