Skip to main content
Inspiring
March 12, 2023
Question

copy as javascript

  • March 12, 2023
  • 3 replies
  • 2244 views

I would like a script that invokes this command

 

 

This topic has been closed for replies.

3 replies

Jeff Arola
Community Expert
Community Expert
March 13, 2023

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

 

 

Stephen Marsh
Community Expert
Community Expert
March 13, 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.

Inspiring
March 13, 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 

Stephen Marsh
Community Expert
Community Expert
March 13, 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.

Legend
March 13, 2023

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