Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.setMenuSelectionLocation -- new in 1.5
Syntax
Player.setMenuSelectionLocation(location)
Parameters
location is an {x, y} list or a point datatype.
Action
Specifies mouse location for chooseMenu().
Returns
True.
Examples
Player.setMenuSelectionLocation( {5, 15} ) « move down a bit
Player.setMenuSelectionLocation( {5, 5} ) « the default
Notes
- For chooseMenu(), 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
Player.chooseMenu
Player.setCompleteMatch
Player.setCaseSensitive
Keywords
settings menus
setMouseDelay
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.