Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 04, 2016, 12:07:37 AM
  • Proudly celebrating 10 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 4757 times)

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,089
    • View Profile
    • Donate to Member
IDEA: fake timer to activate screensaving
« on: February 19, 2008, 04:16:42 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:09 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:26 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,089
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #2 on: February 19, 2008, 04:29:13 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,089
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #3 on: February 19, 2008, 04:30:34 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:46 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: 727
    • 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:10 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:54 PM by nite_monkey »

Curt

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

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

Thanks a lot, jgpaiva!  :Thmbsup:

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,089
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #7 on: February 19, 2008, 05:16:49 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:13 PM »
I'm sorry, i didn't understand. Curt: did nircmd solve your problem?

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #9 on: February 19, 2008, 09:35:11 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,029
  • [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:05 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,089
    • View Profile
    • Donate to Member
Re: IDEA: fake timer to activate screensaving
« Reply #11 on: February 20, 2008, 10:14:30 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.