Screen Saver Does not work when script is running

Ideas for new features & functions

Moderators: JRL, Dorian (MJT support)

Post Reply
BrettHemphill
Newbie
Posts: 5
Joined: Thu Aug 03, 2006 11:07 pm

Screen Saver Does not work when script is running

Post by BrettHemphill » Sat Sep 30, 2006 3:16 pm

Some of my HTTPRequest scripts run for hours, Is there a way to allow the screen saver to Work?

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

Post by Marcus Tettmar » Mon Oct 02, 2006 12:32 pm

This will re-enable the screensaver if it was running when the macro started:

Code: Select all

Let>SPI_SETSCREENSAVEACTIVE=17
LibFunc>user32,SystemParametersInfoA,res,SPI_SETSCREENSAVEACTIVE,1,0,0
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