screen

Classes to fulfill the roles of those described at
http://doc.sikuli.org/screen.html
class python_sikuli_client.screen.Screen(remote, server_id, is_new=False, *args, **kwargs)[source]

Manages interaction with Sikuli’s Screen, reflecting http://doc.sikuli.org/screen.html#Screen

capture(*args)[source]

Get the dimensions of monitor represented by the screen object.

The width and height of the rectangle denote the dimensions of the monitor represented by the screen object. These attributes are obtained from the operating system. They can not be modified using Sikuli script.

Parameters:args – (Region,) | (x, y, w, h)
Return type:str
getBounds()[source]

Get the dimensions of monitor represented by the screen object.

The width and height of the rectangle denote the dimensions of the monitor represented by the screen object. These attributes are obtained from the operating system. They can not be modified using Sikuli script.

Return type:(int, int, int, int)
getNumberScreens()[source]

Get the number of screens in a multi-monitor environment at the time the script is running.

Return type:int
selectRegion(text=None)[source]

Todo

Implement ‘selectRegion’ (later)

Previous topic

region

Next topic

sikuli_class

This Page