Question


Accenture Solutions Pvt Ltd
IN
Last activity: 6 Nov 2018 20:02 EST
How to Implement HotKey in Pega Robotics(OpenSpan)
Hi,
I would like to know if there is any way to perform Hotkeys (E.g.: "Alt + F4" or "Win+ R" etc.) though automation in OpenSpan. Please provide any approach & example to proceed.
Regards,
Pravallika.


Standard Chartered Global Business Services
IN


Accenture Solutions Pvt Ltd
IN
I am unable to find MenuStrip in toolbox ,could you please provide screenshot on where to find & how to use.


Standard Chartered Global Business Services
IN
Menu strip can be seen once you have a windows form or application bar.
Add a windows form (or application bar)
Go to Toolbox -> Menus and Toolbars -> MenuStrip
Add Menu Items and could then find the ShortcutKeys under Misc section.


Accenture Solutions Pvt Ltd
IN
Yes i am able to find but how does this things help us without the use of windows form how to perform hotkeys,also i didnt find Win+R


Standard Chartered Global Business Services
IN
Can you provide some more details on the requirements using Shortcut Keys in the automation?


Accenture Solutions Pvt Ltd
IN
My requirement is I want to open commandprompt through Win+R ->Cmd through automation
Accepted Solution
Well, You can't send a win R to Windows.
But You can attach to command Prompt through text adapters.


Accenture Solutions Pvt Ltd
IN
Thanks for providing the solution
The menu items in the MenuStrip (Toolbox -> Menus and Toolbars -> MenuStrip) contains the Shortcut Keys (Properties -> 'Misc' section) that could be custom defined. Hope that helps.