Page 1 of 1

User Experience Script

Posted: Sat Jun 09, 2007 9:53 am
by SteveDude
Does anyone have a script similar to IA's user experience script similar to the one in the IA installer?

Thanks,

SteveDude

Posted: Sat Jun 16, 2007 8:49 pm
by MichaelNesmith
Quite simple, really.

1) Add a new combo box. Set its text property to a variable, such as $COMBOCHOICES$. Set its writes to variable property to another variable, such as $COMBOSELECTED$.

2) Before showing the dialog, set the COMBOCHOICES variable to something like this: Choice 1$NEWLINE$Choice 2$NEWLINE$...Choice n. Set the COMBOSELECTED variable to the default choice, such as Choice 2, or leave it empty.

3) Show the dialog normally using Display Dialog. After the dialog has shown, the $COMBOSELECTED$ variable can be dereferenced to obtain the user selection.

4) You can then submit results online using Download File, passing in URL parameters such as http://www.mysite.com/submitonline.asp? ... OSELECTED$