Difference between revisions of "AutoIT Notes"

From PeformIQ Upgrade
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
* http://www.autoitscript.com/autoit3/docs/functions/Run.htm
* http://www.autoitscript.com/autoit3/docs/functions/Run.htm
* http://www.brunningonline.net/simon/blog/archives/winGuiAuto.py.html
* http://www.brunningonline.net/simon/blog/archives/winGuiAuto.py.html
* https://code.google.com/p/authoitkey/


=AutoIT Links=
=AutoIT Links=


*
* http://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm
* http://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm
* http://www.autoitscript.com/autoit3/docs/functions/Send.htm
* http://www.autoitscript.com/autoit3/docs/functions/Send.htm
* http://www.autoitscript.com/autoit3/docs/intro/windowsadvanced.htm
* http://www.autoitscript.com/autoit3/docs/intro/windowsadvanced.htm
* http://www.autoitscript.com/autoit3/docs/functions/AutoItSetOption.htm
* http://www.autoitscript.com/autoit3/docs/functions/AutoItSetOption.htm
 
* http://www.autoitscript.com/autoit3/docs/functions/WinClose.htm
* http://www.autoitscript.com/autoit3/docs/functions/WinSetState.htm
* http://www.autoitscript.com/autoit3/docs/functions/WinWaitActive.htm
* http://www.autoit.de/dokumentation_aktuell/intro/ComRef.htm
* http://www.autoitscript.com/autoit3/docs/


=Accessing from Python=
=Accessing from Python=

Latest revision as of 08:02, 13 March 2013

Useful Links


AutoIT Links

Accessing from Python

If you want just run the autoit script then use os.system or os.popen and take a look at this page Running Scripts. If you want to call autoit methods from your python script then:

  1. ) Register AutoItX3.dll in your system regsvr32 AutoItX3.dll
  2. ) Install PyWin32
  3. ) Use autoit from your code as follows:
import win32com.client

autoit = win32com.client.Dispatch("AutoItX3.Control")

autoit.AnyAutoitMethod()

Notes

Also see notes on Python WMI