Support > Forums > OpenBots Studio > Desktop Get Text Activity

Desktop Get Text Activity

Harshita Aralikatte Ramesh

  • Reporter
  • Calender Icon February 02,2023 at 8:37 AM

While I am using Desktop Get text Command for some Desktop Application. I am extracting the Text Element. But I debug the process this Command is Loading for long time and it's not take the text element, so I forced to stop the function. What is the alternate way of Desktop Get text Command.

This forum has 314 topics, 681 replies, and was last updated 25 days ago by Support Agent

Shanmuga Priya

  • Participant
  • Calender Icon February 10,2023 at 8:46 AM

I tried to used Surface Automation Capture image region command to Capture the Desktop Application text. After that, I used Tesseract OCR Command. It having the exception,

Type: 'Win32Exception', Message: 'The specified executable is not a valid application for this OS platform.'

Rushabh Arbat

  • Participant
  • Calender Icon February 03,2023 at 5:28 AM

Hi Harshita Aralikatte Ramesh,

Mostly it happened due to the element not recorded properly. Make sure while recording any element select proper selectors and then validate. The element shows highlighted after validating and the green sign inside the command.

The alternate way is you can use surface automation command to capture an image region, and then OCR commands to extract the text from the image. and you can find both the commands in Image Automation Command Package. ​ Thanks.

You are not authorized to reply, please click here to login and add your reply to this topic.