Jump to content

Shift hotkey failing w/ SendCapslockMode


Glyph
 Share

Recommended Posts

Opt("SendCapslockMode", 0)

HotKeySet("a", "firsthotkey")
HotKeySet("+1", "secondhotkey")
HotKeySet("1", "thirdhotkey")

While 1
    Sleep (1000)
WEnd

Func firsthotkey()
    HotKeySet("a")
    Send("a")
    HotKeySet("a",  "firsthotkey")
EndFunc


Func secondhotkey()
    HotKeySet("+1")
    Send("{!}")
    HotKeySet("+1", "secondhotkey")
EndFunc

Func thirdhotkey()
    HotKeySet("1")
    Send("1")
    HotKeySet("1", "thirdhotkey")
EndFunc

You can press shift+a or press caps lock+a and it'll type capital a's with no problem.

But, when I try shift+1 "!" it will only send it once, then start typing ones...

It only does this with capslockmode option, but I need capslockmode.

I also tried _ispressed, but it doesn't work properly. :/

I see it's ignoring the shiftdown after you tap it once, I cant get it to stay on the function when you keep pressing it...

Thanks for reading, hope you can help!

Edited by BackStabbed

tolle indicium

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...