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

Can Dialogs remember last used settings?

Explorer ,
Aug 21, 2013 Aug 21, 2013

Copy link to clipboard

Copied

I have a script that launches a dialog. A user can pick a few dropdown and checkbox options. Is there a way to store the last used settings for the next time the dialog pops up? Do native indesign dialogs have this functionality?

Thanks

TOPICS
Scripting

Views

753

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
People's Champ ,
Aug 21, 2013 Aug 21, 2013

Copy link to clipboard

Copied

There's no built-in scriptUI way of saving settings. But you can store

the user's setting in a document label:

myDoc.insertLabel("MySpecialScriptDropdown1", DropDown1SelectionAsString);

Ariel

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
Explorer ,
Aug 21, 2013 Aug 21, 2013

Copy link to clipboard

Copied

Thanks Ariel. I was not aware of the insertLabel method. I will inverstigate more. Thanks for the tip. Appreciate it.

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
Advisor ,
Aug 21, 2013 Aug 21, 2013

Copy link to clipboard

Copied

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
Explorer ,
Aug 23, 2013 Aug 23, 2013

Copy link to clipboard

Copied

LATEST

Thanks Vamitul. Those are good resources.

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
Enthusiast ,
Aug 21, 2013 Aug 21, 2013

Copy link to clipboard

Copied

Hi,

if working with a database and documents built dynamically a good old cfg-file may be the choice ...

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