libcvautomation/cva-input.html
2012-07-17 16:07:18 -04:00

66 lines
3.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libcvautomation: </title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li>
<form action="search.php" method="get">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
<td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
</tr>
</table>
</form>
</li>
</ul></div>
<dl compact><dt><b>Author:</b></dt><dd>Bradlee Speice &lt;<a href="mailto:bspeice@uncc.edu">bspeice@uncc.edu</a>&gt; </dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>7/11/2012 </dd></dl>
<h2><a class="anchor" name="usage">
Usage:</a></h2>
This program works kind of like a mini-language. All options are parsed left-to-right, and executed right there. Thus, specifying "--display" at different places in the options will cause this program to use the most recent given display. <h2><a class="anchor" name="example">
Example Usage:</a></h2>
Click the mouse:<p>
cva-input -s 'click 1'<p>
Press key 'a':<p>
cva-input -s 'keyclick a'<h2><a class="anchor" name="options">
Full Options:</a></h2>
-h, --help: Display this usage message.<p>
-u, --usage: Display this usage message.<p>
-d, --display: Specify the X display to use.<p>
-m, --search-method: Specify a method to search by. See <code>cva-match --help</code> for more information on this.<p>
-t, --tolerance: Specify how strict the match is.<p>
-b, --button: Specify the mouse button to press (default 1).<p>
-c, --center: Instead of matching the top-left corner of an image, match the center of the image.<p>
-o, --sane-tolerance: Set the tolerance using a scale of 1-100, rather than INT_MIN to INT_MAX (100 ~= INT_MAX)<p>
-s, --string: Command string - see below.<h2><a class="anchor" name="commands">
Full Command List:</a></h2>
mouseclick: Click the mouse in-place.<p>
imouseclick: Click the mouse at an image's top-left corner.<p>
icmouseclick: Click the mouse at an image's center.<p>
mousexy: Move the mouse to the given coordinate.<p>
mouserxy: Move the mouse by the given x and y values (relative motion).<p>
mouseimage: Move the mouse to an image's top-left corner.<p>
cmouseimage: Move the mouse to an image's center.<p>
mousedown: Push and leave down a mouse button.<p>
mouseup: Release a mouse button.<p>
mousejiggle: Jiggle the mouse (helps to activate some widgets).<p>
keyclick: Click a keyboard button.<p>
keydown: Push and leave down a keyboard button.<p>
keyup: Release a keyboard button.<p>
keystring: Input a string of keys to X11.<h2><a class="anchor" name="contact">
Contact Information:</a></h2>
Questions? Comments? Concerns? Suggestions? Send all feedback to Bradlee Speice at &lt;<a href="mailto:bspeice@uncc.edu">bspeice@uncc.edu</a>&gt; <hr size="1"><address style="align: right;"><small>Generated on Tue Jul 17 12:19:00 2012 for libcvautomation by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>