How can I write a Yawcam script to disable a screen saver via a motion sensor?

Lucy Lee April 27, 2012
Pinterest Stumbleupon Whatsapp

I have trouble making this script work with Yawcam without the annoying “Windows Script Host” popup.

Original Script:

set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.SendKeys(“{ENTER}”)

After deleting quotes:

set WshShell = WScript.CreateObject(WScript.Shell)
WshShell.SendKeys({ENTER})

I also saved it to as a “.wsf” script, but still does not work.

Please tell me how to fix this.

Ads by Google

  1. susendeep dutta
    April 27, 2012 at 10:42 am

    You can refer to the article below -

    How To Disable Your Windows Screensaver With Motion Detection -

    http://www.makeuseof.com/tag/disable-screensaver-motion-detection/