Copy link to clipboard
Copied
When called from an Action, Camera Raw Filter applies the masks and the swatches in Color Mixer (and probably others I haven’t used/noticed) that were used the last time it was thus called … even when other images have been processed through ACR in the meantime.
An example is attached, where the mask applied to a previous image (about 10 images ago) can be clearly seen.
I get a syntax error executing that in Visual Studio Code (within a test program I have). I tried running the entire code sequence of the call (copied from ScriptListener) and that gave a syntax error too. Mystifying!
By @FitzFoto
Works for me when executed in Photoshop.
You can also try this:
try {
executeAction(stringIDToTypeID("Adobe Camera Raw Filter"), undefined, DialogModes.ALL);
} catch (error) {
//alert("Error!" + "\r" + error + "\r" + 'Line: ' + error.line);
}
Copy link to clipboard
Copied
Hey, @FitzFoto. Welcome to the Photoshop Community. I'll move your response to discussions for now. I'll need more info to help you figure this out. Please share the system info from Photoshop Help > System info > Copy and paste into a text document > upload and attach here. Actions are custom workflow, and it'll help if you export and share the action file for us to test this.
@FitzFoto wrote: about 10 images ago
Is there an exact number of images after which the issue appears? I'll move the thread to discussions and see if we can recreate the issue.
Thanks!
Sameer K
(Use '@mention' to tag me when you reply)
Copy link to clipboard
Copied
System info attached, together with screenshot of Action.
The number of images appears not to be material.
Copy link to clipboard
Copied
Results of further experimentation:
1) Opening an image in the CRF from an Action and deleting the masks that reappear, then creating a Sky mask causes the previous Sky mask to be reinstated. See attached Screenshot (note this is an inverted Sky mask to show the offset).
2) Calling the CRF from the menu (i.e., not from an Action) appears to reset the default, and no masks of swatches are evident when the CRF is again called from an Action.
Copy link to clipboard
Copied
@Sameer K and others interested in this topic, you may wish to take a look at a previous discussion here:
Copy link to clipboard
Copied
@Stephen Marsh The Action was not recorded, the call to the CRF was inserted using the "Insert Menu Item ..." command.
Copy link to clipboard
Copied
@Stephen Marsh The Action was not recorded, the call to the CRF was inserted using the "Insert Menu Item ..." command.
By @FitzFoto
Ah, then that's not what I would expect! ;]
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Can you expand the action step and see what is actually recorded in the action?
Copy link to clipboard
Copied
See attachment to my reply to Sameer K.
Copy link to clipboard
Copied
I meant with the ACR filter step expanded, so we can see what ACR settings are actually recorded in the action.
Copy link to clipboard
Copied
There are no ACR settings recorded in the Action, it is simply a call to the Menu item Camera Raw Filter.
Copy link to clipboard
Copied
That sounds like you may have recorded the top item in the menu, which is actually Last Filter - but it will say Camera Raw filter if that was the last used when the action was recorded. Crucially, that will record the specific settings that were last used.
You want to go a little further down in the menu, where you find the "proper" Camera Raw Filter command.
Yes, it's misleading and confusing. Last filter should be called just that, consistently.
Copy link to clipboard
Copied
No, definitely the Camera Raw Filter ... [Shift+Ctrl+A] menu entry. I have just re-entered that command into the Action and the effect remains the same.
Copy link to clipboard
Copied
OK. I finally thought I had the explanation there... 😕
I have several actions using the ACR filter, that I use daily, and I've never seen this. I've been looking specifically for it since this came up. That said, I never use ACR for masking. I don't trust it, too automatic and AI'y for my taste.
But I really would like to know what's going on here.
Copy link to clipboard
Copied
17.0.0.2043 gives me good results on masking, but I generally use only Sky (of the AI-enabled facilities) and then Brush.
Could you please try an Action with a simple call to CRF (I'm using these initials to avoid any confusion with ACR as it is called by a raw file), create a mask and exit, then call the Action from another image?
I'm going to try with PS2024 and will revert, but I'm processing a load of images from Big Sur and don't want to mess about uninstalling 2025 and installing 2024 until I'm done with that.
Let's hope @Sameer K comes up with something.
Copy link to clipboard
Copied
Thanks for your patience. I am confident that this is expected behavior, as the recorded action is in the picture. I am discussing this with the broader team.
As our expert, @D Fosse, pointed out, if you expand the action panel in the List view, you'll notice that Local adjustment values (including mask data) are included in the action.
This means the action contains the exact mask values from the first image, and playing the same action again will recreate the Mask from the source image.
Also, when you double-click the action to open Camera RAW Filter, it goes into re-recording mode, so if you delete the masks, you delete the whole Local Adjustments value included in the action.
On a different image, if you use CRF from the Filters menu, you initiate a new event, and the Mask is calculated from scratch, resulting in a correct/expected mask.
I hope this helps.
Thanks!
Sameer K
(Use '@mention' to tag me when you reply)
Copy link to clipboard
Copied
Why should calling CRF from an Action (using the Inserted menu item: Camera Raw Filter... , note, not a topmost 'Camera Raw Filter' entry in the Filter list) cause the reappearance of a mask used in a previous edit in ACR called from an Action, when that behavior is not the case where CRF called directly from the menu?
I am sorry, but I have no idea where the "List view" is that you have extracted the first image from. Please point me.
Copy link to clipboard
Copied
Actually it does look like a mask is recorded in the action. This is the screenshot you included in your first attachment, which I missed entirely:
Copy link to clipboard
Copied
Apologies for the long delay in responding.
The mask you have highlighted is a layer mask and is blank.
Copy link to clipboard
Copied
I am having a similar issue using ACR from Adobe Bridge. New masks are coming up with settings from previous masks. Only started happening since last update a few weeks ago?
Copy link to clipboard
Copied
Have you tried using »Insert Menu Item« instead of recording the Filter application?
Please post a screenshot of the fully expanded Action in the Actions Panel.
Copy link to clipboard
Copied
Whom are you asking, me or @brianp98019482 @?
If me, your question and request were addressed previously.
Copy link to clipboard
Copied
I fail to see the screenshot.
Copy link to clipboard
Copied
It's there. Look in D Fosse's post of 14 November.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now