Need assistance with automating legacy application (Check box) in UiPath's Community forum

@postwick Yes Exactly I want to establish its own RDP session and run the job. I have used around 60 activities for this process and every activities is either send windows or simulate. And it is perfectly working without any issues.
Do you have any idea how to deal in this situation.
Thanks for your valuable time @postwick @UiPath_Community

I think the target will be the following red rectangle then text is “Request” and offset TopLeft, X:-20, Y:5 for example
Please check where mouse cursor moves and tune the above settings.



@Yoichi Tried since 1 hr. and no any good news. As simulate input method is not support on Cursor Position and Windows message just hover the element and couldn’t click it. I confirm the cursor position by using hardware as input method and smooth in properties. It was right on the center of target.

Please share if you any other ways. I need to select all the list at a once.
Thanks and regards


For now, can you try classic Click Text activity?
(If it’s necessary to use modern click, we need to indicate element with native mode because if we set selector and native text, selector is prior and click center )


No classic click text activity did not work too.
Thank you @Yoichi Need to try new things

@gibl.rpa if you cannot check the checkbox from header try selecting all check box using while loop and tick using dynamic selectors (make table row dynamic).

1 Like

Yes it works But taking few seconds while ticking one by one. I guess for each parallel process will work for me .

Thanks you @Ganesh_Tiwari1


You configure Orchestrator to run the job as an unattended process. That’s a bit more than I can explain in a forum reply. If you don’t know how to do this, I suggest reaching out to your UiPath rep for some assistance.

You can do a small macro or vba solution to it, that couldowrk well, since this check box is just an object on the cell ref.

1 Like

I am already running the process in unattended mode.

@prateek.mehandiratta9 Hi I will be very happy to learn how to use vba code to automate legacy desktop application. Can you help me how can i do that. Please the the learning resources also.
Thanks in advance

If you’re running it in a locked session, you are not running it in unattended mode. You need to be running it correctly before you try to troubleshoot code.

@postwick I have been executing the process using unattended robot from orchestrator using time trigger. I don’t create a session of rdp like login to the system. Orchestrator itself create a session. Scenario is like this. Is my process is attended or unattended in this case ?

That’s unattended. If you’ve logged into the server using the same account as the robot, make sure you click Start and sign out - don’t just close the RDP window. Just closing it leaves the session open and locked.

Exactly So in unattended mode I can’t use hardware as input method right? otherwise it was perfectly working with hardware input method.

Yes you can use hardware input method for unattended automations. I do it all the time.

1 Like

When I use hardware as input method then I got error message like target element cannot bring to foreground. How to resolve this issue then?
Thanks @postwick

It’s because you have the session locked.

As the process is triggered from orchestrator and session is also created by orchestrator of its own. How to prevent from session locked issue then.

Log into the server using RDP and the robot account. Click Start and then Sign Out.

Now try running the job.