mirror of
				https://github.com/bspeice/libcvautomation
				synced 2025-11-03 18:00:43 -05:00 
			
		
		
		
	Release version 1.1 Documentation
This commit is contained in:
		
							
								
								
									
										83
									
								
								XTest_command_strings.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										83
									
								
								XTest_command_strings.html
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,83 @@
 | 
			
		||||
<!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: xte_commandString() Command Strings</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 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 Pages</span></a></li>
 | 
			
		||||
    <li>
 | 
			
		||||
      <form action="search.php" method="get">
 | 
			
		||||
        <table cellspacing="0" cellpadding="0" border="0">
 | 
			
		||||
          <tr>
 | 
			
		||||
            <td><label> <u>S</u>earch for </label></td>
 | 
			
		||||
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
 | 
			
		||||
          </tr>
 | 
			
		||||
        </table>
 | 
			
		||||
      </form>
 | 
			
		||||
    </li>
 | 
			
		||||
  </ul></div>
 | 
			
		||||
<h1><a class="anchor" name="XTest_command_strings">xte_commandString() Command Strings</a></h1>This page describes the various command strings available for the <a class="el" href="libcvautomation-xtest_8h.html#382af05e5669ea2cbb22608e41cbc49a">xte_commandString()</a> function. <h2><a class="anchor" name="mouseclick">
 | 
			
		||||
Mouse Click</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'mouseclick <button_number>' 
 | 
			
		||||
</pre></div> Click the mouse button <code></code> <button_number> in-place.<h2><a class="anchor" name="imouseclick">
 | 
			
		||||
Image Mouse Click</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'imouseclick <image_name>' 
 | 
			
		||||
</pre></div> Click the mouse at an image's top-left corner.<h2><a class="anchor" name="icmouseclick">
 | 
			
		||||
Image Mouse Click (Centered)</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'icmouseclick <image_name>' 
 | 
			
		||||
</pre></div> Click the mouse at an image's center.<h2><a class="anchor" name="mousexy">
 | 
			
		||||
Mouse XY Move</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'mousexy <x-coord> <y-coord>' 
 | 
			
		||||
</pre></div> Move the mouse to an absolute coordinate. <dl compact><dt><b>Warning:</b></dt><dd>The <code><x-coord></code> and <code><y-coord></code> are expected to be integers.</dd></dl>
 | 
			
		||||
<h2><a class="anchor" name="mouserxy">
 | 
			
		||||
Mouse XY Move (Relative)</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'mouserxy <x-increment> <y-increment>' 
 | 
			
		||||
</pre></div> Move the mouse by the given x and y values (relative motion). <dl compact><dt><b>A positive X increment will move the mouse to the right, and a positive Y increment will move the mouse down.</b></dt><dd></dd></dl>
 | 
			
		||||
<dl compact><dt><b>Warning:</b></dt><dd>The <code><x-increment></code> and <code><y-increment></code> are expected to be integers.</dd></dl>
 | 
			
		||||
<h2><a class="anchor" name="mouseimage">
 | 
			
		||||
Mouse Image Move</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'mouseimage <image_name>' 
 | 
			
		||||
</pre></div> Move the mouse to an image's top-left corner.<h2><a class="anchor" name="cmouseimage">
 | 
			
		||||
Mouse Image Move (Centered)</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'cmouseimage <image_name>' 
 | 
			
		||||
</pre></div> Move the mouse to an image's center.<h2><a class="anchor" name="mousedown">
 | 
			
		||||
Mouse Button Down</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'mousedown <button_number>' 
 | 
			
		||||
</pre></div> Push and leave down a mouse button.<h2><a class="anchor" name="mouseup">
 | 
			
		||||
Mouse Button Up</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'mouseup <button_number>' 
 | 
			
		||||
</pre></div> Release mouse button <code></code> <button_number><h2><a class="anchor" name="mousejiggle">
 | 
			
		||||
Mouse Jiggle</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'mousejiggle' 
 | 
			
		||||
</pre></div> Jiggle the mouse (helps to activate some widgets). Moves the mouse right and down 1 pixel, and then back.<h2><a class="anchor" name="mousescrolld">
 | 
			
		||||
Mouse Scroll Down</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'mousescrolld' 
 | 
			
		||||
</pre></div> Scroll the mouse down 1 time - depending on window manager settings, etc., this may be multiple lines. <dl compact><dt><b>Note:</b></dt><dd>This is a wrapper function for clicking button 4 on the mouse</dd></dl>
 | 
			
		||||
<h2><a class="anchor" name="mousescrollu">
 | 
			
		||||
Mouse Scroll Up</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'mousescrollu' 
 | 
			
		||||
</pre></div> Scroll the mouse up 1 time - depending on window manager settings, etc., this may be multiple lines. <dl compact><dt><b>Note:</b></dt><dd>This is a wrapper function for clicking button 5 on the mouse</dd></dl>
 | 
			
		||||
<h2><a class="anchor" name="keyclick">
 | 
			
		||||
Key Button Click</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'keyclick <key_name>' 
 | 
			
		||||
</pre></div> Push and release a keyboard key. This can be a key like <code>'a'</code>, <code>'b'</code>, or something fancy like <code>'space'</code>. Please see <a class="el" href="XTest_key_strings.html">XTest Key Strings</a> for a full list of special keys.<h2><a class="anchor" name="keydown">
 | 
			
		||||
Key Button Down</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'keydown <key_name>' 
 | 
			
		||||
</pre></div> Push down <em>but do not release</em> a keyboard key. This can be a key like <code>'a'</code>, <code>'b'</code>, or something fancy like <code>'space'</code>. Please see <a class="el" href="XTest_key_strings.html">XTest Key Strings</a> for a full list of special keys.<h2><a class="anchor" name="keyup">
 | 
			
		||||
Key Button Up</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'keyup <key_name>' 
 | 
			
		||||
</pre></div> Release a keyboard key. This can be a key like <code>'a'</code>, <code>'b'</code>, or something fancy like <code>'space'</code>. Please see <a class="el" href="XTest_key_strings.html">XTest Key Strings</a> for a full list of special keys.<h2><a class="anchor" name="keystring">
 | 
			
		||||
Keyboard Input String</a></h2>
 | 
			
		||||
<div class="fragment"><pre class="fragment"> 'keystring <string>' 
 | 
			
		||||
</pre></div> Input a string of text to the X11 server. For example, inputting 'Hello, world!" will act as if you typed 'Hello, world!' from the keyboard. <dl compact><dt><b>Warning:</b></dt><dd>Unlike <a class="el" href="XTest_command_strings.html#keydown">Key Button Down</a>, <a class="el" href="XTest_command_strings.html#keyup">Key Button Up</a>, and <a class="el" href="XTest_command_strings.html#keyclick">Key Button Click</a>, this function can not handle special keys like 'space'. </dd></dl>
 | 
			
		||||
<hr size="1"><address style="align: right;"><small>Generated on Tue Jul 17 12:19:00 2012 for libcvautomation by 
 | 
			
		||||
<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>
 | 
			
		||||
		Reference in New Issue
	
	Block a user