Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
Overview
Mouse Verbs
These verbs control mouse actions.Verbs
clickMouse- click the mouse, specifying location as a point or list
doubleClickMouse- double click the mouse, specifying location as a point or list
nClickMouse- click the mouse n times, specifying location as a point or list
clickSequence- click the mouse on each location or item in a sequence
dragMouse- drag the mouse from one location to another
dragSequence- drag the mouse through a sequence of locations
moveMouse- move the mouse to a specified location and leave it there
pressMouseSeconds- press and hold the mouse button for the specified duration
screenCoordinates- treat the location as screen coordinates rather than window coordinates
Alternate Verbs
These verbs have separate parameters for x and y. This format may be somewhat easier to type (and read!) than a list or point, but is less flexible.
clickMouseAt- click the mouse, specifying location with 2 parameters (x, y)
doubleClickMouseAt- double click the mouse, specifying location with 2 parameters (x, y)
nClickMouseAt- click the mouse n times, specifying location with 2 parameters (x, y)
dragMouseFromTo- drag, specifying each location with 2 parameters (x, y)
moveMouseTo- move the mouse, specifying each location with 2 parameters (x, y)
pressMouseAtSeconds- press and hold the mouse button, specifying location with 2 parameters (x, y)
Notes
- By default, all coordinates are relative to the frontmost dialog or window. Changing to a different size screen or having the window come up in a different location should have no effect. For screen ("global") coordinates, use the screenCoordinates verb.
- To specify coordinates relative to a specific window, use setTargetWindow( ).
Window Verbs
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.