How to make macro focus on app in back ground?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
skidrose
Newbie
Posts: 1
Joined: Tue Apr 20, 2010 2:37 pm

How to make macro focus on app in back ground?

Post by skidrose » Tue Apr 20, 2010 3:11 pm

Hi guys,

I make a script to work with noptepad (i use focus , but when i use firefox it not work anymore. Are there any command to let script work with application run in back ground?

Thank

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Apr 20, 2010 3:19 pm

To focus something means to give it keyboard/mouse focus and put it in the foreground. The way Windows works means keys and mouse events can only land on applications that are in the foreground. So, no, there is no way to control an app in the background by sending keystrokes/mouse events to it.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

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