tradertt Posted March 27, 2006 Share Posted March 27, 2006 Hi I would like to run something overnight but I want the computer to shut down immediately without anyone seeing what is happening on the screen when there is a Mouse Movement or Keyboard Keypress. How can I do that? Would it be possible to Set the moniter to BLACK OUT first then SHUT DOWN the whole computer as it takes sometime to Shut down and people might see what is happening in the background. Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
Infinitex0 Posted March 27, 2006 Share Posted March 27, 2006 (edited) Not sure that that is a safe script. Edited March 27, 2006 by Infinitex0 The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center] Link to comment Share on other sites More sharing options...
tradertt Posted March 27, 2006 Author Share Posted March 27, 2006 Oh it is not for any malicious things It is just that I am downloading some data in the background using my office computer. So just in case I am not by my desk and anyone touches my computer, it will auto shut off. Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
Bert Posted March 27, 2006 Share Posted March 27, 2006 (edited) I have to ask this (I'm not trying to be stupid, this is a serious question)...what are you downloading that makes it so you want to be so secretive? second, why won't you just use a password on the screensaver? Edited March 27, 2006 by vollyman The Vollatran project  My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
tradertt Posted March 27, 2006 Author Share Posted March 27, 2006 Oh it is a P2P program Torrent - My office network in much faster than my cable network at home. So don't want my colleagues or boss to see it. Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
pecloe Posted March 27, 2006 Share Posted March 27, 2006 a friend of mine recently got fired for the same activity you seem to be doing! is it worth your job? Link to comment Share on other sites More sharing options...
tradertt Posted March 27, 2006 Author Share Posted March 27, 2006 Hard to answer that question. sometimes we do take risks. Would anyone be able to advise on how to do that Script? Thank you very much. Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
Joon Posted March 27, 2006 Share Posted March 27, 2006 Hard to answer that question. sometimes we do take risks. Would anyone be able to advise on how to do that Script? Thank you very much.What I do for similar thing is just hide window. That is good enough for most of times. Link to comment Share on other sites More sharing options...
Bert Posted March 27, 2006 Share Posted March 27, 2006 ah, I see. Not to be a boyscout here, but just some things to think about:Does your company:1. monitor bandwidth being used in off hours?2. Scan PC's for unauthorized software?3. fix the PC or reimage when it gets blown up by spyware?I know my company does.If you were to do something like this, some things to know.a. Ctrl - Alt- Del to unlock the PC can't be monitored by AutoIt. They could unlock it and not do anything else and see what you are doing.b. You could set your Torrent program to hide, so it wouldn't be seen unless they really start digging. The command line would be something like Run("Torrent", @SW_HIDE). You would have to setup what you want to download before hand. Not that I'm telling you to do something that can get you in trouble. The Vollatran project  My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Joon Posted March 27, 2006 Share Posted March 27, 2006 ah, I see. Not to be a boyscout here, but just some things to think about:Does your company:1. monitor bandwidth being used in off hours?2. Scan PC's for unauthorized software?3. fix the PC or reimage when it gets blown up by spyware?I know my company does.If you were to do something like this, some things to know.a. Ctrl - Alt- Del to unlock the PC can't be monitored by AutoIt. They could unlock it and not do anything else and see what you are doing.b. You could set your Torrent program to hide, so it wouldn't be seen unless they really start digging. The command line would be something like Run("Torrent", @SW_HIDE). You would have to setup what you want to download before hand. Not that I'm telling you to do something that can get you in trouble. Yes, if they monitor bandwidth. They will notice immediately. Torrent has huge uploads which not typical internet usage and its multiple connections. Link to comment Share on other sites More sharing options...
tradertt Posted March 27, 2006 Author Share Posted March 27, 2006 Ahhh .. Thanks.. No they do not moniter bandwidth from my best knowledge. Other than auto hiding - Can it be made to CLOSE PROGRAM instead of shutting down computer upon a keypress or mouse movement. Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
XxXFaNtA Posted March 27, 2006 Share Posted March 27, 2006 Maybe something like this: #Include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep ( 250 ) If _IsPressed("", $dll) Then ;; dont't sure with this ProcessClose ( "torrent" ) ;;BitComet.exe or something like that ExitLoop EndIf WEnd DllClose($dll) /[center][/center] Link to comment Share on other sites More sharing options...
seandisanti Posted March 27, 2006 Share Posted March 27, 2006 Maybe something like this:#Include <Misc.au3>$dll = DllOpen("user32.dll")While 1 Sleep ( 250 ) If _IsPressed("", $dll) Then ;; dont't sure with this ProcessClose ( "torrent" ) ;;BitComet.exe or something like that ExitLoop EndIfWEndDllClose($dll)welcome to the forum, and nice try, but i really don't think that will do anything... one second i'll write something up. Link to comment Share on other sites More sharing options...
Infinitex0 Posted March 27, 2006 Share Posted March 27, 2006 Just a quick question. What is Torrent? The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center] Link to comment Share on other sites More sharing options...
tradertt Posted March 27, 2006 Author Share Posted March 27, 2006 Lolz. It is Bit Torrent. A File downloading software Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
Bert Posted March 27, 2006 Share Posted March 27, 2006 www.google.com The Vollatran project  My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
tradertt Posted March 27, 2006 Author Share Posted March 27, 2006 Thank you Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
herewasplato Posted March 27, 2006 Share Posted March 27, 2006 Just a quick question. What is Torrent?http://en.wikipedia.org/wiki/Bittorrent [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
seandisanti Posted March 27, 2006 Share Posted March 27, 2006 (edited) ok, this is a combination of a few scripts. the ispressed() part of it is gary's from his secret password script, the mouse move is kind of just thrown together, and the monitor off is from a script by Vicc i think... just throw your process killing stuff into the MonitorOff Function, and the monitor will go off with activity, while your script kills the incriminating processes, then itself. expandcollapse popupConst $WM_SYSCommand = 274, $SC_MonitorPower = 61808, $Power_On = -1, $Power_Off = 2 $dll = DllOpen("user32.dll") opt("TrayIconDebug", 1) Dim $oldpos[2] Dim $pos[2] #include <Misc.au3> $HWND = WinGetHandle(WinGetTitle("", "")) HotKeySet("{Esc}", "_Exit") Dim $s_keys[117] = [116, _ "01", "02", "04", "05", "06", "08", "09", "0C", "0D", "10", _ "11", "12", "13", "14", "1B", "20", "21", "22", "23", "24", _ "25", "26", "27", "28", "29", "2A", "2B", "2C", "2D", "2E", _ "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", _ "41", "42", "44", "45", "46", "47", "48", "49", "4A", "4B", "4C", _ "4D", "4E", "4F", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", _ "5A", "5B", "5C", "60", "61", "62", "63", "64", "65", "66", _ "67", "68", "69", "6A", "6B", "6C", "6D", "6E", "6F", "70", _ "71", "72", "73", "74", "75", "76", "77", "78", "79", "7A", _ "7B", "7C", "7D", "7E", "7F", "80H", "81H", "82H", "83H", "84H", _ "85H", "86H", "87H", "90", "91", "A0", "A1", "A2", "A3", "A4", "A5"] $pos = MouseGetPos() $start = TimerInit() While 1 Sleep(100) For $y = 1 To $s_keys[0] If _IsPressed ($s_keys[$y], $dll) Then MonitorOff(2) EndIf Next $oldpos[0] = $pos[0] $oldpos[1] = $pos[1] $pos = MouseGetPos() if Not ($oldpos[1] = $pos[1] Or $oldpos[0] = $pos[0]) Then MonitorOff(2) EndIf WEnd Func MonitorOff($s) DllCall($dll, "int", "SendMessage", "hwnd", $HWND, "int", $WM_SYSCommand, "int", $SC_MonitorPower, "int", $Power_Off) Sleep($s) EndFunc Func MonitorOn($s) DllCall($dll, "int", "SendMessage", "hwnd", $HWND, "int", $WM_SYSCommand, "int", $SC_MonitorPower, "int", $Power_On) Sleep($s) EndFunc Func _Exit() DllClose($dll) Exit EndFunc ***edit*** if you couldn't tell by the _IsPressed() and dll calls, beta is required. Edited March 27, 2006 by cameronsdad Link to comment Share on other sites More sharing options...
tradertt Posted March 27, 2006 Author Share Posted March 27, 2006 (edited) Thank you for that script. It works. But how can I make the moniter off for a longer period of time? Oh yes, it does not auto close the process too. How can I make it do that too? Edited March 27, 2006 by tradertt Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now