Skip to main content
SteveStrop
Known Participant
August 13, 2019
Answered

How do I programmatically apply one of my favourite ACR develop settings to images using ExtendScript

  • August 13, 2019
  • 2 replies
  • 2319 views

I know how to apply CRDefault or CRPrevious settings to images using ExtendScript as menuIDs for these (and other develop settings) are given in the Javascript reference doc accompanying the Bridge SDK.

Now, I have marked a few of my ACR develop settings as favourites in ACR and these are now available as additional submenu items in Bridge.

How do I find the menuIDs of these new options so I can apply them programmatically?

Thanks

Steve C

This topic has been closed for replies.
Correct answer SuperMerlin

That's  a good idea. I'll try it out.

I was looking at editing the xmp data directly to add in the preset but to be honest the xmp file looks a bit daunting.


Sorry for the delay, had to go out.

Another way which look very good is to copy the preset you want to use to the Previous xmp this should be easy to do:

From :

C:\Users\UserName\AppData\Roaming\Adobe\CameraRaw\Settings\YourPreset.xmp

To:

C:\Users\UserName\AppData\Roaming\Adobe\CameraRaw\Defaults\Previous.xmp

Then use app.document.chooseMenuItem("CRPrevious");

2 replies

Legend
August 13, 2019

I looked at this because I wanted to add this to my utility script pack and there isn't an easy way with scripting that I found.

SuperMerlin
Inspiring
August 13, 2019

Set one of your favorites and set it as the default in ACR

Then select the documents &

app.document.chooseMenuItem("CRDefault");

or you could use:

app.document.chooseMenuItem("CRCopy");

app.document.chooseMenuItem("CRPaste");

Having a document with the ACR settings as the copy.

SteveStrop
Known Participant
August 13, 2019

Thanks for the lightning response.

I considered that. The problem is:

1) I don't want to change the default settings.

2) I would need to have a dummy image in every folder I wanted to use this on.

Isn't it possible to reference the menu items by number instead of name?

I suppose I could set the default programmatically then reset it when done. Is that possible? How could I do that?

Thanks again,

Steve

SuperMerlin
Inspiring
August 13, 2019

Not that I know of, you could have a set of documents in a folder you could reference (for the copy) then return to your folder to do the updates. It's a shame that there isn't a scriptlistener plugin as there is for Photoshop.