Copy link to clipboard
Copied
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?
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"));
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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"));
Copy link to clipboard
Copied
I did actually try it with another script and had the same issue, but when I tried it with your script it appears to have fixed the issue.
Thank you!
Copy link to clipboard
Copied
It's really odd. Most of the time it is working now, but every so often it just doesn't work. I can't seem to find any rhyme or reason to it. I'll open a photo and it doesn't work, close it, open the same photo again, the same way, and all of the sudden it works. Wonder if it has something to do with how busy the CPU or GPU is at that moment or something. Maybe if the CPU or GPU is under a heavy load it just skips the scripts. I don't know.