cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with sending NumLock via Send Kyes event

MichalPlich2
Level 4

Hi,
I'm trying to send Keys event to the application.
I need to hold down Shift, and during that send "NumLock" and "l" character.
(so it's like: HOLD Shift => HOLD Num => HOLD l  => RELEASE ALL 3)
19794.pngThis is text which I'm using:

"+({NUMLOCK}l)"

But it results with exception:

19795.png
Could you support what's the issue?



------------------------------
Michal Plich
PD
Nordea
Europe/Oslo
------------------------------
1 BEST ANSWER

Helpful Answers

MichalPlich2
Level 4
Just wanted update here, what worked for me was "Global Send Keys" (not Global Send Keys Events) action, and as text parameter i've used:

"+({NUMLOCK}l)"

Thanks guys for your input!



------------------------------
Michal Plich
PD
Nordea
Europe/Oslo
------------------------------

View answer in original post

4 REPLIES 4

Hi Michal

I always forget the correct structure for adding in multiple keystroke actions but if i remember correctly I think the syntax for this would be "<{SHIFT}<{NUMLOCK}l>{NUMLOCK}>{SHIFT}"

------------------------------
Michael ONeil
Technical Lead developer
Everis Consultancy
Europe/London
------------------------------

Thanks Michael,

You're right that my syntax was not correct, and I agree that yours should do the trick, but I'm still receiving the same exception:

Internal : Failed to perform step 1 in Navigate Stage 'Navigate1' on page 'Send keys event' - Unsupported key NUMLOCK

So this is how my action looks now:

19786.png
------------------------------
Michal Plich
PD
Nordea
Europe/Oslo
------------------------------

Just tried and it worked for me mate . Can you check if your window is active and you are sending the key input to the top-most item in your filter tree.

------------------------------
------------------------------
Vipul Tiwari
Senior Process Simplification Developer
Amazon
------------------------------
------------------------------
------------------------------ Vipul Tiwari Senior Process Simplification Developer Amazon ------------------------------

MichalPlich2
Level 4
Just wanted update here, what worked for me was "Global Send Keys" (not Global Send Keys Events) action, and as text parameter i've used:

"+({NUMLOCK}l)"

Thanks guys for your input!



------------------------------
Michal Plich
PD
Nordea
Europe/Oslo
------------------------------