<tr><tdclass="memItemLeft"align="right"valign="top">#define </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#ae9d8d80e438d68a6c57c02d7217df1bd">IS_CMD</a>(x, y)   strncmp( x, y, strlen( y ) ) == 0</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Checks if string <code>'x'</code> is in <code>'y'</code>. <ahref="#ae9d8d80e438d68a6c57c02d7217df1bd"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Check if the XTest extension is supported. <ahref="#af5b751f28a87f6ca4c1b3969c2ddb7f4"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Grab the current location of the mouse. <ahref="#aaa6da04691328c02b3fc3442eaa9bb44"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#a8a95419cacd3a0efbd4bb6274567e284">xte_clickMouse</a> (Display *displayLocation, int mouseButton)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Click the mouse in its current location. <ahref="#a8a95419cacd3a0efbd4bb6274567e284"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#a808386f36914966032aa2e15fd5ef60b">xte_clickMouseXY</a> (Display *displayLocation, int xLocation, int yLocation, int mouseButton)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Click the mouse button at an absolute location. <ahref="#a808386f36914966032aa2e15fd5ef60b"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#a54df9f6d2278b6c840299f1f8ff94576">xte_clickMouseRXY</a> (Display *displayLocation, int xIncrement, int yIncrement, int mouseButton)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Click the mouse button at a relative location. <ahref="#a54df9f6d2278b6c840299f1f8ff94576"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#afa808d82bff7531af99d20b5397f4810">xte_clickMouseImage</a> (Display *displayLocation, IplImage *subImage, int mouseButton, int searchMethod, int tolerance)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Click the mouse based on location of an image. <ahref="#afa808d82bff7531af99d20b5397f4810"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#aa8e0c08cbca4f2863c4feda535c34bf5">xte_clickMouseImage_location</a> (Display *displayLocation, const char *fileName, int mouseButton, int searchMethod, int tolerance)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Click the mouse based on the location of an image from file. <ahref="#aa8e0c08cbca4f2863c4feda535c34bf5"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#aa167cd70fe8284dbccbbd42cd4878b3e">xte_clickMouseImage_center</a> (Display *displayLocation, IplImage *subImage, int mouseButton, int searchMethod, int tolerance)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Click the mouse based on center location of an image. <ahref="#aa167cd70fe8284dbccbbd42cd4878b3e"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#a40ca9d0d71b8f7cc513c27a9b0171995">xte_clickMouseImage_location_center</a> (Display *displayLocation, const char *fileName, int mouseButton, int searchMethod, int tolerance)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Click the mouse based on the center location of an image from file. <ahref="#a40ca9d0d71b8f7cc513c27a9b0171995"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#a16e54e500caa43ab825a2039be9aabf9">xte_hoverMouseXY</a> (Display *displayLocation, int xLocation, int yLocation)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Move the mouse to a location, but do not click it. <ahref="#a16e54e500caa43ab825a2039be9aabf9"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#ab86c2de782d401599652f2856f311aad">xte_hoverMouseRXY</a> (Display *displayLocation, int xIncrement, int yIncrement)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Move the mouse to a relative location, but do not click it. <ahref="#ab86c2de782d401599652f2856f311aad"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#a657631e704e31818b42587ef50724930">xte_hoverMouseImage</a> (Display *displayLocation, IplImage *subImage, int searchMethod, int tolerance)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Move the mouse based on location of an image. <ahref="#a657631e704e31818b42587ef50724930"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#ad274843eaaed7af192f09310caa9e5b2">xte_hoverMouseImage_location</a> (Display *displayLocation, const char *filename, int searchMethod, int tolerance)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Move the mouse based on location of an image from file. <ahref="#ad274843eaaed7af192f09310caa9e5b2"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#a72f049ae7ade76344e47d01ba451e8f1">xte_hoverMouseImage_center</a> (Display *displayLocation, IplImage *subImage, int searchMethod, int tolerance)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Move the mouse based on center location of an image. <ahref="#a72f049ae7ade76344e47d01ba451e8f1"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#acdcc9eb1e6633458ebb6ec0c7b57ba26">xte_hoverMouseImage_location_center</a> (Display *displayLocation, const char *fileName, int searchMethod, int tolerance)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Move the mouse based on the center location of an image from file. <ahref="#acdcc9eb1e6633458ebb6ec0c7b57ba26"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#acca8cce58009ce177265bea29e8223e8">xte_mouseDown</a> (Display *displayLocation, int mouseButton)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Press a mouse button down, and do not release it. <ahref="#acca8cce58009ce177265bea29e8223e8"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#a317610586ac31c5c501290099b7ebf63">xte_mouseUp</a> (Display *displayLocation, int mouseButton)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Release a mouse button. <ahref="#a317610586ac31c5c501290099b7ebf63"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Press and release a keyboard key. <ahref="#aa5d0f5167ac455ac88d063450b8aaac6"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Input a string of characters to the X Server. <ahref="#a1411973d9245ac1d610988a965ceb5a7"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Press a key down, but do not release it. <ahref="#ad1d7153af9ed5cb2ba3b6d2a89c4ec75"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#abfbad79445cce59c95940649210f1b31">xte_waitForImage</a> (Display *displayLocation, IplImage *subImage, int searchMethod, int tolerance, int timeout)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wait for an image to show up on screen. <ahref="#abfbad79445cce59c95940649210f1b31"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#a3f474b9f3ae44e2fcf8997a2a806139e">xte_waitForImage_location</a> (Display *displayLocation, const char *fileName, int searchMethod, int tolerance, int timeout)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wait for an image from file to show up on screen. <ahref="#a3f474b9f3ae44e2fcf8997a2a806139e"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#a6c246fab2cf1e45eb11f519d805e0fb2">xte_waitForImage_center</a> (Display *displayLocation, IplImage *subImage, int searchMethod, int tolerance, int timeout)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wait for an image to show up on screen, return the center point. <ahref="#a6c246fab2cf1e45eb11f519d805e0fb2"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#ac95300b7c9f5310967e8ffe793c9c8e9">xte_waitForImage_location_center</a> (Display *displayLocation, const char *fileName, int searchMethod, int tolerance, int timeout)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wait for an image from file to show up on screen, return the center point. <ahref="#ac95300b7c9f5310967e8ffe793c9c8e9"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="structcvaPoint.html">cvaPoint</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="libcvautomation-xtest_8h.html#a7ea1430ed90d3166f8d9fbb4e240a28f">xte_commandString</a> (Display *displayLocation, char *commandString, int mouseButton, int searchMethod, int tolerance, int timeout)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Execute a command where the command is coming from a string. <ahref="#a7ea1430ed90d3166f8d9fbb4e240a28f"></a><br/></td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd><aclass="el"href="structcvaPoint.html"title="Very simple structure to standardize how points are used in libcvautomation.">cvaPoint</a> with the current location of the mouse </dd></dl>
<aclass="anchor"id="a808386f36914966032aa2e15fd5ef60b"></a><!-- doxytag: member="libcvautomation-xtest.h::xte_clickMouseXY" ref="a808386f36914966032aa2e15fd5ef60b" args="(Display *displayLocation, int xLocation, int yLocation, int mouseButton)" -->
<aclass="anchor"id="a54df9f6d2278b6c840299f1f8ff94576"></a><!-- doxytag: member="libcvautomation-xtest.h::xte_clickMouseRXY" ref="a54df9f6d2278b6c840299f1f8ff94576" args="(Display *displayLocation, int xIncrement, int yIncrement, int mouseButton)" -->
<aclass="anchor"id="afa808d82bff7531af99d20b5397f4810"></a><!-- doxytag: member="libcvautomation-xtest.h::xte_clickMouseImage" ref="afa808d82bff7531af99d20b5397f4810" args="(Display *displayLocation, IplImage *subImage, int mouseButton, int searchMethod, int tolerance)" -->
<p>Click the mouse based on location of an image. </p>
<p>Wraps grabbing the X11 root window of <code>displayLocation</code>, finding <code>subImage</code> in this display, moving the mouse to that location, and then clicking <code>mouseButton</code>. The return value can be ignored, the mouse will already have been clicked there. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to click the mouse on </td></tr>
<tr><tdclass="paramname">subImage</td><td>The sub image (in IplImage format) to find in the root X11 window </td></tr>
<tr><tdclass="paramname">mouseButton</td><td>The mouse button to click </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code> in the root X11 window </td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for <code>subImage</code> in the root X11 window </td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The location of where the mouse was clicked. This will be (-1,-1) if there was an error, in which case the mouse will not have been clicked. </dd></dl>
<p>Click the mouse based on the location of an image from file. </p>
<p>Wraps grabbing the X11 root window of <code>displayLocation</code>, finding the sub image from <code>fileName</code> in this display, moving the mouse to that location, and then clicking <code>mouseButton</code>. The return value can be ignored, the mouse will already have been clicked there. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to click the mouse on </td></tr>
<tr><tdclass="paramname">fileName</td><td>The file name from which to load the sub-image </td></tr>
<tr><tdclass="paramname">mouseButton</td><td>The mouse button to click </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for the sub image in the root X11 window </td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for the sub image in the root X11 window </td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The location of where the mouse was clicked. This will be (-1,-1) if there was an error, in which case the mouse will not have been clicked. </dd></dl>
<aclass="anchor"id="aa167cd70fe8284dbccbbd42cd4878b3e"></a><!-- doxytag: member="libcvautomation-xtest.h::xte_clickMouseImage_center" ref="aa167cd70fe8284dbccbbd42cd4878b3e" args="(Display *displayLocation, IplImage *subImage, int mouseButton, int searchMethod, int tolerance)" -->
<p>Click the mouse based on center location of an image. </p>
<p>Wraps grabbing the X11 root window of <code>displayLocation</code>, finding the center of <code>subImage</code> in this display, moving the mouse to that location, and then clicking <code>mouseButton</code>. The return value can be ignored, the mouse will already have been clicked there. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to click the mouse on </td></tr>
<tr><tdclass="paramname">subImage</td><td>The sub image (in IplImage format) to find in the root X11 window </td></tr>
<tr><tdclass="paramname">mouseButton</td><td>The mouse button to click </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code> in the root X11 window </td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for <code>subImage</code> in the root X11 window </td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The location of where the mouse was clicked. This will be (-1,-1) if there was an error, in which case the mouse will not have been clicked. </dd></dl>
<p>Click the mouse based on the center location of an image from file. </p>
<p>Wraps grabbing the X11 root window of <code>displayLocation</code>, finding the center location of the sub image from <code>fileName</code> in this display, moving the mouse to that location, and then clicking <code>mouseButton</code>. The return value can be ignored, the mouse will already have been clicked there. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to click the mouse on </td></tr>
<tr><tdclass="paramname">fileName</td><td>The file name from which to load the sub-image </td></tr>
<tr><tdclass="paramname">mouseButton</td><td>The mouse button to click </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for the sub image in the root X11 window </td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for the sub image in the root X11 window </td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The location of where the mouse was clicked. This will be (-1,-1) if there was an error, in which case the mouse will not have been clicked. </dd></dl>
<p>Move the mouse based on location of an image. </p>
<p>Wraps grabbing the X11 root window of <code>displayLocation</code>, finding <code>subImage</code> in this display, and then moving the mouse to that location. The return value can be ignored, the mouse will already have been moved there. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to move the mouse on </td></tr>
<tr><tdclass="paramname">subImage</td><td>The sub image (in IplImage format) to find in the root X11 window </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code> in the root X11 window </td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for <code>subImage</code> in the root X11 window </td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The location of where the mouse was moved. This will be (-1,-1) if there was an error, in which case the mouse will not have been moved. </dd></dl>
<p>Move the mouse based on location of an image from file. </p>
<p>Wraps grabbing the X11 root window of <code>displayLocation</code>, finding the sub image from <code>fileName</code> in this display, and then moving the mouse to that location. The return value can be ignored, the mouse will already have been moved there. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to move the mouse on </td></tr>
<tr><tdclass="paramname">filename</td><td>The file name from which to load the sub-image </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for the sub image in the root X11 window </td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for the sub image in the root X11 window </td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The location of where the mouse was moved. This will be (-1,-1) if there was an error, in which case the mouse will not have been moved. </dd></dl>
<p>Move the mouse based on center location of an image. </p>
<p>Wraps grabbing the X11 root window of <code>displayLocation</code>, finding the center of <code>subImage</code> in this display, and then moving the mouse to that location. The return value can be ignored, the mouse will already have been moved there. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to move the mouse on </td></tr>
<tr><tdclass="paramname">subImage</td><td>The sub image (in IplImage format) to find in the root X11 window </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code> in the root X11 window </td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for <code>subImage</code> in the root X11 window </td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The location of where the mouse was moved. This will be (-1,-1) if there was an error, in which case the mouse will not have been moved. </dd></dl>
<p>Move the mouse based on the center location of an image from file. </p>
<p>Wraps grabbing the X11 root window of <code>displayLocation</code>, finding the center location of the sub image from <code>fileName</code> in this display, and then moving the mouse to that location. The return value can be ignored, the mouse will already have been moved there. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to move the mouse on </td></tr>
<tr><tdclass="paramname">fileName</td><td>The file name from which to load the sub-image </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for the sub image in the root X11 window </td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for the sub image in the root X11 window </td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The location of where the mouse was moved. This will be (-1,-1) if there was an error, in which case the mouse will not have been moved. </dd></dl>
<p>This method allows you to press and release a key, where the key may be <code>'a'</code>, <code>'b'</code>, or maybe something fancy like <code>'space'</code>. Please see <aclass="el"href="xtest_key_strings.html">XTest Key Strings</a> for a full list of keys. </p>
<p>Input a string of characters to the X Server. </p>
<p>Instead of specifying a single character to enter at a time (<code>'a'</code>, <code>'space'</code>) this function allows you to enter an entire string (<code>'Hello</code>, World!') at a time. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to enter a key string on </td></tr>
<tr><tdclass="paramname">string</td><td>The key string to input to the X Server </td></tr>
<p>This method allows you to push down a key, where the key may be <code>'a'</code>, <code>'b'</code>, or maybe something fancy like <code>'space'</code>. Please see <aclass="el"href="xtest_key_strings.html">XTest Key Strings</a> for a full list of keys. </p>
<p>This method allows you to release a key, where the key may be <code>'a'</code>, <code>'b'</code>, or maybe something fancy like <code>'space'</code>. Please see <aclass="el"href="xtest_key_strings.html">XTest Key Strings</a> for a full list of keys. </p>
<aclass="anchor"id="abfbad79445cce59c95940649210f1b31"></a><!-- doxytag: member="libcvautomation-xtest.h::xte_waitForImage" ref="abfbad79445cce59c95940649210f1b31" args="(Display *displayLocation, IplImage *subImage, int searchMethod, int tolerance, int timeout)" -->
<p>This method allows you to search for an image on screen and wait for it to show up - this way you can make sure an image exists, and then respond to it. Also makes error checking easy. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to search for an image </td></tr>
<tr><tdclass="paramname">subImage</td><td>The sub image to search for </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code></td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for <code>tolerance</code></td></tr>
<tr><tdclass="paramname">timeout</td><td>The time (in seconds) to search for the image </td></tr>
<p>Wait for an image from file to show up on screen. </p>
<p>This method allows you to search for an image on screen and wait for it to show up - this way you can make sure an image exists, and then respond to it. Also makes error checking easy. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to search for an image </td></tr>
<tr><tdclass="paramname">fileName</td><td>The file to load an image from before searching </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code></td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for <code>tolerance</code></td></tr>
<tr><tdclass="paramname">timeout</td><td>The time (in seconds) to search for the image </td></tr>
<aclass="anchor"id="a6c246fab2cf1e45eb11f519d805e0fb2"></a><!-- doxytag: member="libcvautomation-xtest.h::xte_waitForImage_center" ref="a6c246fab2cf1e45eb11f519d805e0fb2" args="(Display *displayLocation, IplImage *subImage, int searchMethod, int tolerance, int timeout)" -->
<p>Wait for an image to show up on screen, return the center point. </p>
<p>This method allows you to search for an image on screen and wait for it to show up - this way you can make sure an image exists, and then respond to it. Also makes error checking easy. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to search for an image </td></tr>
<tr><tdclass="paramname">subImage</td><td>The sub image to search for </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code></td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for <code>tolerance</code></td></tr>
<tr><tdclass="paramname">timeout</td><td>The time (in seconds) to search for the image </td></tr>
<p>Wait for an image from file to show up on screen, return the center point. </p>
<p>This method allows you to search for an image on screen and wait for it to show up - this way you can make sure an image exists, and then respond to it. Also makes error checking easy. </p>
<dlclass="params"><dt><b>Parameters:</b></dt><dd>
<tableclass="params">
<tr><tdclass="paramname">displayLocation</td><td>The Display of which to search for an image </td></tr>
<tr><tdclass="paramname">fileName</td><td>The file to load an image from before searching </td></tr>
<tr><tdclass="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code></td></tr>
<tr><tdclass="paramname">tolerance</td><td>The tolerance to use when searching for <code>tolerance</code></td></tr>
<tr><tdclass="paramname">timeout</td><td>The time (in seconds) to search for the image </td></tr>
<aclass="anchor"id="a7ea1430ed90d3166f8d9fbb4e240a28f"></a><!-- doxytag: member="libcvautomation-xtest.h::xte_commandString" ref="a7ea1430ed90d3166f8d9fbb4e240a28f" args="(Display *displayLocation, char *commandString, int mouseButton, int searchMethod, int tolerance, int timeout)" -->
<p>This function allows you to input a command to libcvautomation from a string. For example, to click a mouse button, you would use the <code>command</code> 'mouseclick'. Please note that some <code>command</code>s may need arguments to the string, and some may use function arguments. See <aclass="el"href="xtest_command_strings.html">xte_commandString() Command Strings</a> for a full list of command and arguments </p>
<tr><tdclass="paramname">timeout</td><td>The time in seconds to wait for an image to be displayed when using the <code>waitfor</code> command. </td></tr>