forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Activate Current Screen Saver from within VDS script
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon Sep 30, 2002 7:45 am    Post subject: Reply with quote

Maybe ya have a system.ini file at Microsoft... 8O

Possibly some of the major system.ini file keys are
hard coded to associate with certain reg entries (for
backwards compatibility)?

I dunno. Prolly no sense in me clogging up the
thought process on this one. Wink

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Sep 30, 2002 8:06 am    Post subject: Reply with quote

Aaaaahh, think I found it. Looked through the registry manually and found a key. Don't know why it didn't pop up when I searched the
registry.

But anyways, this is a more XP'ish version of Mac's original. Added the option of opening the Win screensaver settings, if no screensaver
is installed.

Code:
%%ssaver = @regread(CURUSER,Control Panel\Desktop,SCRNSAVE.EXE)
if @file(%%ssaver)
   RUN %%ssaver
else
   if @ask(No active screensaver...@CR()Do you want to adjust your screensaver settings?)
   RUN rundll32.exe "shell32.dll,Control_RunDLL desk.cpl,@0,2"
   end
end


Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group