Copy link to clipboard
Copied
Does anyone know if there is a way through Adobe Extend Script to detect if the Auto Show Home Screen is turned on in the preferences for CC 2020?
var s2t = stringIDToTypeID;
(r = new ActionReference()).putProperty(s2t("property"), p= s2t("autoShowHomeScreen"));
r.putEnumerated(s2t("application"), s2t("ordinal"), s2t("targetEnum"));
alert (executeActionGet(r).getBoolean(p));
or
var s2t = stringIDToTypeID;
(r = new ActionReference()).putProperty(s2t("property"), p= s2t("homeScreenVisibility"));
r.putEnumerated(s2t("application"), s2t("ordinal"), s2t("targetEnum"));
alert (executeActionGet(r).getBoolean(p));
to get it current state
Copy link to clipboard
Copied
var s2t = stringIDToTypeID;
(r = new ActionReference()).putProperty(s2t("property"), p= s2t("autoShowHomeScreen"));
r.putEnumerated(s2t("application"), s2t("ordinal"), s2t("targetEnum"));
alert (executeActionGet(r).getBoolean(p));
or
var s2t = stringIDToTypeID;
(r = new ActionReference()).putProperty(s2t("property"), p= s2t("homeScreenVisibility"));
r.putEnumerated(s2t("application"), s2t("ordinal"), s2t("targetEnum"));
alert (executeActionGet(r).getBoolean(p));
to get it current state
Copy link to clipboard
Copied
Thanks!!!!