Gabriel Genellina
2008-03-17 12:48:40 UTC
i have a problem with this modules py2exe + pywinauto + sendkeys used
together.
In my script i'm using this expression
app.window_(title="SJphone").Edit.TypeKeys("Test is
running",with_spaces=True)
TypeKeys is using SendKeys module i suppose.
Does it work as a normal script, without using py2exe?together.
In my script i'm using this expression
app.window_(title="SJphone").Edit.TypeKeys("Test is
running",with_spaces=True)
TypeKeys is using SendKeys module i suppose.
from distutils.core import setup
import py2exe
setup(
options = {"py2exe": {"compressed": 1,
"optimize": 0,
"bundle_files": 1,
"packages": ["encodings", "pywinauto",
"pywinauto.controls", "pywinauto.tests"] } },
zipfile = None,
console=["hosts.py"]
)
Perhaps you have to include SendKeys explicitely. I think pywinautoimport py2exe
setup(
options = {"py2exe": {"compressed": 1,
"optimize": 0,
"bundle_files": 1,
"packages": ["encodings", "pywinauto",
"pywinauto.controls", "pywinauto.tests"] } },
zipfile = None,
console=["hosts.py"]
)
doesn't require SendKeys, but uses it if already installed.
--
Gabriel Genellina
Gabriel Genellina