[Doubt] Click window on background

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
conchita
Newbie
Posts: 1
Joined: Sat Jan 04, 2020 1:41 am

[Doubt] Click window on background

Post by conchita » Sat Jan 04, 2020 1:45 am

Macro scheduler can send clicks to background windows? (not minimized/hidden)
If so, how?

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: [Doubt] Click window on background

Post by Dorian (MJT support) » Mon Jan 06, 2020 11:57 am

That depends. Let's look at some scenarios, using Audacity :

Using the Find Object Wizard to generate this code, Macro Scheduler will find the button named "Record" in Audacity, even if Audacity is minimized or in the background :

Code: Select all

UIClick>{"Audacity"},{"Record"}
However if we simply move the mouse and left click, then we need to be able to actually see what we're clicking - just like a human user. As long as the window and button we're clicking are visible, it will click. If you can't see it, you can't move the mouse to it and click it.

Code: Select all

mousemove>992,400
lclick
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts