cancel
Showing results for 
Search instead for 
Did you mean: 

Window press Keys

SamLima
Level 7
34291.png
What is Windo Press Keys? how to use and what to put in text input?


------------------------------
Sam Lima
------------------------------
1 BEST ANSWER

Best Answers

Hi @SamLima,

Windows Press Key actions basically send keypresses to the given window and care must sometimes be taken to direct the keypresses to the correct window. However, as per my prior experience as well we can only send text with it but no special key commands like CTRL or SHIFT etc. It must be using some Windows technology at the backend and can be used at times since it works on Windows level but we generally go with GSK (Global Send Keys) or GSKE (Global Send Key Events) actions most of the time.

------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please provide a big thumbs up so that the others members in the community having similar problem statement can track the answer easily in future.

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------

View answer in original post

3 REPLIES 3

Hi @SamLima,

Windows Press Key actions basically send keypresses to the given window and care must sometimes be taken to direct the keypresses to the correct window. However, as per my prior experience as well we can only send text with it but no special key commands like CTRL or SHIFT etc. It must be using some Windows technology at the backend and can be used at times since it works on Windows level but we generally go with GSK (Global Send Keys) or GSKE (Global Send Key Events) actions most of the time.

------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please provide a big thumbs up so that the others members in the community having similar problem statement can track the answer easily in future.

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------

Thanks @devneetmohanty07Could you please give me an example of where you use it?


------------------------------
Sam Lima
------------------------------

Hi Sam,

For example case, I have considered the simple notepad application and I have spied the internal text editor window with 'Win32' spying mode and as you can see from the below screenshot I am using the 'Window Press Keys' action with the text as "HELLO" :

Application Modeller Settings:

34288.png

Workflow Execution:


34289.png

So ideally wherever any element can be identified using 'Win32' spying mode, there you can use this functionality.

------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please provide a big thumbs up so that the others members in the community having similar problem statement can track the answer easily in future.

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------