Highlighted

Detect if Auto Show Home Screen is on through JSX script?

Explorer ,
Sep 10, 2020

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

 

Topics

Actions and scripting

Views

48

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Detect if Auto Show Home Screen is on through JSX script?

Explorer ,
Sep 10, 2020

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

 

Topics

Actions and scripting

Views

49

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Enthusiast ,
Sep 10, 2020

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

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Sep 10, 2020

Copy link to clipboard

Copied

Thanks!!!!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...