sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37618
Re: [Question #289066]: Variable values not carrying over to functions called from separate scripts
Question #289066 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/289066
RaiMan proposed the following answer:
#comment #4
you can use Python features to read the content of the external file into a variable and the use paste() to get it into the text field.
principally (not tested)
extFile = open(absPathToFile)
content = extFile.read()
extFile.close()
paste(target, content)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.