Main Area and Open Discussion > General Software Discussion
Laptop Lock only on Lid Close
MilesAhead:
A poster on another forum wanted software that would cause his Laptop to just lock the screen rather than sleep. After looking around it seemed not trivial to do. I found a working script on AutoIt3 forums. I tried it on my Laptop and it worked. If any Laptop owners think it may be handy to have the thread is here:
http://www.autoitscript.com/forum/topic/128008-monitor-laptop-lid-state/
On Windows 8 you may have to stick
#RequireAdmin at the top of the script. To run or compile you'll need the latest stable AutoIt3 available from the sames site as the forum.
Edit: note that to use it you should first set your power options for Lid Close to Do Nothing.
4wd:
You can also get a small program to do it from here: http://akhaliq.com/?p=198
MilesAhead:
You can also get a small program to do it from here: http://akhaliq.com/?p=198
-4wd (December 07, 2013, 03:55 PM)
--- End quote ---
Thanks for the reply. I found that but the poster was paranoid as it seemed like an exe in a zip out of nowhere. He flat out refused to run it(for which I can't criticize him.)
4wd:
Uh OK, I found it though the Microsoft forums but it's also mentioned on various others, (SuperUser, eightforums, etc), and a couple of the users had checked it out, (for nasty stuff), and it came up OK.
Still, surprising MS hasn't thought to include this functionality.
MilesAhead:
Uh OK, I found it though the Microsoft forums but it's also mentioned on various others, (SuperUser, eightforums, etc), and a couple of the users had checked it out, (for nasty stuff), and it came up OK.
Still, surprising MS has thought to include this functionality.
-4wd (December 07, 2013, 06:31 PM)
--- End quote ---
I don't have any C# on this machine yet or I may have played around with the source that was on the blog. Yeah you could do some cool things with the switches. Even something simple like a delay, then sleep(if I can think of a reason for the delay.) If nothing else the standard whoopie cushion audio file may be apropos. :)
Navigation
[0] Message Index
[#] Next page
Go to full version