Skip to main content
Participant
November 13, 2023
Answered

Run Photoshop script upon opening image with "Edit in Photoshop" command in Lightroom

  • November 13, 2023
  • 2 replies
  • 724 views

When I'm using Lightroom and I select "Edit in Photoshop" on an image, I'd like it to run a script automatically upon opening in PS.

 

I frequently do a repetitive process with my photos, and so I've successfully created a script to run it automatically. I've used PS Script Events Manager to run the script every time I open a new image within PS. However, when I'm in Lightroom and I select "Edit in Photoshop" the script does not run upon opening in PS. There doesn't seem to be an event in Scripts Manager that will trigger this to run when I'm opening the LR image (I've tried them all.) I can run the script manually after the photo has opened, but it's an extra few clicks for every single image. Otherwise it would be a very simple and automated process.

 

Is there a way I can do this? It seems to be such a simple thing, I must be missing something.

This topic has been closed for replies.
Correct answer Lumigraphics

Create an action to run the script and assign a shortcut key, if you can't figure out what event is triggered by Lightroom. I was able to run ScriptListener but no useful events are showing.

My guess is that Adobe sends either an Apple Event or a BridgeTalk (not sure if Lightroom supports BridgeTalk) message between Lightroom and Photoshop to open the file. Neither of those is specifically a Photoshop event and wouldn't show up as a trigger.

2 replies

LumigraphicsCorrect answer
Legend
November 21, 2023

Create an action to run the script and assign a shortcut key, if you can't figure out what event is triggered by Lightroom. I was able to run ScriptListener but no useful events are showing.

My guess is that Adobe sends either an Apple Event or a BridgeTalk (not sure if Lightroom supports BridgeTalk) message between Lightroom and Photoshop to open the file. Neither of those is specifically a Photoshop event and wouldn't show up as a trigger.

Stephen Marsh
Community Expert
Community Expert
November 13, 2023

I don't use Lr.

 

If you install the ScriptingListener plug-in, then perhaps you can see what (if any) applicable event is triggered.

Tomcat20Author
Participant
November 21, 2023

I tried instaling ScriptingListener, but it doesn't seem to work. It won't create an events file on the destop even after I made sure to enable permissions and ran the terminal prompts according to some other articles on the topic. So it doesn't look like I'll be able to try this option, unfortunately.

 

I'm on a mac btw.

Legend
November 22, 2023

There are no permissions or terminal commands needed. Just add ScriptingListener to your plugins folder. It runs automatically.