libcvautomation  1.2
Appendix of Wrapper Functions

Click the mouse

 click 

Click the mouse where it is currently located

 click_xy <x-coordinate> <y-coordinate> 

Click the mouse on an absolute point on screen

Note:
The actual process is to move the mouse to the given location, then click there.

 clickr_xy <x-increment> <y-increment> 

Click the mouse on the screen relative to where the mouse is at

Note:
The actual process is to move the mouse the given distance, then click there.
Also, note that a positive x-increment moves the mouse to the right, and a positive y-increment moves the mouse down.

 click_i <filename> 

Click the mouse on a screenshot from filename

Note:
This is affected by the CENTER, TOLERANCE, and SEARCH_METHOD variables. See Testing the Testing Wrapper for more information on these.

Move the mouse

 hover_xy <x-coordinate> <y-increment> 

Move the mouse to a location on screen using absolute positioning

 hoverr_xy <x-increment> <y-increment> 

Move the mouse to a location on screen using relative positioning

Note:
Note that a positive x-increment moves the mouse to the right, and a positive y-increment moves the mouse down.

 hover_i <filename> 

Move the mouse to a location on screen based on screenshot

Note:
This is affected by the CENTER, TOLERANCE, and SEARCH_METHOD variables. See Testing the Testing Wrapper for more information on these.

 mouse_scrollu 

Scroll the mouse wheel up one

 mouse_scrolld 

Scroll the mouse wheel down one

Find an Image

 image_location <filename> 

Get the location of an image on screen

Note:
This is affected by the CENTER, TOLERANCE, and SEARCH_METHOD variables. See Testing the Testing Wrapper for more information on these.

Click the keyboard

 key_str "<string>" 

Enter a string of characters on the keyboard rather than a single character at a time.

Warning:
This function does not accept key strings like "Space" as key_down, key_up, and key_click do. If you pass in "Space", that is exactly what will be typed.

 key_down "<key-name>" 

Press a key down and leave it down

Note:
This function accepts special keys like "Space" - see XTest Key Strings for a full list of characters allowed.

 key_up "<key-name>" 

Release a key

Note:
This function accepts special keys like "Space" - see XTest Key Strings for a full list of characters allowed.

 key_click "<key-name>" 

Press a key down and then release it immediately after

Note:
This function accepts special keys like "Space" - see XTest Key Strings for a full list of characters allowed.

Useful extras

 run_process "<process-name>" 

Start a process on the system, background it, and return the PID of the created process.

 is_running "<process-name>" 
 is_running "<process-id>" 

Check if a program name or PID is currently running

 notify "<string_to_display>" 

Display a notification to the user, and wait for a response

Warning:
Uses zenity - if zenity isn't available, will return an error without pausing, and will not display anything.
 All Classes Files Functions Defines