Using variable for "Key" in Send HotKey activity


#1

Is there any way in which we can use a variable for the “Key” option in Send HotKey activity?
eg: Send HotKey could be set to ALT + strKey with value of strKey=“OS”

strKey should be defined as a variable and the value for this key should be populated at run time.

After trying the above option the characters in the variable name ie ‘s t r…’ are considered as the key value by UiPath. Instead the value of variable “OS” should be used as the key. How to implement this?


Typing on validated text box
#2

Hi,
Did you Try “TypeInto” Activity.


#3

This requirement is for a DOS based application for selection of different Menu’s based on program logic.


#4

Try this

variableHotKey.xaml (6.1 KB)


#5

:thumbsup: