Hi,
I have a little problem using strings with %.
I have two projects. In the first I prompt for some values which are used in the second one. Those values are stored in an ini-file. To prompt for those values I read the ini-file and then use “enhanced prompt for variables”. Here the default is the value from the ini-file. To avoid problems here I use the exclamation mark (%!var1%). If I have a value like var%iable and the dialog is closed without changing I have an empty variable. I know that I can use var%%iable to avoid the problem. But the problem appears primarily with passwords which are shown with dots instead of the value. So the user can’t see that there is a % so he may not know that the value should be changed. And adding a second % every time wouldn’t be very comfortable, too. I use “prompt for password” now, but it would be more convinient to request all values in one dialog. Do you think there is or will be a solution?
I included an example to show the problem.
Thanks
HHK
Hi HHK,
The issue here is that the enhanced prompt for variables action doesn’t have an option to stop the expansion of values entered. Let me look into this to see how such an option could be implemented. I will get back to you before the end of tomorrow.
Hi HHK,
This looks possible. I will put in a support case for changing the Enhanced Prompt for Variables action. The option will allow the script designer to choose whether variables are expanded after entry from the user. I will let you know when I have a build working with this change.
Hi HHK,
I have good news, the build is ready for you. The build has an updated enhanced prompt for variables action which separates the expansion of variables for defaults and user entered values. It can be downloaded from here;
http://downloads.automise.com/downloads/automise/400/ATCMD400_660.exe
http://downloads.automise.com/downloads/automise/400/AT400_660.exe
http://downloads.automise.com/downloads/automise/400/AutomiseRunner400_660.exe
If this doesn’t work or if you have any other questions, just let me know and I’ll be happy to help.
Hi Jason,
that works very good! Thank you very much for this fast solution!
Regards,
HHK