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

Player.nClickItem


Syntax

Player.nClickItem(theItem, n)

Player.nClickItem(theItem, n, holding: modifierKeys)


Parameters

theItem is a name, ID number, or location (an {x, y} list or a point datatype)

n is a 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.


Action

Clicks the indicated item n times.


Returns

True.


Examples

Player.nClickItem(24, 3)


Errors

The item does not exist or is not enabled.


Notes



See Also

Player.clickItem
Player.doubleClickItem


Keywords

customItems[3] location modifiers

| Top |


nClickInsideItemAt| Prev | Home | Next |nClickMouse

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.