• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

Engaged ,
Sep 10, 2020 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?

TOPICS
Actions and scripting

Views

310

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
community guidelines

correct answers 1 Correct answer

Guide , Sep 10, 2020 Sep 10, 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

 

Votes

Translate

Translate
Adobe
Guide ,
Sep 10, 2020 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

 

Votes

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
community guidelines
Engaged ,
Sep 10, 2020 Sep 10, 2020

Copy link to clipboard

Copied

LATEST

Thanks!!!!

Votes

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
community guidelines