How To Disable Your Windows Screensaver With Motion Detection
|
| ||||||||
| Compare: | Web Design Calculator | Web Design Cost Guidelines |
Are you an E-Commerce Web Designer? Add a Free Listing
While password-locked screensavers are a security necessity at many businesses, in most homes the screensaver’s only real purpose is to…well…save the screen. It can become a little bit of an annoyance to have to tap the keyboard or move the mouse whenever you walk up to the computer to see what’s going on. It’s especially annoying if you have scans running or some other activity that you just want to monitor over a long period of time. The screensaver will kick in, and you have to tap the keyboard or move the mouse to remove it.
Wouldn’t it be cool if your computer acted a little bit more like one of those advanced computers you read about in science fiction novels, where you can simply walk up to it and it can sense that you are there and respond accordingly? I mean, these days almost every computer comes with a webcam of some sort, often embedded right above the monitor, so the potential for smarter, more automated computers is there.
There may be some newer computer systems that already do this, but for the most part people are still stuck with tapping the keyboard to disable the screen saver. I started thinking about this the other day and decided to try to put together a combination of applications and scripts that would accomplish this simple automation task (yes, these are the sorts of things automation engineers do for fun).
The Motion-Detection Screensaver Solution
What I came up with was an application-script combination that would constantly monitor the webcam for motion, and then instantly run a script that would remove the screensaver. Deciding on the webcam software was easy. I was tempted to use the Active Webcam software that I previously wrote about, but then I realized that YawCam, which Mark covered before, is much simpler and more effective for this sort of task.
Once you install and run YawCam (and give them a nice donation for offering us this free software), you’ll see the following screen over the webcam video.

Click on “Window” and then choose Motion detection from the dropdown list. On the next screen, you’ll see a page where the motion detection software logs each time a motion event takes place (when the detection is activated). Click on the “Actions” tab to set up the file that you’ll have YawCam run whenever motion is detected.

On this screen, you’ll see a “Settings…” button next to Run.exe. Select the checkbox next to “Run.exe” and then click on the settings button.

Click on the Activate check box for flood control (you don’t want the script launching 50 times a second), and put some delay (I put 10 seconds, but you can use up to 60 or more). The next step would be to click on the browse button and choose your script file that you want to run. Alas, you don’t have one yet. Don’t worry, I’ve got you covered.
You’ll notice that the default filter looks for .bat or .exe files, but you can also choose a Windows Script file (.wsf). For this article, I hunted for a whole list of ways to kill the screensaver via script. I searched for programs that already exist, or batch job methods that disable the screen saver. In each of those cases the screensaver stays disabled – not good. So then I turned to methods to send keyboard keys or mouse clicks to Windows – and sure enough, that was the solution.
After digging around Microsoft help files, I found the SendKeys code that simulates pressing the “Enter” button on the keyboard.
The following is the script.
<package>
<job>
<script language=”VBScript”>
set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.SendKeys(“{ENTER}”)
</script>
</job>
</package>
Save this script to a .wsf file and point the Action event in YawCam to that file. Now, every time there’s motion in the webcam, it’ll kick off your script, which simulates pressing the keyboard enter key – which will disable the screen saver.
If you find that your script isn’t getting launched or the motion detection doesn’t seem to be working (or it’s too sensitive), make sure to check out the “Settings” tab in YawCam. Make sure that the tolerance is high enough so it’s not too sensitive, and make sure the sensitivity is high enough so that it picks up when you sit down in front of the computer.

As with most automated solutions, this one isn’t perfect yet because you have to turn it off when you actually want to use the computer or it’ll keep sending the “Enter” key whenever there’s motion. I’m sure there are other creative ways you can probably perfect this automated screensaver trick. The solution above will work best for situations where you have something running for hours (like a virus scan) and you want to just walk up to the screen and have it automatically show you what’s going on, but then the screensaver will reactivate after you walk away.
Did you install this automated screensaver setup? How well did it work for you? Did you find a way to perfect the system even more? Share your insights in the comments section below.
Image Credit: Vivek Chugh
NEW: Download MakeUseOf iPhone App. FREE!

