topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 1:27 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: fake timer to activate screensaving  (Read 8285 times)

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
IDEA: fake timer to activate screensaving
« on: February 19, 2008, 04:16 PM »
I can press Ctrl+Shift+S, and the Webshots screensaver will start, no matter what screensaver is default, but almost none of the other screensavers I am using have such a hotkey feature, if any. And I use quite a number of different screensavers, so I am not asking for merely a hotkey to some screensaver. I was thinking that maybe someone can write a little something that will fake Windows' timer into thinking that the time is up - so when I press this (new) hotkey Windows will think that X (seven) minutes have passed without actions, and start the screensaver. Can this be done?
 :tellme:

Edited:
I believe that fifteen years ago this feature was standard on Windows, hence the button "Pause".

---

This wallpaper is merely to make up the post (Ornamental2, 1600x1200, 2MB):

ornamental2.jpgIDEA: fake timer to activate screensaving
« Last Edit: February 19, 2008, 04:22 PM by Curt »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #1 on: February 19, 2008, 04:21 PM »
Nircmd can start the screensaver on demand.
Thus, what's the hotkey you were thinking?

Wouldn't a shortcut on the desktop be better?

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #2 on: February 19, 2008, 04:29 PM »
Wouldn't a shortcut on the desktop be better?

Yes, of course, but if it is that simple why did'nt anyone tell it to me before? Well, I didn't read the right post, I guess.  :-\

Yes, please, jgpaiva!  :)


Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #3 on: February 19, 2008, 04:30 PM »
Wouldn't a shortcut on the desktop be better?

Quick Start area

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #4 on: February 19, 2008, 04:53 PM »
Just download nircmd, and create a shortcut to it! Then, go to its properties and add "screensaver" (without the quotes) to the target ;)

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 753
    • View Profile
    • Just Plain Super
    • Read more about this member.
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #5 on: February 19, 2008, 05:03 PM »
just put Skrommel's RunScreenSaver in you quick start area RunScreenSaver download location here
[Insert really cool signature here]
« Last Edit: February 19, 2008, 05:04 PM by nite_monkey »

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #6 on: February 19, 2008, 05:12 PM »
All is good! :-*

Ctrl+Shift+P ("P" for Pause) 

Thanks a lot, jgpaiva!  :Thmbsup:

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #7 on: February 19, 2008, 05:16 PM »
... Skrommel's RunScreenSaver...

Thanks, nite_monkey. I tried it some time ago, but something was not the way I wanted it to be. I don't remember what.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #8 on: February 19, 2008, 06:23 PM »
I'm sorry, i didn't understand. Curt: did nircmd solve your problem?

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #9 on: February 19, 2008, 09:35 PM »
a little late since Curt has settled on nircmd but for the record the following line would start the default screensaver. just put it in any of your AHK scripts.

;Ctrl+Shift+S to activate screensaver
^+s::SendMessage, 0x112, 0xF140, 0,, Program Manager ; 0x112 is WM_SYSCOMMAND -- 0xF140 is SC_SCREENSAVE

Adapted from this thread.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #10 on: February 19, 2008, 09:58 PM »
You can also find the .scr file responsible for the screensaver, and double-click it. Those files are actually regular .exe files, except that they take some special command-line arguments.
- carpe noctem

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #11 on: February 20, 2008, 10:14 AM »
You can also find the .scr file responsible for the screensaver, and double-click it. Those files are actually regular .exe files,

Thanks, f0dder. My reason for not using this obvious method is that I very often change my screensaver, and I don't care to try to remember which one is default at any given moment. = Hit the hotkey, and... "Surprise! This is your screensaver today!".

All is good! :-*

Thanks a lot, jgpaiva!  :Thmbsup:
"Ctrl+Shift+P ("P" for Pause)" was just an info.