Error getting tags :
error 404Error getting tags :
error 404 screenLoc | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
screenLoc
Basics
Expander triangle
Type
Function
Syntax
the screenLoc screenLoc()
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the location of the screen's center.
Examples

the screenLoc
set the loc of window "Dialog" to the screenLoc

Additional Comments
Expander triangle

Use the screenLoc function to determine the height and width of the screen, or to compute the location of windows relative to the center of the screen.

Value:

The screenLoc function returns two integers separated by a comma.

Comments:

The first item in the value returned by the screenLoc is the distance from the left edge to the center of the screen, in pixels. The second item is the distance from the top edge to the center of the screen, in pixels.

If the system has more than one monitor, the screenLoc function returns the rectangle of the main screen.

User Comments
Expander triangle