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
No access to Virtual Desktop
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
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?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Newbie
- Posts: 7
- Joined: Mon Sep 04, 2006 9:05 am
Marcus,
Thank you for the quick reply.
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
Thank you for the quick reply.
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.Windows only allows one desktop at a time to take keyboard focus.
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