Grandmaster All American 10829 Posts user info edit post |
Any way to do this ?
1)Not Hibernate 2)Not Suspend 3)Not CTRL ALT DEL + Enter 4)Not Window key + L Then close 5)Not screensaver/password protect 9/28/2005 6:48:41 PM |
Shaggy All American 17820 Posts user info edit post |
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 |
Incognegro Suspended 4172 Posts user info edit post |
I think you know damn well that it can't be done, from that laundry list of things that aren't good enough for you
to 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 |
Shaggy All American 17820 Posts user info edit post |
why do it in software when you can do it in hardware 9/28/2005 7:33:20 PM |
eraser All American 6733 Posts user info edit post |
^ 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 |
Shaggy All American 17820 Posts user info edit post |
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 |
eraser All American 6733 Posts user info edit post |
I know, I was j/k 9/28/2005 8:02:31 PM |
smoothcrim Universal Magnetic! 18968 Posts user info edit post |
registry or tweakui? 9/28/2005 8:09:34 PM |
Aficionado Suspended 22518 Posts user info edit post |
im mean damn,
how hard is it to press two keys simultaneously 9/28/2005 8:44:05 PM |
Prospero All American 11662 Posts user info edit post |
why not Quote : | "5)Not screensaver/password protect" | ??
basically that's exactly what you want to do, except without the screen saver, but "protect" upon resume is basically what you want to do without turning anything off9/28/2005 10:22:11 PM |
bous All American 11215 Posts user info edit post |
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 |
Quinn All American 16417 Posts user info edit post |
Quote : | "why do it in software when you can do it in hardware" |
good sound logic9/28/2005 11:41:22 PM |
Grandmaster All American 10829 Posts user info edit post |
^^ this guy smells what the rock is cookin. 9/30/2005 2:42:57 AM |
bous All American 11215 Posts user info edit post |
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 |
Shaggy All American 17820 Posts user info edit post |
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 |
Grandmaster All American 10829 Posts user info edit post |
i barley pulled a C++ in java
i hate programming
[Edited on September 30, 2005 at 12:27 PM. Reason : obligatory pun opportunity] 9/30/2005 12:25:41 PM |
MiniMe_877 All American 4414 Posts user info edit post |
you'll have to write a program to watch for a WMI event, I think
here'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 |
Skack All American 31140 Posts user info edit post |
Quote : | "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" |
And also hold down the keys indefinately. I don't have a Windows keyboard here to test it out, but I think that would make it go BEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEP9/30/2005 12:55:34 PM |
dmidkiff All American 3324 Posts user info edit post |
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 |
Shaggy All American 17820 Posts user info edit post |
Set oShell = CreateObject("WScript.Shell")
Set colMonitoredEvents = GetObject("winmgmts:")._ ExecNotificationQuery("Select * from Win32_PowerManagementEvent")
Do Set objLatestEvent = colMonitoredEvents.NextEvent
Select Case objLatestEvent.EventType
Case 11 MsgBox "OEM Event happened, OEMEventCode = " _ & strLatestEvent.OEMEventCode
End Select Loop
throw that into a .vbs file and then run it.
Then close the lid, and see if a message pops9/30/2005 2:02:48 PM |
synapse play so hard 60940 Posts user info edit post |
http://forums.anandtech.com/messageview.aspx?catid=51&threadid=1693596&enterthread=y
not that its any help 9/30/2005 2:07:09 PM |
Grandmaster All American 10829 Posts user info edit post |
^^^
That isn't even worth $West Virginia
I 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 |
MiniMe_877 All American 4414 Posts user info edit post |
^^^ 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 |
Shaggy All American 17820 Posts user info edit post |
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 if
a) the lid close is indeed a power event code
and
b) the lid close is also an OEM event
Heh, 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 |
MiniMe_877 All American 4414 Posts user info edit post |
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 |
Shaggy All American 17820 Posts user info edit post |
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 |