I need some of a something to be imported into python<br><br><br>these are the functions I need, anyway know anything that might do any of the following?<br><br>Eg:<br><br>suppose the class&#39; name is autowindow:<br><br>
<br><span style="font-weight: bold;">autowindow.gainfocus(handle)</span><br>put the window of that handle into focus.<br><br><br><span style="font-weight: bold;">import autowindow</span><br><br><br><span style="font-weight: bold;">
autowindow.imagechecksum()</span><br><br>autowindow.imagechecksum(&quot;c:\image\image.bmp&quot;)<br><br><br><span style="font-weight: bold;">autowindow.areachecksum()</span><br><br>sum = autowindow.areachecksum(x1,y1,x2,y2) absolute screen coordinate
<br><br style="font-weight: bold;"><span style="font-weight: bold;">autowindow.getmousepos()</span><br><br>pos = autowindow.getmousepos()<br>pos = {x, y}<br><br><br><span style="font-weight: bold;">autowindow.restart()</span>
<br><br>reboot computer<br><br><span style="font-weight: bold;">autowindow.shutdown()</span><br><br>shutdown computer<br><br><span style="font-weight: bold;">autowindow.winexist()</span><br><br><span style="font-weight: bold;">
true/false = autowindow.winexist()</span><br>handle or window name. (no class wanted!)<br><br><br><span style="font-weight: bold;">autowindow.listwindows()</span><br><br>autowindow.listwindows(&quot;window name&quot;)<br>
returns a list of handles if multiple window of the same name.<br><br><span style="font-weight: bold;">autowindow.GainFocus()</span><br><br>autowindow.GainFocus()<br>window name or handle<br><br><span style="font-weight: bold;">
autowindow.KeyboardEvent(text)</span><br><br>autowindow.KeyboardEvent(&quot;Python rocks!&quot;, keyholddelay )<br>keyholddelay = miliseconds.<br><br style="font-weight: bold;"><span style="font-weight: bold;">autowindow.mouseclick
(button, clicks)</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">autowindow.MouseEvent(x, y, button, clicks)</span><br><br><span style="font-weight: bold;">autowindow.mousemove
()</span><br><br><span style="font-weight: bold;">autowindow.mousemove(x,y, speed)</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">autowindow.winMove(x, y)</span><br style="font-weight: bold;">
<span style="font-weight: bold;">autowindow.winResize(x, y)</span><br style="font-weight: bold;"><span style="font-weight: bold;">autowindow.winMinimize()</span><br style="font-weight: bold;"><span style="font-weight: bold;">
autowindow.winMaximize()</span><br style="font-weight: bold;"><span style="font-weight: bold;">autowindow.winClose()</span><br style="font-weight: bold;"><br>they all take handle<br><br style="font-weight: bold;"><span style="font-weight: bold;">
autowindow.listwindows()</span><br><br>autowindow.listwindows(&quot;window name&quot;)<br>returns a list of handles if multiple<br><br><span style="font-weight: bold;">autowindow.hotkey()</span><br><br>autowindow.hotkey(keyboard key, function)
<br>keyboard key = any key on keyboard<br>function = function to start<br><br><br><span style="font-weight: bold;">auntwindow.run ( /source/exe.exe, &quot;image.bmp&quot; )</span><br><br style="font-weight: bold;"><span style="font-weight: bold;">
autowindow.msgbox(&quot;window name&quot;, &quot;window message&quot;, box_number )</span><br><br>box_number = 1, 2, 3<br><br><br>OK = 1<br>OK + Cancel = 2<br>Yes + No = 3<br><br>return = autowindow.msgbox(&quot;window name&quot;, &quot;window message&quot;, box_number )
<br><br>return ok = 1<br>cancel = 2<br>yes = 3<br>no = 4<br><br>