Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.setCheckboxSequence
Syntax
Player.setCheckboxSequence(listOfLists)
Parameters
listOfLists using the form { {checkbox1, value}, {checkbox2, value} , ... } where the checkbox is either a name or ID number, and value is checked (1) or unchecked (0).
Action
Set a list of checkboxes in sequence.
Returns
True.
Examples
with Player « could use "checked" & "unchecked" instead of 1 & 0
setCheckboxSequence( { {"Font Substitution", 0}, {"Reduce to fit", 1} } )
setCheckboxSequence( { {14, 0}, {15, 0}, {16, 0}, {17, 0} } )
Errors
The checkbox does not exist or is not enabled.
Notes
- When you need to set the value for multiple checkboxes, calling this verb once with a list is faster than calling setCheckbox for each.
- See the Constants section of Chapter 6 for additional notes.
- By default, Player matches only the number of characters specified in the verb parameter. This feature has the benefit of ignoring trailing punctuation, but will occasionally find a false match.
- By default, name matching is not case sensitive.
See Also
Player.setCheckbox
Player.setCustomCheckbox
Player.clickSequence
Player.dragSequence
Player.setCompleteMatch
Keywords
dialogItems[4] choices sequence version1.1
setCompleteMatch
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.