libcvautomation
1.2
|
click
Click the mouse where it is currently located
click_xy <x-coordinate> <y-coordinate>
Click the mouse on an absolute point on screen
clickr_xy <x-increment> <y-increment>
Click the mouse on the screen relative to where the mouse is at
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
CENTER
, TOLERANCE
, and SEARCH_METHOD
variables. See Testing the Testing Wrapper for more information on these. 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
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
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
image_location <filename>
Get the location of an image on screen
CENTER
, TOLERANCE
, and SEARCH_METHOD
variables. See Testing the Testing Wrapper for more information on these. key_str "<string>"
Enter a string of characters on the keyboard rather than a single character at a time.
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
key_up "<key-name>"
Release a key
key_click "<key-name>"
Press a key down and then release it immediately after
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
zenity
- if zenity
isn't available, will return an error without pausing, and will not display anything.