Skip to main content
Retrieve text from a VM
Wrk Product avatar
Written by Wrk Product
Updated over 4 months ago

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

Retrieve text from a VM by taking a screenshot and using OCR.

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-50ce93614e05

Left X-coordinate

The leftmost coordinate in pixels that you would like to capture. If no coordinate is given will default to 0

Number

No

10

Right X-coordinate

The rightmost coordinate in pixels that you would like to capture. If no coordinate is given will default to 1920

Number

No

100

Top Y-coordinate

The topmost coordinate in pixels that you would like to capture. If no coordinate is given will default to 0

Number

No

10

Bottom Y-coordinate

The bottommost coordinate in pixels that you would like to capture. If no coordinate is given will default to 1080

Number

No

100

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Screenshot

File

No

Text captured

Text captured from the screenshot taken

Text (Long)

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.

No result

This status is selected if no text is extracted from the screenshot.

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

Did this answer your question?