windows - Send left square bracket using autoit -
i have plugged mac french keyboard onto windows.
i have left bracket key work normally, meaning when typing alt+shift+(, left hand side modifiers.
i have following code :
hotkeyset("!+{(}", "leftbracket") func leftbracket() send("{asc 91}") endfunc
but doesn't work.
when replace hotkey "!a"
, works. when replace send("{asc 91}")
send("a")
sends a
correctly.
but seems not work when have code above.
you need use 1 of these possibilities. ( needs shift key :-)
hotkeyset("!{(}", "leftbracket") hotkeyset("!+{9}", "leftbracket1") while 1 sleep(1000) wend func leftbracket() send("{asc 91}" & 'huhu') endfunc func leftbracket1() send("{asc 91}" & 'bla') endfunc
Comments
Post a Comment