How can I activate an application window when the screen is locked (Background automation)


#1

I need to make a window as active one to perform click actions/send hotkey when the screen is locked. I have tried “Activate” but it always gives me timeout error


#2

Hi @testerRobotic

You should normally be able to perform those actions using Simulate Click and a proper selector. See here for more reference:


#3

Hi @loginerror Thanks for your prompt reply.

My Click actions (simulate click) only work when I activate that window. Hence I need to be able to activate that window for my workflow. Is there anyway where the robot opens the applications and makes it the active window while the screen is locked?

I need to activate this window.

20%20AM

Thank you very much!


#4

Hello,

Could you please provide some extra time/delay then run and see?

Cheers,
Pankaj


#5

Are you using orchestrator?


#6

@testerRobotic

Side note, but maybe a solution. Do you run your robot as administrator? It seems that you can only capture the selector to system apps with high enough privileges.
If I try it on my machine with UiExplorer, the selector is not displayed unless I launched my Studio as an administrator.