Skip to main content

Control the Windows GUI

Project description

The guippy emulate various operations of computer users. It provides the ability for emulate keyboards, mouses, window system, and clipboards. By using this, you can run your computer automatically.

This is a Pyhon 3rd party library. Written in pure Python. You need to Python programming, but it is very easy to use. And you can easily and safely install.

INSTALL

pip install guippy

HOW TO USE IT

For example…

Start:

>>> import guippy
>>> gp = guippy.Guippy()

Catch current active window:

>>> gp.catch()

Move the window to (x=1, y=2):

>>> gp.move(1, 2)

Move the mouse pointer to (x=1, y=2):

>>> gp.jump(1, 2)

Move the mouse pointer to relative position from the upper-left of the window:

>>> gp.chase(2, 3)

Click and double click:

>>> gp.click()  # click
>>> gp.wclick() # double click

Type “test”:

>>> gp.punch('test')

Input Ctrl-c:

>>> gp.ctrl('c')

Set data in to clipboard:

>>> gp.set('test')

Get data from clipboard:

>>> gp.get()
u'test'

Close the window:

>>> gp.close()

See the documentation if you want to know other things.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for guippy, version 0.1.4dev
Filename, size File type Python version Upload date Hashes
Filename, size guippy-0.1.4dev.tar.gz (12.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page