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

Player.screenCoordinates


Syntax

Player.screenCoordinates(location)


Parameters

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


Action

Marks the specified location to be interpreted as absolute screen coordinates.


Returns

A modified location.


Examples

Player.clickMouse( Player.screenCoordinates({4, 27}) )
Player.clickMouse( Player.screenCoordinates( point.set(4, 27) ) ) « for Frontier 2.0
Player.doubleClickMouse( Player.screenCoordinates({4, 27}) )
Player.nClickMouse( Player.screenCoordinates({4, 27}), 3 )
with Player
   clickSequence( {4, 27}, screenCoordinates({19, 60}), {28, 60} )
   pressMouseSeconds( screenCoordinates({365, 215}), 5 )
   dragMouse( {30, -10}, screenCoordinates({31, 28}) ) « drag window to the upper left corner of the screen


Notes



See Also

Player.clickMouse
Player.setTargetWindow


Keywords

mouse[8] location

| Top |


radioExists| Prev | Home | Next |selectRadio

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.