Method VirtualScreen():getPhysicalScreen() Foundation

Get a physical screen connected to the computer.

Syntax
:getPhysicalScreen( [<nScreen>] ) --> oScreen
Parameters
<nScreen>
The numeric index of the PhysicalScreen object within the array of screen objects. If nothing is specified for <nScreen>, the primary screen is returned.
Return

A PhysicalScreen object, or NIL in case of an error.

Description

The method :getPhysicalScreen() can be used for getting a PhysicalScreen object representing a specific physical screen connected to the computer. The physical screen is identified by its numeric index in the screen list returned by :getPhysicalScreens(). If no index is specified, :getPhysicalScreen() returns the physical screen object of the primary screen.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.