OnKey(...) event bug!

31 views
Skip to first unread message

Lithium Lilith

unread,
May 17, 2022, 8:30:52 AM5/17/22
to scite-interest
For "Ctrl+e" OnKey returns 67 code Instead of 69

BugFix@AutoIt

unread,
May 18, 2022, 7:05:52 AM5/18/22
to scite-interest
And that is correct. Why do you expect 69? Do you have a non-standard keyboard?

function OnKey(_keycode, _shift, _ctrl, _alt)
    print('_keycode: '..tostring(_keycode)..', _shift: '..tostring(_shift)..', _ctrl: '..tostring(_ctrl)..', _alt: '..tostring(_alt))
end

output: 
_keycode: 17, _shift: false, _ctrl: true, _alt: false
_keycode: 67, _shift: false, _ctrl: true, _alt: false


Lithium Lilith

unread,
May 23, 2022, 4:31:57 AM5/23/22
to scite-interest
Standard Keyboard. "e" or "Alt+e" or "Shift+e" returns 69 , "Ctrl+e" return 67.

Neil Hodgson

unread,
May 23, 2022, 6:47:31 PM5/23/22
to scite-interest
Lithium Lilith:

> Standard Keyboard. "e" or "Alt+e" or "Shift+e" returns 69 , "Ctrl+e" return 67.

I’m not seeing this on Windows 10. Which operating system are you using and what locale is it set to?

Neil

Lithium Lilith

unread,
May 24, 2022, 5:03:26 AM5/24/22
to scite-interest
Windows XP SP3 cp1251. This problem is only when QTranslate.exe is running. Without a running process, QTranslate works as it should. Beg your pardon.

понедельник, 23 мая 2022 г. в 22:47:31 UTC, Neil Hodgson:
Reply all
Reply to author
Forward
0 new messages