WaitReady>1 not working in Windows 10

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
dandyling
Newbie
Posts: 3
Joined: Tue Jun 09, 2015 10:38 am

WaitReady>1 not working in Windows 10

Post by dandyling » Tue Sep 22, 2015 2:46 am

Hi everyone,

I have a script that runs fine in Windows 7. However, in Windows 10, it stopped running. Upon closer inspection, it stops at WaitReady>1 line. Previously, in Windows 7, the automation will wait for around 7-8 sec, then WaitReady>1 will evaluate to true. But in Windows 10, it stops there.

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

Re: WaitReady>1 not working in Windows 10

Post by Marcus Tettmar » Wed Sep 23, 2015 8:59 am

WaitReady>1 waits for all paint messages to stop being processed. If there's a difference it suggests Windows 10 is rendering things differently and there are more screen paint messages flying about. The internals are different. Nothing we can do, it's beyond our control. You'll just have to find another way to Wait. I'd consider using WaitScreenImage instead.
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
Sign up to our newsletter for free automation tips, tricks & discounts