Difference between revisions of "AutoIT Notes"

From PeformIQ Upgrade
Jump to navigation Jump to search
Line 4: Line 4:
* 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
8 http://www.autoitscript.com/autoit3/docs/intro/running.htm
* http://www.autoitscript.com/autoit3/docs/intro/running.htm
* http://www.autoitscript.com/autoit3/docs/functions/Run.htm
 


=Accessing from Python==
=Accessing from Python==

Revision as of 09:53, 19 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