[RC3] Env.addHotkey with special characters does not work

Asked by Wei

Hello everybody

When I use special characters with Env.addHotkey, it doesn't works.(On Windows 7 32)

This is my script:

def click28(event): click("28.png")
def click32(event): click("32.png")
def click35(event): click("35.png")
def click37(event): click("37.png")
def click39(event): click("39.png")
Env.addHotkey(",",0,click28)
Env.addHotkey(".",0,click32)
Env.addHotkey(";",0,click35)
Env.addHotkey("/",0,click37)
Env.addHotkey("-",0,click39)

only these 5 characters don't work fine

Could somebody give me a help?

Thanks a lot!

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Wei (winxp6952009) said :
#2

By the way, these characters are on left side of the keyboard. not on numpad.
I also tried to replace "-" to "key.MINUS"; "/" to "key.DIVIDE" but it still didn't work.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

what version of Sikuli?

Revision history for this message
Wei (winxp6952009) said :
#4

Hello RaiMan

My Sikuli version is X-1.0rc3 (r930) on 32bit

Revision history for this message
RaiMan (raimund-hocke) said :
#5

Sorry, but I do not support RC3 any longer for such system specific things special things.

I will check, wether this works with 1.0.1+ the next days.

Can you help with this problem?

Provide an answer of your own, or ask Wei for more information if necessary.

To post a message you must log in.