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

Player.pressMouseAtSeconds


Syntax

Player.pressMouseAtSeconds(x, y, seconds)

Player.pressMouseAtSeconds(x, y, seconds, holding: modifierKeys)


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.

seconds 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

Press and hold the mouse for the indicated duration (with two parameters to specify the location).


Returns

True.


Examples

Player.pressMouseAtSeconds(365, 215, 5) « e.g. to scroll the scrapbook to the right edge


Notes



See Also

Player.clickMouseAt
Player.dragMouseFromTo
   
Player.pressMouseSeconds


Keywords

mouse[13] XY modifiers

| Top |


popupExists| Prev | Home | Next |pressMouseSeconds

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.