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

copy as javascript

Engaged ,
Mar 12, 2023 Mar 12, 2023

Copy link to clipboard

Copied

I would like a script that invokes this command

 

Schermata 2023-03-12 alle 20.34.06.png

 

TOPICS
Actions and scripting

Views

1.5K

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
LEGEND ,
Mar 12, 2023 Mar 12, 2023

Copy link to clipboard

Copied

What are you asking for? Please explain what this script would do (input->process->output)

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 ,
Mar 12, 2023 Mar 12, 2023

Copy link to clipboard

Copied

My Actions panel doesn't have such a menu item.

 

The x-tools script package from xbytor does include scripts for converting actions to JavaScript.

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 ,
Mar 12, 2023 Mar 12, 2023

Copy link to clipboard

Copied

In the Photoshop >Preferences (Settings)>Plugins (mac) or Edit>Preferences>Plugins (windows) check Enable developer mode, then restart photoshop.

 

 

exjava.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
Community Expert ,
Mar 12, 2023 Mar 12, 2023

Copy link to clipboard

Copied

Ah, thanks @Jeff Arola â€“ I don’t do any UXP development, so I don't have that active!

 

As the command is greyed out for "Insert Menu Command" and isn't recorded into an action, I don't know of a way to access this menu item via scripting.

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 ,
Mar 12, 2023 Mar 12, 2023

Copy link to clipboard

Copied

I started doing some uxp programming and with this entry I convert actions to file. js, the problem is that whenever i have to convert the action i have to do multiple steps to select the item in the action menu, I need a script that calls quickly copy to JavaScript 

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 ,
Mar 12, 2023 Mar 12, 2023

Copy link to clipboard

Copied

If you are not using Alchemist, then you probably should be...

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 ,
Mar 12, 2023 Mar 12, 2023

Copy link to clipboard

Copied

I tried alchemist but I am better with copy to JavaScript, and faster for me.

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 ,
Mar 18, 2023 Mar 18, 2023

Copy link to clipboard

Copied

can anyone help me?

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
Advocate ,
May 23, 2023 May 23, 2023

Copy link to clipboard

Copied

LATEST

It won't record into an action? (I guess that would be understandable)

If it will, you can give it a schortcut.

If you MUST have it as a script, you could let the script call the action.

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