Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sending sequential key strokes
#1
Hello,

Say I wanted to press the shift key 5 times in a row  to activate sticky keys.

Recoding this action in QM results in:

'S{}S{}S{}S{}S{}  ;; Shift Shift Shift Shift Shift

but it does not activate sticky keys.

I even tried putting delays between the key stokes, or using the    key S      command, but neither seems to work

Thanks in advance
#2
OS turns on Sticky Keys only when Shift comes from the physical keyboard.
#3
Thank you Gintaras for the reply. The reason I'm asking is because I'm trying to do a similar action to turn on a specific application that has the hotkey {Left Crtl}{Left Ctrl}{Numpad 2}

I suspect it may also require the physical keyboard, but I'll try to give it a shot .
Is there a specific designation in QM for the LEFT Ctrl button? Or is there no distinction between the left and right ctrl?

Thanks in advance as always
#4
Try
key (VK_LCONTROL)
#5
Thank you!
Is there any way to bypass the physical keyboard using QM code?
#6
QM uses API SendInput, and there are no other ways.
#7
Thank you. Do you know of any other language which allows sending physical key strokes? Or is that something that's not possible by definition?
#8
I don't know. Maybe possible, but for it need to create a driver, and it is beyond my knowledge.
#9
No problem at all. I appreciate your help as always! Have a wonderful weekend


Forum Jump:


Users browsing this thread: 1 Guest(s)