OLD versions?

Hints, tips and tricks for newbies

Moderators: JRL, Dorian Ellis

OLD versions?

Postby 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...
NewScriptee
Newbie
 
Posts: 11
Joined: Sun Mar 06, 2011 11:06 pm

Postby 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?
User avatar
Marcus Tettmar
Site Admin
 
Posts: 5789
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK

Postby 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.
adroege
Automation Wizard
 
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm


Return to Beginners

Who is online

Users browsing this forum: Exabot [Bot] and 0 guests