PS Scripting - check if layer link is temporary disabled
Hard question for experts.
I can get list of linked layers, but how can I know if link is temporary disabled? (red cross)

Hard question for experts.
I can get list of linked layers, but how can I know if link is temporary disabled? (red cross)

it's cool!
It remains only to find out where you took the code for the command?
AM version:
var r = new ActionReference();
r.putEnumerated(charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt"));
var d = new ActionDescriptor();
d.putReference( charIDToTypeID( "null" ), r );
d.putString (stringIDToTypeID("command"), "getCommandEnabled");
d.putDouble(stringIDToTypeID("commandID"), 2960 );
var ret = executeAction(stringIDToTypeID("uiInfo"), d, DialogModes.NO).getObjectValue(stringIDToTypeID("result")).getBoolean(stringIDToTypeID("enabled"));
alert(ret);
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.