Player
Documentation
AppleScript
User's Guide
Chapter 5, Verbs
One Verb Per Page
click: a list of objects in sequence
Syntax
click sequence list [holding modifierKeys]
Parameters
sequence list -- list of locations, item names and/or item ID numbers
[holding modifierKeys] -- one or more modifier keys (command, shift, option, control, caps lock), concatenated with "&"
Result
true
Examples
click sequence { {4, 27}, {4, 60}, {28, 60} } -- draw a polygon
click sequence { "Auto Save", "Smart Quotes" , 12, "OK" } -- radio buttons, icons (by ID), etc.
Notes
- This verb may operate too quickly for an application to keep up. Use set mouse delay to set a short delay.
- By default, coordinates are relative to the frontmost dialog or window. Changing to a different screen size or having the window come up in a different location should have no effect.
- Use the screen coordinates constant (new in 1.03) to treat coordinates as an absolute screen position.
- In most applications, the location is relative to the inside of the window. Negative y values reach into the title bar (if any).
Errors
dialog item does not exist or is not enabled
See Also
click location
drag through
set checkbox sequence
set mouse delay
set target window
set complete match
drag
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.