Question
Script can't work in Photoshop2024(25.0), but perfect work in Photoshop 2018 ~ 2021(22.2)
During the period of using Photoshop 2018,
I wrote the Script myself and executed it,
In Photoshop2018 ~ 2021,
This script can be executed correctly.
Works perfectly correctly and is used all the time.
But this script cannot be executed correctly on Photoshop2023 and Photo2024.
I wonder if there are any masters who can help me to clear up my doubts?
Thanks a lot.
Can't work Script:
function step37(enabled, withDialog) {
if (enabled != undefined && !enabled)
return;
var dialogMode = (withDialog ? DialogModes.ALL : DialogModes.NO);
var desc1 = new ActionDescriptor();
var ref1 = new ActionReference();
ref1.putEnumerated(cTID('Mn '), cTID('MnIt'), sTID("toggleShowExtras"));
desc1.putReference(cTID('null'), ref1);
executeAction(sTID('select'), desc1, dialogMode);
};
