PC Review


Reply
Thread Tools Rate Thread

Batch file to modifiy the screen saver delay

 
 
pascalv@sdf.lonestar.org
Guest
Posts: n/a
 
      1st May 2007
Hello,

Would somebody know if it is possible to change the screen saver delay
from a batch file?
(or even from the Windows command line or from Excel VBA)


Thanks for any hint!

Pascal

 
Reply With Quote
 
 
 
 
Terry
Guest
Posts: n/a
 
      1st May 2007
On 5/1/2007 10:05 AM On a whim, (E-Mail Removed) pounded out on
the keyboard

> Hello,
>
> Would somebody know if it is possible to change the screen saver delay
> from a batch file?
> (or even from the Windows command line or from Excel VBA)
>
>
> Thanks for any hint!
>
> Pascal
>


Hi Pascal,

Doesn't appear to be any options for that:

http://support.microsoft.com/kb/182383


--
Terry

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
Reply With Quote
 
Ayush
Guest
Posts: n/a
 
      1st May 2007
[(E-Mail Removed)]s message :
> Hello,


> Would somebody know if it is possible to change the screen saver delay
> from a batch file?


VBScript:

Set ws=CreateObject("WScript.Shell")
ws.Run "rundll32.exe Shell32.dll,Control_RunDLL desk.cpl ,1",1
while not ws.AppActivate("Display properties")
wscript.sleep 100
wend
ws.SendKeys "%w"
ws.SendKeys "12" '' minutes
ws.SendKeys "~"

Good Luck, Ayush.
--
XP-Tips [Speed up menu display] :
http://www.microsoft.com/windowsxp/u...tips/menu.mspx
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
batch file to open 2 progs with time delay Andy Windows XP Help 32 19th Dec 2009 04:06 AM
delay in msdos batch file pls123 Microsoft Excel Programming 2 22nd Sep 2008 01:51 AM
Screen saver to run batch file. nicough@gmail.com Windows XP General 0 21st Apr 2007 10:34 AM
screen saver password delay C. M. G. Windows XP Basics 2 3rd Jul 2004 06:59 PM
Screen Saver Delay ayeplussjr Windows XP Customization 3 28th Jan 2004 06:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:18 PM.