IFYES        Conditional branch if ‘Yes’ is clicked in ASK dialog box

Top  Previous  Next

Syntax:

IFYES

goto  [ label ]

Arguments:

[ label ]

A valid label within the current script file.

Options:

none

 

 

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 ‘Yes’ button in the ASK dialog box, this command branches to [ label ].

 

For example:

 

ASK "Yes or No?"

IFYES goto answer is yes

 

Related Command(s): ASK, IFNO