WaitScreenImage using too much CPU

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Semper
Junior Coder
Posts: 30
Joined: Mon Feb 25, 2008 3:28 pm

WaitScreenImage using too much CPU

Post by Semper » Tue May 07, 2013 7:32 am

Hi,

does anyone else have this problem.
It's a few line of codes looking for a small bmp (without timeout)
and immediately after starting the script the CPU goes and stays on 50%.

Am i doing something wrong?

Thanks for the feedback.

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 May 07, 2013 8:57 am

I would expect this. Scanning the entire screen continuously in a tight loop is a very CPU intensive process.
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