No access to Virtual Desktop

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
jleuzinger
Newbie
Posts: 7
Joined: Mon Sep 04, 2006 9:05 am

No access to Virtual Desktop

Post by jleuzinger » Mon Sep 04, 2006 9:37 am

Hi,

I was trying to control an Application which makes use of Virtual Desktops.
My script is working fine until the Application switches to the second
virtual Desktop.
After this all Keyboard-Commands or Mouse clicks have no effect anymore.
When the Application switches back to the first Desktop, everything works fine again.

Is there a way to control virtual Desktops from Macro Scheduler (Perhaps via VB-Code) ?

Regards
Joerg Leuzinger

- Macro Scheduler 8.0.3e
- Windows XP embedded SP2

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

Post by Marcus Tettmar » Mon Sep 04, 2006 9:56 am

Windows only allows one desktop at a time to take keyboard focus. So keyboard and mouse events can only be sent to one desktop at a time.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

jleuzinger
Newbie
Posts: 7
Joined: Mon Sep 04, 2006 9:05 am

Post by jleuzinger » Mon Sep 04, 2006 11:27 am

Marcus,
Thank you for the quick reply.
Windows only allows one desktop at a time to take keyboard focus.
The problem is that Windows (i.e. the Application) switches focus to a new (second) Desktop, while Macro Scheduler has its focus still on the first (=initial) Desktop.
I'm looking for a way to tell Macro Scheduler that it should change its focus to the same (second) Desktop as the Application.


regards
Joerg

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