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

copy as javascript

Enthusiast ,
Mar 12, 2023 Mar 12, 2023

I would like a script that invokes this command

 

Schermata 2023-03-12 alle 20.34.06.pngexpand image

 

TOPICS
Actions and scripting
2.0K
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
LEGEND ,
Mar 12, 2023 Mar 12, 2023

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

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

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.

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

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

 

 

exjava.jpgexpand image

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

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.

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

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 

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

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

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

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

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

can anyone help me?

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

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