Skip to main content
Press keys on a VM
Wrk Product avatar
Written by Wrk Product
Updated over a week ago

The "Connect and log in to a VM" WrkAction is required in your Wrkflow prior to making use of this desktop RPA WrkAction.

Send key presses to an active desktop session. Refer to the documentation for configuration details.

Application

  • Desktop Automation (RPA)

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Desktop session ID

The unique identifier of the desktop instance. Can be retrieved from "Connect and log in to a VM” Wrk Action.

Text (Short)

Yes

fb9bc380-146c-420e-9130-50ce93614e0

Keys to press

Key presses to send to the desktop session. Press enter after each item is added. Example Shift+A

List of Text (Long)

Yes

SHIFT+A

W R K Enter

See list of key presses in the section below.

Wait after final key press

The number of seconds to wait after the final key press

Number with decimals

No

1

Seconds to wait between key presses

The number of seconds to wait between each key press in the list

Number with decimals

No

1

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Screenshot

File

No

Unsuccessful message

If unsuccessful, a message stating what went wrong

Text (Long)

No

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Unsuccessful

This status is selected if the job has completed unsuccessfully.

Impossible to complete

This status is selected in the event of the following scenario:

  • Unable to connect to the session for some reason

Requirements

  • N/A

Common Key Presses

  • A - Z

  • 0 - 9

  • Space

  • Enter

  • Tab

  • Shift

  • Control

  • Alt

  • Backspace

  • Escape

  • Delete

  • Control+C (Copy)

  • Control+V (Paste)

Use + to combine presses. e.g Control + Tab

Complete list of Key Presses

0

1

2

3

4

5

6

7

8

9

Backspace

Tab

Enter

\r

\n

ShiftLeft

ShiftRight

ControlLeft

ControlRight

AltLeft

AltRight

Pause

CapsLock

Escape

Convert

NonConvert

Space

PageUp

PageDown

End

Numpad0

Numpad1
Numpad2
Numpad3
Numpad4
Numpad5
Numpad6
Numpad7
Numpad8
Numpad9
NumpadDecimal
NumpadEnter
NumpadEqual
NumpadMultiply

NumpadAdd

NumpadSubtract

NumpadDivide

Home

ArrowLeft

ArrowRight
ArrowUp

ArrowDown

Select

Open

PrintScreen

Insert

Delete

Digit0

Digit1

Digit2

Digit3

Digit4

Digit5

Digit6

Digit7

Digit8

Digit9

KeyA

KeyB

KeyC

KeyD

KeyE

KeyF

KeyG

KeyH

KeyI

KeyJ

KeyK

KeyL

KeyM

KeyN

KeyO

KeyP

KeyQ

KeyR

KeyS

KeyT

KeyU

KeyV

KeyW

KeyX

KeyY

KeyZ

MetaLeft

MetaRight

ContextMenu

F1

F2

F3

F4

F5

F6

F7

F8

F9

F10

F11

F12

F13

F14

F15

F16

F17

F18

F19

F20

F21

F22

F23

F24

NumLock

ScrollLock

AudioVolumeMute

AudioVolumeDown

AudioVolumeUp

MediaTrackNext

MediaTrackPrevious

MediaStop

MediaPlayPause

Semicolon

Equal

Comma

Minus

Period

Slash

Backquote

BracketLeft

Backslash

BracketRight

Quote

AltGraph

Props

Cancel

Clear

Shift

Control

Alt

Accept

ModeChange

(The space key)

Print

Execute

\x00

a

b

c

d

e

f

g

h

i

j

k

l

m

n

o

p

q

r

s

t

u

v

w

x

y

z

Meta

*

+

-

/

;

=

,

.

`

[

]

'

Attn

CrSel

ExSel

EraseEof

Play

ZoomOut

)

!

@

#

$

%

^

&

(

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

:

<

_

>

?

~

{

|

}

\

SoftLeft

SoftRight

Camera

Call

EndCall

VolumeDown

VolumeUp

Did this answer your question?