Skip to main content
Known Participant
October 19, 2023
Question

Autorun an action on import from LRC?

  • October 19, 2023
  • 2 replies
  • 304 views

Is it possible to autorun an action in photoshop when an image is imported there from LRC? I have a work flow where I edit in LRC then "edit in" photoshop 2023 to make minor adjustments and add my mark to the exif data of the image. I have an action created to add my mark to the exif data and have and have the script events manager setup to run the action with "New Document" and "Open Document". However when I choose "edit in" from lightroom and open the document in photoshop the action doesnt run, but if I have photoshop open and open a document from file explorer it does run. there is also a caveat, within the script event manager I can select "Everything" and add the action and it will work however I get a pop up stating that: The object "current document" is not currently available, If I click "continue" the document will pop up and the action will run.. I would just like to cut a step out and have the action autorun on import from LRC if that is possible. Any help would be greatly appreciated!

 

Thanks, Alex

This topic has been closed for replies.

2 replies

Bojan Živković11378569
Community Expert
Community Expert
October 20, 2023

I know for option to run action via droplet on export, not tested if that still works. Perhaps that can help something https://youtu.be/4zJtOaeoT4s?si=3jbysUHjp87vGq7H

Stephen Marsh
Community Expert
Community Expert
October 19, 2023

I don't use LRC, but this probably triggers the standard OPEN event in Photoshop, so you should be able to use the Script Events Manager.

 

https://prepression.blogspot.com/2021/10/photoshop-script-events-manager.html

 

That being said, an action setup here will be triggered by any image opened.

 

Known Participant
October 19, 2023

Hey Stephen,

 

I will add a screen recording to show the issue. Note, you will be able to tell the action has ran by the "©" symbol at the beginning of the document name. I have shown both ways, opening from LRC as well as opening from file explorer (which does work)

Stephen Marsh
Community Expert
Community Expert
October 19, 2023

@_Clickcollective 

 

Thanks for the video, it does demonstrate the issue.

 

It appears that Lightroom Edit in Photoshop doesn't trigger the OPEN event in Photoshop. If there is a known event code being triggered, then it might be possible... If you install the ScriptingListener plugin you might find the appropriate chunk of code recorded and post it for inspection.

 

Does using open and save mess up the Lightroom catalogue if you bypass the edit in Photoshop option?

 

Otherwise you'll need to manually run the action on all open files via batch or a custom script.