Force correct (right or left) shift key
-
- Posts: 2
- Joined: 19 Aug 2017, 11:34
Force correct (right or left) shift key
My daughter often uses the wrong shift key (for example, using the left shift key when typing capital F or dollar sign). I'd like to write a script that will force the correct shift key. It seems that one way to do this would be to just create a wildcard modifier hotkey for every key, and then use GetKeyState and if-statements to differentiate between the different cases. This would be tedious, however. I was wondering if there was a better way to do this.
- AlphaBravo
- Posts: 586
- Joined: 29 Sep 2013, 22:59
Re: Force correct (right or left) shift key
repeat for each key / wrong shift combo
Edit:
or maybe something like
Code: Select all
LShift & f::
LShift & 5::
return
Edit:
or maybe something like
Code: Select all
for k, v in StrSplit("qazwsedcrfv``12345")
Hotkey, LShift & %v%, nothing
for k, v in StrSplit("tgbyhnujmik,ol.p;/[']\67890-=")
Hotkey, RShift & %v%, nothing
return
nothing:
return
-
- Posts: 2
- Joined: 19 Aug 2017, 11:34
Re: Force correct (right or left) shift key
Excellent, the second suggestion seems to working fine. Thank you!
Who is online
Users browsing this forum: Bing [Bot], gabelynn1 and 334 guests