sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04705
Re: [Question #168453]: Pass variable name to run
Question #168453 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/168453
Status: Open => Answered
RaiMan proposed the following answer:
run('c:\\..\\notepad.exe' + filename)
or
run('c:\\..\\notepad.exe %s' % filename)
creates the string based on the CONTENT of filename.
tip: use
r"some text that contains \ backslash"
and you do nor teed to double the \
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.