Difference between revisions of "AutoIT Notes"
Jump to navigation
Jump to search
PeterHarding (talk | contribs) |
PeterHarding (talk | contribs) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Useful Links= | |||
* http://motersho.com/blog/index.php/2009/10/20/autoit-command-line-parameters-a-new-approach/ | * http://motersho.com/blog/index.php/2009/10/20/autoit-command-line-parameters-a-new-approach/ | ||
* http://www.zqna.net/qna/khspxr-how-to-run-or-execute-python-file-from-autoit.html | * http://www.zqna.net/qna/khspxr-how-to-run-or-execute-python-file-from-autoit.html | ||
* http://www.adobe.com/cfusion/google/communityengine/index.cfm?postId=11187&productId=4 | * http://www.adobe.com/cfusion/google/communityengine/index.cfm?postId=11187&productId=4 | ||
* http://www.autoitscript.com/autoit3/docs/intro/running.htm | |||
* http://www.autoitscript.com/autoit3/docs/functions/Run.htm | |||
* http://www.brunningonline.net/simon/blog/archives/winGuiAuto.py.html | |||
* https://code.google.com/p/authoitkey/ | |||
=AutoIT Links= | |||
* | |||
* http://www.autoitscript.com/autoit3/docs/appendix/SendKeys.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/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= | |||
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: | |||
#) Register AutoItX3.dll in your system regsvr32 AutoItX3.dll | |||
#) Install PyWin32 | |||
#) Use autoit from your code as follows: | |||
<pre> | |||
import win32com.client | |||
autoit = win32com.client.Dispatch("AutoItX3.Control") | |||
autoit.AnyAutoitMethod() | |||
</pre> | |||
=Notes= | |||
* http://blogs.mcafee.com/mcafee-labs/autoit-and-malware-whats-the-connection | |||
Also see notes on [[Python WMI]] | |||
[[Category:AutoIT]] | [[Category:AutoIT]] |
Latest revision as of 09:02, 13 March 2013
Useful Links
- http://motersho.com/blog/index.php/2009/10/20/autoit-command-line-parameters-a-new-approach/
- http://www.zqna.net/qna/khspxr-how-to-run-or-execute-python-file-from-autoit.html
- http://www.adobe.com/cfusion/google/communityengine/index.cfm?postId=11187&productId=4
- http://www.autoitscript.com/autoit3/docs/intro/running.htm
- http://www.autoitscript.com/autoit3/docs/functions/Run.htm
- http://www.brunningonline.net/simon/blog/archives/winGuiAuto.py.html
- https://code.google.com/p/authoitkey/
AutoIT Links
- http://www.autoitscript.com/autoit3/docs/appendix/SendKeys.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/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
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:
- ) Register AutoItX3.dll in your system regsvr32 AutoItX3.dll
- ) Install PyWin32
- ) 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