AppCtrlScript

MAY Computer

Help

ASKYESNO

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Other

See also  

ASKNOYES, INPUT, CHOOSEITEMFROMLIST

Displays a message box to the user with the specified text and offers the user to choose between yes and no. The result is stored in the specified script variable.

Default answer is YES. If you want NO as default answer then use ASKNOYES.

Syntax

ASKY[ES]N[O] <VariableName>, <MessageText>[, <Title>]

Part

Description

<VariableName> Script variable name where to store the answer; will be YES or NO.
<MessageText> Question text to display.
<Title> Title of the message box.