-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSK #326
Comments
Object literals don't allow those sorts of names now. here is the corrected map this.PrettyName := map("PrintScreen", "Prt Scr", "ScrollLock", "Scr Lk", "sc029", "~", "1", "1 !", "2", "2 @", "3", "3 #", "4", "4 $", "5", "5 `%", "6", "6 ^", "7", "7 &&", "8", "8 *", "9", "9 (", "0", "0 )", "-", "- _", "+", "= +", "BS", "←", "PgUp", "Pg Up", "PgDn", "Pg Dn", "q", "Q", "w", "W", "e", "E", "r", "R", "t", "T", "y", "Y", "u", "U", "i", "I", "o", "O", "p", "P", "[", "[ {", "]", "] )", "\", "\ |", "CapsLock", "Caps", "a", "A", "s", "S", "d", "D", "f", "F", "g", "G", "h", "H", "j", "J", "k", "K", "l", "L", "`;", "`; :", "'", "' `"", "LShift", "Shift", "z", "Z", "x", "X", "c", "C", "v", "V", "b", "B", "n", "N", "m", "M", ",", ", <", ".", ". >", "/", "/ ?", "RShift", "Shift", "LCtrl", "Ctrl", "LWin", "Win", "LAlt", "Alt", "Space", " ", "RAlt", "Alt", "RWin", "Win", "AppsKey", "App", "RCtrl", "Ctrl", "Up", "↑", "Down", "↓", "Left", "←", "Right", "→") Here's also the corrected conversion |
Thank you for your help. Previously, I used an LLM to assist with part of the migration of OSK.ahk from v1 to v2. However, I am encountering some errors. When using the physical keyboard's arrow keys to control the virtual keyboard, the selection highlight moves correctly. But when I select a key on the virtual keyboard and press Enter to trigger that key, an error occurs. The LLM does not seem to be able to resolve this issue. Could you please advise me on how to fix it?
https://gist.github.com/daiaji/6dad0919bae73dbad8cd77ba8741dd5d I'm experiencing an error with the modified code you provided. When I press the directional keys on my physical keyboard, I'm getting the following error:
This error indicates that the |
Should be mostly fixed now |
V1:
V2 (Converted):
https://github.com/henrystern/ahk_on_screen_keyboard
The solution provided by autohotkey plus plus is to replace the key names of MAP with the version without double quotes, but some key names that use special symbols seem unable to do so.
The text was updated successfully, but these errors were encountered: