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

Player.clickInsideItem


Syntax

Player.clickInsideItem(theItem, location)

Player.clickInsideItem(theItem, location, holding: modifierKeys)


Parameters

theItem is either a name or ID number.

location is an {x, y} list or a point datatype.

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 inside the indicated item at the specified location.


Returns

True.


Examples

Player.clickInsideItem( "Up Down Arrows", {10, 10} )
Player.clickInsideItem( "Up Down Arrows", point.set(10, 10) )


Errors

The item does not exist or is not enabled.


Notes



See Also

Player.doubleClickInsideItem
Player.nClickInsideItem
Player.clickItem
Player.setCompleteMatch
   
Player.clickInsideItemAt


Keywords

customItems[4] modifiers

| Top |


clickDefaultButton| Prev | Home | Next |clickInsideItemAt

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.