How does Jscript save the last settings in Script Dialog?

Everytime I run the Script Dialog, I want it remember the last setting in it, such as a edit、a combo or a check etc.

Your script would have to load and save the information somewhere, e.g. into Script.vars.

Thank you for your quick answer, I'll try this.