guibot.guibot module

class guibot.guibot.GuiBot(dc=None, cv=None)[source]

Bases: guibot.region.Region

The main guibot object is the root (first and screen wide) region with some convenience functions added.

See also

Real API is inherited from region.Region.

__init__(dc=None, cv=None)[source]

Build a guibot object.

Parameters:
  • dc (desktopcontrol.DesktopControl or None) – DC backend used for any desktop control
  • cv (finder.Finder or None) – CV backend used for any target finding

We will initialize with default region of full screen and default desktop control and computer vision backends if none are provided.

add_path(directory)[source]

Add a path to the list of currently accessible paths if it wasn’t already added.

Parameters:directory (str) – path to add
remove_path(directory)[source]

Remove a path from the list of currently accessible paths.

Parameters:directory (str) – path to add