Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting
I'm trying to open the Preferences -> Guides, Grid & Slices settings window when a user clicks on my CEP extension button. I can't figure it out and I can't find any references on how this could be achieved.
I managed to find a post taht opens the Print settings
sTT = stringIDToTypeID;
(ref = new ActionReference()).putProperty(sTT('property'), gP = sTT('guidesPrefs'))
ref.putClass(sTT('application')), (dsc = new ActionDescriptor()).putReference(sTT('null'), ref);
dsc.putObject(sTT('to'), gP, new ActionDescriptor()), executeAction(sTT('set'), dsc, DialogModes.ALL)
Ooh, thanks this worked like a charm : ). Is there a logical way of finding out this kind of stuff? I would really like to learn more about CEP Extension development.