PreFab...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



Errors

dialog item does not exist or is not enabled


See Also

exists dialog item
get info dialog item
click sequence
set complete match

| Top |


click checkbox| Prev | Home | Next |click location

Updated on 2/5/97 by Scott S. Lawton (ssl@prefab.com)

Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.

This site built and maintained using Stage Three, a set of custom Frontier scripts.