Skip to main content
Inspiring
August 21, 2013
Question

Can Dialogs remember last used settings?

  • August 21, 2013
  • 2 replies
  • 926 views

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

This topic has been closed for replies.

2 replies

Inspiring
August 22, 2013

Hi,

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

TᴀW
Legend
August 21, 2013

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

Visit www.id-extras.com for powerful InDesign scripts that save hours of work — automation, batch tools, and workflow boosters for serious designers.
tushardeAuthor
Inspiring
August 21, 2013

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