sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51678
Re: [Question #680777]: [1.1.4]How to print Key.ENTER name?
Question #680777 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680777
Status: Open => Answered
RaiMan proposed the following answer:
The only solution I can offer:
def RecordLog(KEY):
type(KEY)
KEYname = Key.toJavaKeyCodeText(KEY)
Log = "path-to-LogFile"
os.system('echo type(%s) >>%s' % (KEYname, Log))
Key.XXX are internal non-printable binary codes
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.