Skip to main content
Known Participant
January 15, 2020
Question

How to record button click on action?

  • January 15, 2020
  • 4 replies
  • 1679 views

How do you record click on a button in Action?

For example, at the Camera RAW, I want to click on the "Auto" button.

 

But it doesnt record the click.

 

Please help.  Thank you.

This topic has been closed for replies.

4 replies

chong67Author
Known Participant
March 4, 2020

There is no other way to record on the click on the AUTO button right?

Legend
March 4, 2020

use script instead of actions

try {
    var file = new File("/c/1/DSC_9000.NEF"); // your file here

    var d = new ActionDescriptor();
    d.putBoolean(stringIDToTypeID("dontRecord"), true);
    d.putBoolean(stringIDToTypeID("forceNotify"), true);
    d.putPath(stringIDToTypeID("null"), file);

    var d1 = new ActionDescriptor();

    d1.putBoolean(charIDToTypeID("AuTn"), true); // Auto Button

    d.putObject(stringIDToTypeID("as"), stringIDToTypeID("Adobe Camera Raw"), d1);
    d.putBoolean(stringIDToTypeID("smartObject"), true);
    d.putBoolean(stringIDToTypeID("overrideOpen"), true);
    executeAction(stringIDToTypeID("open"), d, DialogModes.ALL);
    }
catch (e) { alert(e); }
Bojan Živković11378569
Community Expert
Community Expert
January 15, 2020

If you expand Camera Raw Filter step you can see that action can record settings as values. Auto settings will be recorded as values not as instruction.

JJMack
Community Expert
Community Expert
January 15, 2020

Some Plug-in have Action support programed in that the allow you to record some thing in action most plug-ins do not.  You can though change/customize  ACR defaults and may be able to set Auto as your default setting. However, Adobe ACR will use  existing ACR settings you have developed for a raw files or synced settings to or copied a sidecar files the  for  Raw file name. So you may be able to set your ACR default to Auto for RAW files that do not currently have ACR settings.

 

JJMack
Chuck Uebele
Community Expert
Community Expert
January 15, 2020

I don't think Camera Raw has the ability to record things. Nor can you script Camera Raw.