OLD versions?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
NewScriptee
Newbie
Posts: 11
Joined: Sun Mar 06, 2011 11:06 pm

OLD versions?

Post by NewScriptee » Fri Mar 11, 2011 2:55 pm

Well i have my macro running and great but it is majorly CPU hungry. I have them running on server 2008 and when multiple RDP. instances of 5-25% CPU kill the server effectiveness quickly.

I have read compiled version 8-10 didnt have this problem, is there anywhere i can download or buy the old version because the new version seems to have a few kinks still...

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

Post by Marcus Tettmar » Fri Mar 11, 2011 3:40 pm

What does your macro do? Does it have some kind of loop? If so have you inserted a small wait to make it less tight? See:
http://www.mjtnet.com/blog/2006/04/28/tight-loops/
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Post by adroege » Fri Mar 11, 2011 4:29 pm

Have you tried adding this line to the top of your macro?

Let>WIN_SLEEP=1

WIN_SLEEP
Set to 1 to decrease CPU usage for (but slow down) WaitWindowOpen/Closed and OnEvent WINDOW_OPEN/NOTOPEN.

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