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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.