Player
Documentation
AppleScript
User's Guide
Chapter 5, Verbs
One Verb Per Page
click: on any other dialog or window item
Syntax
click dialog item nameIDOrLocation [holding modifierKeys] [times numberOfClicks] [at inside location coordinates]
Parameters
dialog item 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 "&"
[times numberOfClicks] -- number of times to click
[at inside location coordinates] -- an {x, y} list, the horizontal and vertical position within an object, relative to its upper left corner
Result
true
Examples
click dialog item "Whatever"
click dialog item 14 -- ID
click dialog item {10, 20} -- location
click dialog item 11 times 2 -- double click
click dialog item "this one" holding control
click dialog item "Up Down Arrows" at inside location {8, 12} -- up arrow
Notes
- This verb is for other dialog or window items, such as icons and text entry boxes.
- 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
dialog item does not exist or is not enabled
See Also
exists dialog item
get info dialog item
click sequence
set complete match
click location
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.