I'm using Python to call AutoIt functions, but some functions don't work. Is there a reason for this? If so, can I fix it?
from win32com.client import Dispatch
Auto = Dispatch("AutoItX3.Control")
def autoTest():
print Auto.MsgBox('')
When I run it I get this error:
line 516, in __getattr__
raise AttributeError("%s.%s" % (self._username_, attr))
AttributeError: AutoItX3.Control.MsgBox
It seems like it's reading 'MsgBox' as an attribute and not a function. Any thoughts?