Re:Check for caps lock keys pressed
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-12-19 07:11 AM
Hi Developers,
Is there any method to verify if "Caps Lock" is pressed on the resource keyboard,
I just encountered this problem when process page came to "Enter Credential stage".there are global send keys to press or depress the caps lock but in both cases verification is required if Caps Lock Is pressed I suppose.
Regards
Gaurav
.
------------------------------
Gaurav Dhiman
------------------------------
Is there any method to verify if "Caps Lock" is pressed on the resource keyboard,
I just encountered this problem when process page came to "Enter Credential stage".there are global send keys to press or depress the caps lock but in both cases verification is required if Caps Lock Is pressed I suppose.
Regards
Gaurav
------------------------------
Gaurav Dhiman
------------------------------
Gaurav Dhiman
RPA developer,ROM Architect
Melbourne,VIC,Australia
0413 930 960
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-12-19 01:22 PM
Hi Gaurav,
You can spy that message. Use wait stage to identify it, then you can perform the related actions based on the output of wait stage.
But specifically there are no inbuilt actions to verify your problem.
------------------------------
Manoj Dhamrala
------------------------------
You can spy that message. Use wait stage to identify it, then you can perform the related actions based on the output of wait stage.
But specifically there are no inbuilt actions to verify your problem.
------------------------------
Manoj Dhamrala
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-01-20 11:38 PM
Thanks Manoj
------------------------------
Gaurav Dhiman
------------------------------
------------------------------
Gaurav Dhiman
------------------------------
Gaurav Dhiman
RPA developer,ROM Architect
Melbourne,VIC,Australia
0413 930 960

Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-01-20 06:06 AM
Hi, you can try to use the code like this (it perfectly works for Ctrl key):
if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl))
{
// some code
}
else
{
// some code
}
------------------------------
Anton Sauchyk
Senior RPA Analyst
EY
Europe/Minsk
------------------------------
if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl))
{
// some code
}
else
{
// some code
}
------------------------------
Anton Sauchyk
Senior RPA Analyst
EY
Europe/Minsk
------------------------------
