Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.moveMouseTo -- new in 1.5
Syntax
Player.moveMouseTo(x, y)
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.
Action
Moves the mouse to the specified location and leaves it there (with two parameters to specify the location).
Returns
True.
Examples
Player.moveMouse(4, 27)
Notes
- This verb is similar to moveMouse(...), but provides separate x and y parameters that some may find easier to type (and to read!). It does not support screen coordinates.
- Coordinates are relative to the frontmost dialog or window. Changing to a different screen size or having the window come up in a different location should have no effect.
- In most applications, the location is relative to the inside of the window. Negative y values reach into the title bar (if any).
See Also
Player.moveMouse
Player.clickMouseAt
Player.dragMouseFromTo
Player.setTargetWindow
Keywords
mouse location
nClickInsideItem
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.