PreFab...Player...Documentation...Frontier...User's Guide...Chapter 5, Verbs...One Verb Per Page...

Player.choosePopupAt


Syntax

Player.choosePopupAt(x, y, item)

Player.choosePopupAt(x, y, item, holding: modifierKeys, extraClick: desiredState)


Parameters

x is the number of pixels from the left side of the frontmost dialog or window.

y is the number of pixels from the top of the frontmost dialog or window.

item is either a name or position number.

holding: modifierKeys, an optional parameter, is one or more modifier keys (command, shift, option, control, caps lock) or their abbreviations (cmd, shft, opt, ctrl, caps), added together in any order.

extraClick: desiredState, set to 'false' to disable the extra click (for a slight increase in speed but at the risk of the app not noticing the changed popup value)


Action

Chooses from a pop-up menu (with two parameters to specify the location).


Returns

True.


Examples

Player.choosePopup(220, 147, "points" ) « height


Errors

The item does not exist or is not enabled.


Notes



See Also

Player.chooseHierPopupAt
Player.choosePopup


Keywords

menus[5] dialogItems XY modifiers

| Top |


choosePopup| Prev | Home | Next |clickButton

Updated on 1/30/99 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.