The setup.py for AutoIt Library does some “magic” to make the keywords from the DLL visible to Python. If you re-install AutoIt Library you should get these. If you’re interested in “magic”, here’s the relevant code:
#
# Install the 3rd party packages
#
if sys.argv[1].lower() == "install" :
if os.name == "nt" :
#
# Install and register AutoItX
#
instDir = os.path.normpath(os.path.join(get_python_lib(), "AutoItLibrary/lib"))
if not os.path.isdir(instDir) :
os.makedirs(instDir)
instFile = os.path.normpath(os.path.join(instDir, "AutoItX3.dll"))
shutil.copyfile("3rdPartyTools/AutoIt/AutoItX3.dll", instFile)
#
# Register the AutoItX COM object
# and make its methods known to Python
#
cmd = os.path.abspath(os.path.join(os.getenv("SYSTEMROOT"), "system32/regsvr32.exe"))
print "Running '%s /S %s' to register AutoItX3.dll" % (cmd, instFile)
Elevate.RunCommandAsAdminAndWait(60, cmd, "/S "+instFile)
#
# Make sure we have win32com installed
#
makepy = os.path.normpath(os.path.join(get_python_lib(), "win32com/client/makepy.py"))
if not os.path.isfile(makepy) :
print "AutoItLibrary requires win32com. See http://starship.python.net/crew/mhammond/win32/."
sys.exit(2)
cmd = "python %s %s" % (makepy, instFile)
print "Running '%s' to make Python aware of AutoItX3.dll" % cmd
subprocess.check_call(cmd, stderr=subprocess.STDOUT)
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
robotframework-u...@googlegroups.com.
To post to this group, send email to
robotframe...@googlegroups.com.
Visit this group at
https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.