More articles about: motion, screensaver, webcam, windows hacks
Wed, 13 Apr 2011 21:31:02 GMT
Tags: How-To Articles, motion, screensaver, webcam, windows hacks,
Iowa Park E-Commerce | Des Plaines E-Commerce | Linthicum E-Commerce | Gilbert E-Commerce | Naples E-Commerce | Amityville E-Commerce | Coleraine E-Commerce | Mantua E-Commerce | Seabrook E-Commerce | Alphen aan den Rijn E-Commerce |
How-To Articles
How To Easily Synchronize Folders Outside Dropbox Using Symlinks
There’s a long running discussion on Quora that grabbed my attention. The topic is about the reason why Dropbox is more popular than other free programs with similar functionality. The various answers boiled down to this: simplicity. You put your fi
How to Scan a Reformatted Hard Drive to Recover Files
I think everyone has had that sinking feeling when you realize you’ve just made a very…big…mistake. Accidentally reformatting and/or installing a new operating system on the wrong hard drive is one of those things you could do to trigger
How To Set Up Your Own FTP Server With Core FTP
There is one thing that I do almost constantly during my day job that I realized I don’t really do at home. That is creating an FTP server where you can retrieve files from within one sub-network while you’re anywhere on a LAN, or in the case
motion
screensaver
How To Change The Screensaver on Ubuntu 11.10
Among all the great things about the Ubuntu 11.10 release, the selection of screensavers isn't one of them. In fact, if you look a little more closely, there isn't any selection at all. Instead, all you get is the "blank screen" screensaver, which does
Need E-commerce Design? Check out our member profiles:
Our business-driven approach separates us from other web companies. All of our solutions are customized to meet your specific needs and to create a dynamic first impression upon your audience.
Cape Neddick, Maine US
ohTwentyone is the design studio of award-winning graphic and web designer Jon Sandruck. We design websites as well as other branding materials for small businesses, nonprofits, and associations.
Colleyville, Texas US
Your products and services deserve the best showcase the marriage of technology and artistry can deliver. That's what we will custom-create for your online presence. Technology. Art. Your profit.
Dallas, Texas US
We are a web development company offering affordable web design solutions for individuals, businesses, and nonprofit organizations.
Fredericksburg, Virginia US
AG-INTERACTIVE is a Kenosha Web Design, Web Development, E-Commerce design firm for those have budgets in mind. Let us help you reach your goal with affordable web design.
Pleasant Prairie, Wisconsin US
SoCal WebWorx designs and develops customized fully-secure e-commerce sites using Zen-Cart, OS Commerce & Magento eCommerce mechanisms. Our sites are all Search Engine Optimized. Call for FREE QUOTE.
Aliso Viejo, California US
ADrenaLize Graphics can develop your concepts into reality. With our knowledge of design, creativity, and experience - we can deliver thrilling designs to jump start your business!
Grand Forks, North Dakota US
Whether for yourself, a small business, or a large corporation, we can design the web page that best meets your needs at a savings that more than exceeds your expectations.
Paducah, Kentucky USWhat Do You Think Of Electronic Christmas Cards? [MakeUseOf Poll]
Sending Christmas cards is a long lived tradition and for many people it symbolizes the togethernes
Stuck On Earth – A Fantastic Way To Discover The World If You’re Stuck On Earth [iPad]
Do you dream of travelling the world Do you often wish you could visit faraway lands and enjoy the
Have A BlackBerry? Enjoy $100 In Premium Apps – Seriously [News]
RIM was recently was struck by a network outage specific to their devices Users in the Middle East
45 Wonderful Examples of Slow Shutter Speed Photography
Here is a breathtaking collection of impressive slow shutter speed photography which is a technique
Vote In TegraZone’s Player Choice, Enter To Win A Free ASUS Tablet [Updates]
Owners of Android tablets with a Tegra processor have access to TegraZone an exclusive game market
Assistant Extensions Brings Siri To Another Level & Makes It Truly Awesome [Cydia Tweak]
One of the most compelling reasons to own an iPhone 4S is the voice assistant known as Siri Siri do
50 High-Quality Free PSD Website Layouts
A PSD file always come handy when you work for a project Building a website layout in Photoshop is
Article Tags
E-commerce Design Articles
Web Apps & Internet (374)
News (291)
Web Apps (129)
Inspiration (128)
Music (119)
iPhone / iPad / iPod (116)
cool web apps (108)
Google Android (101)
Mobile Tips (100)
Announcements (99)
deals (88)
Games & Gaming Tips (84)
Tech Deals (82)
Opinion & Polls (76)
Cool Software Apps (76)
Social Media (66)
iOS (66)
Browser Tips & Tricks (66)
iPhone Apps (59)
Freebies (58)
geeky fun (58)
Photography (58)
iphone (55)
Google (53)
troubleshoot (53)
android (52)
Photoshop (52)
Graphics (51)
facebook (50)
How-To Articles (50)
Friends:
E-Commerce Website Pricing
Web Design Quote
Website Design
Graphic Designers