View unanswered posts | View active topics It is currently Mon May 20, 2013 6:23 am



Post new topic Reply to topic  [ 15 posts ] 
 LockSaver - The Worlds Simplest Screensaver! 
Author Message
BBDinosaur
User avatar

Joined: Fri Jan 27, 2006 4:16 am
Posts: 794
Location: Karlstad, Sweden
Reply with quote
Post LockSaver - The Worlds Simplest Screensaver!
Installation:
  • Copy to your Windows\System32 folder
  • Install VB6 runtimes if needed

Usage:
  • Select LockSaver in the screensaver selection box and select the timeout

What happens:
  • Your system will be locked using LockWorkstation() (rendering the nice login box)
  • Your monitor will power off instantly -- i.e. no waiting for the power management to shut it down

For people like me who wants the monitor to power down, the G15 display to go blank (like it does when the workstation is locked, however, with "ask for password" checked it will lock the system when the screensaver is *exited*), and when you get back just hit a key or move the mouse and you get the login box (and log in by pressing your finger against the fingerprint scanner).

Enjoy :)

Download: http://www.lostinthebox.com/download.php?id=1570

_________________
Don't forget to check the BlackBox FAQs.

Jabber: noccy@jabber.se | Web: www.noccy.com | Blog: Minimal Security


Last edited by noccy on Tue Aug 28, 2007 5:32 pm, edited 1 time in total.



Sun Aug 26, 2007 4:41 pm
Report this post
Profile ICQ YIM WWW
Sponsored Links
Google Adsense


Boy meets Box
User avatar

Joined: Fri Dec 29, 2006 2:47 am
Posts: 623
Location: in front of the monitor.
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
<3

_________________
attack of the mini-man!
bb4win FAQs
mini-man-land


Sun Aug 26, 2007 4:43 pm
Report this post
Profile YIM WWW
BBWise

Joined: Fri Jun 08, 2007 8:10 pm
Posts: 42
Location: Germany
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
cool =D>

edit:
Quote:
* Your system will be locked using LockWorkstation() (rendering the nice login box)

works good
Quote:
* Your monitor will power off instantly -- i.e. no waiting for the power management to shut it down

doesn't works


Sun Aug 26, 2007 6:05 pm
Report this post
Profile
BBDinosaur
User avatar

Joined: Fri Jan 27, 2006 4:16 am
Posts: 794
Location: Karlstad, Sweden
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
Quote:
* Your monitor will power off instantly -- i.e. no waiting for the power management to shut it down

doesn't works[/quote]
What OS? It works on XP SP1 and it uses Windows internal power management. Could you give some more details on your system? :)

_________________
Don't forget to check the BlackBox FAQs.

Jabber: noccy@jabber.se | Web: www.noccy.com | Blog: Minimal Security


Sun Aug 26, 2007 7:57 pm
Report this post
Profile ICQ YIM WWW
BBWise

Joined: Fri Jun 08, 2007 8:10 pm
Posts: 42
Location: Germany
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
System: Cebop HEL 800 Notebook, OS: WinXP Pro SP2


Sun Aug 26, 2007 9:34 pm
Report this post
Profile
BBDinosaur
User avatar

Joined: Fri Jan 27, 2006 4:16 am
Posts: 794
Location: Karlstad, Sweden
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
Tommy123 wrote:
System: Cebop HEL 800 Notebook, OS: WinXP Pro SP2


Have you let the screensaver enable due to timeout or just used "example"? Clicking "example" will prevent the powersave mode since you move your mouse as you click the button :)

_________________
Don't forget to check the BlackBox FAQs.

Jabber: noccy@jabber.se | Web: www.noccy.com | Blog: Minimal Security


Sun Aug 26, 2007 9:37 pm
Report this post
Profile ICQ YIM WWW
BBWise

Joined: Fri Jun 08, 2007 8:10 pm
Posts: 42
Location: Germany
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
No ... I selected timeout (1 Min) and waited for the saver - it starts correctly and the login screen shows up, but no display power off.


Sun Aug 26, 2007 11:06 pm
Report this post
Profile
BBDinosaur
User avatar

Joined: Fri Jan 27, 2006 4:16 am
Posts: 794
Location: Karlstad, Sweden
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
Tommy123 wrote:
No ... I selected timeout (1 Min) and waited for the saver - it starts correctly and the login screen shows up, but no display power off.


Weird. It works here. I've got no idea why it would fail on your system to be honest. Might have got something to do with your power saving policy or something. Can anyone else confirm if this works or not? :)

_________________
Don't forget to check the BlackBox FAQs.

Jabber: noccy@jabber.se | Web: www.noccy.com | Blog: Minimal Security


Mon Aug 27, 2007 10:23 pm
Report this post
Profile ICQ YIM WWW
BBDinosaur
User avatar

