Player
Documentation
AppleScript
User's Guide
Chapter 5, Verbs
One Verb Per Page
set: menu selection location, specifies mouse location for 'do menu' -- new in 1.5
Syntax
set menu selection location to location
Parameters
location -- an {x, y} list
Result
true
Examples
set menu selection location to {5, 15} -- move down a bit
set menu selection location to {5, 5} -- the default
Notes
- For "do menu", Player (often invisibly) moves the mouse to the upper left corner of the menubar and issues a low-level MacOS "choose menu" command. A few other utilities (e.g. PopChar) use the same spot. To avoid a conflict, you could change the spot for the other utilities or call this verb to change the spot for Player.
- This setting only lasts until a restart so we suggest you include it at the beginning of every script (or put it in a script that runs at startup) if you need it at all.
See Also
do menu
set complete match
set case sensitive
set mouse delay
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.