Skip to main content
Inspiring
November 8, 2024
Answered

Camera Raw Filter defaults to previous edits when called from action

  • November 8, 2024
  • 4 replies
  • 5289 views

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.

Correct answer Stephen Marsh

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!


quote

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 @FitzFoto12089247

 

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);
}

 

4 replies

c.pfaffenbichler
Community Expert
January 24, 2025

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. 

Inspiring
January 24, 2025

Whom are you asking, me or @brianp98019482 @?

 

If me, your question and request were addressed previously.

Inspiring
January 28, 2025

The work-around I mentioned is to record the Filter without any actual edits, remove that and invoke the Filter via »Insert Menu Item«. 


I tried that, it had no effect.  The second call to CRF opened ACR and added a new filter to the existing Smart Object (the previous filter having been deleted, BUT the mask remained in ACR and was applied, with the desaturation edit used to check the result).  Having to intervene to close ACR to enable the Action to continue is interruptive of my workflow, so I will not pursue that route.

brianp98019482
New Participant
November 26, 2024

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?

 

D Fosse
Community Expert
November 8, 2024

Can you expand the action step and see what is actually recorded in the action?

Inspiring
November 9, 2024

See  attachment to my reply to Sameer K.

D Fosse
Community Expert
November 9, 2024

@FitzFoto12089247 

I meant with the ACR filter step expanded, so we can see what ACR settings are actually recorded in the action.

Sameer K
Community Manager
Community Manager
November 8, 2024

Hey, @FitzFoto12089247. 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.

 

@FitzFoto12089247  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)

Inspiring
November 9, 2024

System info attached, together with screenshot of Action.

 

The number of images appears not to be material.

 

@Sameer K