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.
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.







