Difference between revisions of "AutoIT Notes"

From PeformIQ Upgrade
Jump to navigation Jump to search
Line 8: Line 8:
* http://www.brunningonline.net/simon/blog/archives/winGuiAuto.py.html
* http://www.brunningonline.net/simon/blog/archives/winGuiAuto.py.html


=Accessing from Python==
=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:
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:
Line 28: Line 28:
* http://blogs.mcafee.com/mcafee-labs/autoit-and-malware-whats-the-connection
* http://blogs.mcafee.com/mcafee-labs/autoit-and-malware-whats-the-connection


Also see notes on [Python WMI]


[[Category:AutoIT]]
[[Category:AutoIT]]

Revision as of 14:26, 21 February 2013

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]