| 1 |
|
| 2 |
======= |
| 3 |
Roadmap |
| 4 |
======= |
| 5 |
|
| 6 |
PyAutoGUI is planned as a replacement for other Python GUI automation scripts, such as PyUserInput, PyKeyboard, PyMouse, pykey, etc. Eventually it would be great to offer the same type of features that Sikuli_ offers. |
| 7 |
|
| 8 |
For now, the primary aim for PyAutoGUI is cross-platform mouse and keyboard control and a simple API. |
| 9 |
|
| 10 |
Future features planned (specific versions not planned yet): |
| 11 |
|
| 12 |
- A tool for determining why an image can't be found in a particular screenshot. (This is a common source of questions for users.) |
| 13 |
- Full compatibility on Raspberry Pis. |
| 14 |
- "Wave" function, which is used just to see where the mouse is by shaking the mouse cursor a bit. A small helper function. |
| 15 |
- locateNear() function, which is like the other locate-related screen reading functions except it finds the first instance near an xy point on the screen. |
| 16 |
- Find a list of all windows and their captions. |
| 17 |
- Click coordinates relative to a window, instead of the entire screen. |
| 18 |
- Make it easier to work on systems with multiple monitors. |
| 19 |
- GetKeyState() type of function |
| 20 |
- Ability to set global hotkey on all platforms so that there can be an easy "kill switch" for GUI automation programs. |
| 21 |
- Optional nonblocking pyautogui calls. |
| 22 |
- "strict" mode for keyboard - passing an invalid keyboard key causes an exception instead of silently skipping it. |
| 23 |
- rename keyboardMapping to KEYBOARD_MAPPING |
| 24 |
- Ability to convert png and other image files into a string that can be copy/pasted directly in the source code, so that they don't have to be shared separately with people's pyautogui scripts. |
| 25 |
- Test to make sure pyautogui works in Windows/mac/linux VMs. |
| 26 |
- A way to compare two images and highlight differences between them (good for pointing out when a UI changes, etc.) |
| 27 |
|
| 28 |
Window handling features: |
| 29 |
- pyautogui.getWindows() # returns a dict of window titles mapped to window IDs |
| 30 |
- pyautogui.getWindow(str_title_or_int_id) # returns a "Win" object |
| 31 |
- win.move(x, y) |
| 32 |
- win.resize(width, height) |
| 33 |
- win.maximize() |
| 34 |
- win.minimize() |
| 35 |
- win.restore() |
| 36 |
- win.close() |
| 37 |
- win.position() # returns (x, y) of top-left corner |
| 38 |
- win.moveRel(x=0, y=0) # moves relative to the x, y of top-left corner of the window |
| 39 |
- win.clickRel(x=0, y=0, clicks=1, interval=0.0, button='left') # click relative to the x, y of top-left corner of the window |
| 40 |
- Additions to screenshot functionality so that it can capture specific windows instead of full screen. |
| 41 |
|
| 42 |
.. _Sikuli: http://www.sikuli.org |