Any way to do this ?1)Not Hibernate2)Not Suspend3)Not CTRL ALT DEL + Enter4)Not Window key + L Then close5)Not screensaver/password protect
9/28/2005 6:48:41 PM
glue some little plastic bits to the right places on the lcd so that when you close the lid, the plastic bits come down and hit windowskey+L
9/28/2005 7:06:02 PM
I think you know damn well that it can't be done, from that laundry list of things that aren't good enough for youto add insult to injury: it's a trivial thing to do on a Linux system [Edited on September 28, 2005 at 7:28 PM. Reason : I mean, it isn't impossible, but you'd have to write a utility to do it]
9/28/2005 7:26:27 PM
why do it in software when you can do it in hardware
9/28/2005 7:33:20 PM
^ oh!How about a robot that detects the "locked" state then crawls up the keyboard and types your password quickly?Wait ... that is hardware and software...
9/28/2005 7:54:59 PM
i just meant the "glue + plastic bits" concept.[Edited on September 28, 2005 at 7:56 PM. Reason : but robots are cool]
9/28/2005 7:55:56 PM
I know, I was j/k
9/28/2005 8:02:31 PM
registry or tweakui?
9/28/2005 8:09:34 PM
im mean damn,how hard is it to press two keys simultaneously
9/28/2005 8:44:05 PM
why not
9/28/2005 10:22:11 PM
no it's not.when i close the lid of my laptop, i want instant windows lock. i don't want to wait x amount of minutes for some shitty screen saver to run w/ "lock on resume" crap. and i don't want ANY standby/hibernate crap.i assume i want want grandmaster wants.
9/28/2005 10:55:44 PM
9/28/2005 11:41:22 PM
^^ this guy smells what the rock is cookin.
9/30/2005 2:42:57 AM
sitll have yet to find a solution and i'm pissed. when i get free time i'll write a low-profile windows program for it that will just run in the systray.
9/30/2005 12:22:18 PM
create a program to listen for the laptop lid close event and then have it lock the computer.then set it to run as a service.
9/30/2005 12:23:15 PM
i barley pulled a C++ in javai hate programming[Edited on September 30, 2005 at 12:27 PM. Reason : obligatory pun opportunity]
9/30/2005 12:25:41 PM
you'll have to write a program to watch for a WMI event, I thinkhere's something useful perhaps: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/power_management_event_provider.asp[Edited on September 30, 2005 at 12:48 PM. Reason : s]
9/30/2005 12:42:36 PM
9/30/2005 12:55:34 PM
I had this issue a long time ago-here's how to fix it:Right click on Desktop-->Properties-->Screen Saver-->Power-->Advanced-->Tell it to "do nothing" under the 'when i close laptop' option. Now when you close your laptop, it doesn't do anything but turn the screen off.$texas please
9/30/2005 1:23:40 PM
Set oShell = CreateObject("WScript.Shell")Set colMonitoredEvents = GetObject("winmgmts:")._ExecNotificationQuery("Select * from Win32_PowerManagementEvent")DoSet objLatestEvent = colMonitoredEvents.NextEventSelect Case objLatestEvent.EventTypeCase 11MsgBox "OEM Event happened, OEMEventCode = " _& strLatestEvent.OEMEventCodeEnd SelectLoop
9/30/2005 2:02:48 PM
http://forums.anandtech.com/messageview.aspx?catid=51&threadid=1693596&enterthread=ynot that its any help
9/30/2005 2:07:09 PM
^^^That isn't even worth $West VirginiaI don't want it to "do nothing" I want it to Lock.^^ ill try ^ Read that before posting here thx though [Edited on September 30, 2005 at 2:46 PM. Reason : .]
9/30/2005 2:45:35 PM
^^^ the trick is finding out what that OEM event code is, and if it actually gets sent when you close the lid. It may be specific/unique to your laptop.Sending the windows lock command should be trivial.
9/30/2005 2:59:05 PM
I dont even know if the lid close is power event. I just made a guess.And of the availible powerevent codes, the only one that would make any sense would be the OEM event code.This script "should" print the event code value ifa) the lid close is indeed a power event codeandb) the lid close is also an OEM eventHeh, I didn't even realize how much shit you could do with VBS and WMI until i started poking around at this lid close issue.You could have alot of fun with this stuff[Edited on September 30, 2005 at 3:22 PM. Reason : .]
9/30/2005 3:10:17 PM
I might try to write it in C# next week, I wouldnt want a VBS app running as a Windows Service
9/30/2005 3:42:31 PM
yea. A vbs loop probably isn't a permenent solution.You can probably set up a better listener than a loop in c# or other such language.
9/30/2005 3:45:41 PM