How to send the keystrokes such as Alt +E+A+B, tried to send the keys using type into while working with, Alt the button is not getting released after the process is closed. Also tried to send Alt+E but not able to send the rest of the Key strokes, is there any way to send all the key strokes at a time.
Any suggestion will helpful.
You have a few options depending on how you want to pass along the special keys. As referenced by @Sebax in the Question's comments and @Mads T's answer I thought it would be good to go into more details.
When using Type Into activity, you have three methods depending on your needs
[k(enter)]
)[k(enter)]
)[k(enter)]
), in this case, you'll want to pair it with the Send Hotkey
activity.Special Key Strings
I've seen mention of
k
,d
, andu
in the UiPath Forums here and there, but have not seen official documentation that explains the modifiers or lists out the available special characters asides from looking at theSend Hotkey
dropdown list.
Special Key examples
"Hello[k(enter)"
will type out "Hello
" followed by a carriage return."[d(alt)]efun[u(alt)]Hello[k(enter)k(esc)]"
would
Alt
keye
, f
, u
, and n
Alt
KeyHello
Enter
keyEsc
keySend Hotkey
The send hotkey is pretty straightforward. Indicate the key(s) you want to send and if needed check the key modifiers (Alt
, Ctrl
, Shift
, Win
). If the key you are sending is a special key (e.g. Enter
), then you'll also want to enable the SpecialKey
property of the activity.
Send Hotkey can use the Default
or SendWindowMessages
inputs.
References: