IFNO Conditional branch if ‘No’ is clicked in ASK dialog box |
Top Previous Next |
This command not supported when running in a minimized window or as a Windows service.
This script command is used in conjunction with the ASK command. If you click the ‘No’ button in the ASK dialog box, this command branches to [ label ].
For example:
ASK "Yes or No?" IFNO GOTO answer_is_no MESSAGEBOX "You chose 'yes'" GOTO done :answer_is_no PLAYSOUND "C:\Windows\Media\chord.wav" MESSAGEBOX "You chose 'no'"
Related command(s): ASK, IFYES, PROMPT, MESSAGEBOX, BROWSE, PLAYSOUND, GOTO, CONSOLE, CONSOLEMSG See also: Running Robo-FTP With Prompting |