Player
Documentation
AppleScript
User's Guide
Chapter 5, Verbs
One Verb Per Page
click: toggle a checkbox
Syntax
click checkbox nameIDOrLocation [holding modifierKeys]
Parameters
checkbox nameIDOrLocation -- name, ID number, or location (an {x, y} list)
[holding modifierKeys] -- one or more modifier keys (command, shift, option, control, caps lock), concatenated with "&"
Result
true
Examples
click checkbox "Font Substitution"
click checkbox 14 -- ID
click checkbox {10, 20} -- location
Notes
- This verb toggles a checkbox, just like a real click. Use set value of checkbox to explicitly check or uncheck it.
- To click a whole series of dialog items in one step, use click sequence.
- Use Player's balloon help to determine the ID number (if any) and location.
- 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.
Errors
checkbox does not exist or is not enabled
See Also
set value of checkbox
exists checkbox
get info dialog item
click sequence
set complete match
click dialog item
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.