Joined: Wed Dec 13, 2006 7:33 pm
Posts: 263
Location: Pretoria, South Africa
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
Tried it on my Desktop system (Windows XP SP2) as well as my laptop (also Windows XP SP2).

The power saving doesn't seem to work on either one. I tried a few different power saving profiles (Dektop, Laptop, Max Battery, Minimal Power Management) and it doesn't seem to work on any one of them.

_________________
Try boxCore! :)
boxCore homepage. Forum thread on lostinthebox.
Bugs, Feature requests


Tue Aug 28, 2007 3:55 pm
Report this post
Profile WWW
BBDinosaur
User avatar

Joined: Fri Jan 27, 2006 4:16 am
Posts: 794
Location: Karlstad, Sweden
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
Ok, this works for both me and Mini-Man:

Code:
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <winuser.h>
#include <string.h>

int main(int argc, char *argv[])
{
   
   char szRun[] = "/s";
   
   if (argc > 1)
   {
      if (stricmp(argv[1],szRun) == 0)
      {
         Sleep(500);
         SendMessage(HWND_BROADCAST,WM_SYSCOMMAND,SC_MONITORPOWER,0x02);
         LockWorkStation();
      }
   }
   
}


Compiles in GCC:
Code:
gcc -o locksaver.scr -LUSER32 locksaver.cpp


Attachments:
File comment: Updated screensaver (with icon and proper exe info)
locksaver.zip [3.82 KiB]
Downloaded 401 times

_________________
Don't forget to check the BlackBox FAQs.

Jabber: noccy@jabber.se | Web: www.noccy.com | Blog: Minimal Security
Tue Aug 28, 2007 4:34 pm
Report this post
Profile ICQ YIM WWW
BBDinosaur
User avatar

Joined: Wed Dec 13, 2006 7:33 pm
Posts: 263
Location: Pretoria, South Africa
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
The new one works on my desktop now. Laptop's battery is dead and the charger is screwy so I'll check there later.

Seems fixed though :D

_________________
Try boxCore! :)
boxCore homepage. Forum thread on lostinthebox.
Bugs, Feature requests


Tue Aug 28, 2007 8:00 pm
Report this post
Profile WWW
BBDinosaur
User avatar

Joined: Fri Jan 27, 2006 4:16 am
Posts: 794
Location: Karlstad, Sweden
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
Carsomyr wrote:
The new one works on my desktop now. Laptop's battery is dead and the charger is screwy so I'll check there later.

Seems fixed though :D


Ah, cool :D Problem was with where I sent the message. Interesting that it worked on SP1 but not on SP2 :D

I added resource data and a makefile to the c++ version for those of you that want to play around with it. You can grab that at http://www.noccy.com/dev/ :) The version posted here in this thread is the VB6 version, which is also the one that will possibly be developed further (options dialog anyone?)

_________________
Don't forget to check the BlackBox FAQs.

Jabber: noccy@jabber.se | Web: www.noccy.com | Blog: Minimal Security


Tue Aug 28, 2007 8:20 pm
Report this post
Profile ICQ YIM WWW
BBWise

Joined: Fri Jun 08, 2007 8:10 pm
Posts: 42
Location: Germany
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
yeah =D> now it works


Tue Aug 28, 2007 8:38 pm
Report this post
Profile
BBDinosaur
User avatar

Joined: Fri Jan 27, 2006 4:16 am
Posts: 794
Location: Karlstad, Sweden
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
Tommy123 wrote:
yeah =D> now it works


Brilliant :) Thanks to mini who helped me find the solution here :D

_________________
Don't forget to check the BlackBox FAQs.

Jabber: noccy@jabber.se | Web: www.noccy.com | Blog: Minimal Security


Wed Aug 29, 2007 12:33 am
Report this post
Profile ICQ YIM WWW
BBAdult

Joined: Mon Dec 14, 2009 9:12 am
Posts: 26
Reply with quote
Post Re: LockSaver - The Worlds Simplest Screensaver!
Trying to figure out what this does that display properties<monitor power (power)>power schemes (turn off monitor after x amount of minutes) doesn't all ready do? Am I missing something. I actually think I read something some where awhile back where you can use some program to do something like winkey+shift+hotkey of choice to force your monitor into power savings off mode automatically some how as well which having that as a easily configurable bb plugin I could see being handy and useful not that it's hard to just turn your monitor off when you leave the desk anyway.

I think the neater screen savers I've ever come across is probably the JKDefrag/MyDefrag screen saver which will defragment your HD whenever the screen saver normally turns on.


Mon May 10, 2010 10:44 am
Report this post
Profile
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 


Who is online

Users browsing this forum: 5uc3l24t7 and 0 guests


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.