I want to turn my screensaver on with a hotkey??

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
KWiz
Junior Coder
Posts: 30
Joined: Sat Oct 07, 2006 1:43 pm

I want to turn my screensaver on with a hotkey??

Post by KWiz » Fri Mar 06, 2009 11:07 pm

Hi,

I'm trying to figure out how to turn the screensaver on with a hotkey. Is there an easy way to do it?

Thanks,
KWiz

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Fri Mar 06, 2009 11:37 pm

Make a one line macro like this:

Code: Select all

ExecuteFile>C:\WINDOWS\system32\sspipes.scr
and assign a HotKey to it.

You could start with Input> command and prompt to input the one you want.

Code: Select all

Input>vSaver,Enter the name of the screensaver file (name.scr),sspipes.scr
ExecuteFile>C:\WINDOWS\system32\%vSaver%
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Fri Mar 06, 2009 11:50 pm

You can do it in Windows XP directly too:

Choose your favorite screen saver file, located in C:\windows\system32 folder.
Right-click on the file and select “create a shortcutâ€

KWiz
Junior Coder
Posts: 30
Joined: Sat Oct 07, 2006 1:43 pm

Post by KWiz » Sat Mar 07, 2009 2:20 am

Oh that's great! Thanks guys!

Kwiz

KWiz
Junior Coder
Posts: 30
Joined: Sat Oct 07, 2006 1:43 pm

Post by KWiz » Sat Mar 07, 2009 11:46 am

Also I was wondering if there is a way to put the computer in Standby mode with a hotkey. Is there a command for that?

Thanks again,
KWiz

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sat Mar 07, 2009 6:28 pm

You could use normal Windows keyboard shortcuts.

Windows logo key - us for standby
Windows logo key - uh for hibernate
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

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