Macro Scheduler 15

SetCheckBox

SetCheckBox>window_title,object_caption,TRUE|FALSE

 

SetCheckBox is used to check or uncheck a given checkbox or radio button.   Specify the window title of the window containing the check box/radio button, and the object's caption.  The caption of a check box or radio button is the text appearing next to it.  The caption must be specified accurately with attention paid to case.  Where a letter is underlined indicating a shortcut key, enter the '&' character before it.

 

window_title can end with an asterisk to indicate a substring match.  WF_TYPE, WIN_USEHANDLE and WIN_REGEX directives are also accepted.  See SetFocus for a more detailed explanation of how the asterisk, WF_TYPE, WIN_USEHANDLE and WIN_REGEX can be used to define how the window is located.

 

 

Abbreviation : SBX

See also: GetCheckBox

 

Example

 

GetCheckBox>Internet Explorer Prop*,Never dial a &connection,res

If>res=1

  SetCheckBox>Internet Explorer Prop*,Never dial a &connection,FALSE

Else

  SetCheckBox>Internet Explorer Prop*,Never dial a &connection,TRUE

Endif