Skip to main content
SK321
Inspiring
May 8, 2024
Answered

Fit On Screen Script Not Working When Opening from Camera RAW

  • May 8, 2024
  • 1 reply
  • 631 views

I have the Script Events Manager set to run a Fit on Screen (ctrl+0) action whenever a New Document is made or on Open Document. It works if I'm in Photoshop and open an image, but if I'm in Bridge, open an image with Camera RAW, make some adjustments, and then open it from there into Photoshop, the script doesn't run.

 

Is there another way to get it to run when opening images from Bridge to ACR to Photoshop?

This topic has been closed for replies.
Correct answer Stephen Marsh

I tested with the welcome alert script, not an action, as I was only testing if the open event was triggered after going from Bridge (14.0.0.102) to ACR (16.2.1.1767) to Photoshop (25.7.0) with both open and open as object.

 

You could try to isolate whether this is related to actions or not by trying the scripted equivalent:

 

app.runMenuItem(stringIDToTypeID("fitOnScreen"));

 

1 reply

Stephen Marsh
Community Expert
Community Expert
May 8, 2024

EDIT: I have just tested in both v2021 and v2024 and opening an image from ACR into Photoshop does trigger the open event (I was sure that it didn't, but there you go, perhaps I was thinking of Lightroom!)

 

Otherwise, you would need to trigger it manually via a keyboard shortcut on each image or manually run a batch action or script that loops over all open documents.

SK321
SK321Author
Inspiring
May 16, 2024

EDIT: So you actually got it to run an action after Open Document from ACR, from Bridge? I can get the script to run if I just open an image from ACR from Photoshop or from Windows Explorer, but not from Bridge. 

 

I tried other actions and none of them will run after opening an image from ACR from Bridge. Nothing happens. I'm currently using Photoshop version 25.7.0. 

Stephen Marsh
Community Expert
Stephen MarshCommunity ExpertCorrect answer
Community Expert
May 17, 2024

I tested with the welcome alert script, not an action, as I was only testing if the open event was triggered after going from Bridge (14.0.0.102) to ACR (16.2.1.1767) to Photoshop (25.7.0) with both open and open as object.

 

You could try to isolate whether this is related to actions or not by trying the scripted equivalent:

 

app.runMenuItem(stringIDToTypeID("fitOnScreen"));