← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #284366]: what is the difference between Key.CTRL and KeyModifier.CTRL

 

Question #284366 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/284366

    Status: Open => Answered

masuo proposed the following answer:
Key.CTRL is a character code.
KeyModifier.CTRL is a integer value.

[example code for understanding by Python:]
a = []
a.append(Key.CTRL)
a.append(KeyModifier.CTRL)
print a

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.