1337pyro's Auto Shutdown (with adjustable timer and status) menu

User Tag List

Results 1 to 4 of 4
  1. #1
    1337pyro's Avatar Contributor CoreCoins Purchaser
    Reputation
    267
    Join Date
    Apr 2009
    Posts
    495
    Thanks G/R
    9/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    1337pyro's Auto Shutdown (with adjustable timer and status)

    1337pyro's Auto Shutdown


    Hi,
    I often had the Problem that I don't want my Bot to run all the night/day. I wrote this little autoit-script to shut my PC down after a certain time. I mainly use this on patchday or announced server maintenance.

    ---------

    You can set the Timer...



    and it will show the remaining time in a tooltip in the top left corner of your screen.



    The last minute got a special tooltip. (just waited 1336 minutes to get this)



    ---------
    Downloads:
    https://rapidshare.com/files/7501919...(1337pyro).au3
    https://rapidshare.com/files/3667666...(1337pyro).exe

    The exe comes with a fancy shutdown icon.

    ---------

    I share the sourcecode as it is not the most difficult thing on earth and we could try to improve it and costumize it a little. The shutdown is forced.

    Code:
    ;-----------Auto Shutdown-----------
    ;-Written by 1337pyro for Ownedcore-
    
    #RequireAdmin
    $sleeptime = InputBox("Auto Shutdown", "How many minutes until shutdown?")
    
    Do
    	if $sleeptime > 1 Then
    		ToolTip("Waiting " &$sleeptime& " minutes until shutdown!", 0, 0)
    		Sleep(60000)
    		$sleeptime = $sleeptime - 1
    	Else
    		ToolTip("Last minute before shutdown!", 0, 0)
    		Sleep(60000)
    		Shutdown(5)
    
    	EndIf
    	
    Until @error

    02/02/2011 01:52 <Jackie Moon> I might just go whack off all this talk about man boobs is making me frisky

    1337pyro's Auto Shutdown (with adjustable timer and status)
  2. #2
    TedBundy's Avatar Corporal
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, this is useful. I feel the same way about not wanting to let my bot run all day. I guess I could have just used task scheduler to schedule a shut down but clearly I'm too lazy and this is much easier for me.

  3. #3
    lemony17's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    shutdown -s -t # of seconds

    in windows cmd

  4. #4
    1337pyro's Avatar Contributor CoreCoins Purchaser
    Reputation
    267
    Join Date
    Apr 2009
    Posts
    495
    Thanks G/R
    9/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lemony17 View Post
    shutdown -s -t # of seconds

    in windows cmd
    you should at least add the command to stop the planned shutdown via cmd:

    shutdown -a

    i think my script is a simplification of this cmd-command as you dont have to calculate the seconds from the hours (minutes is easier to calculate, if you ask me) and you can stop the shutdown by exiting the script. best thing you just click the programm enter minutes and you are done. and you see how much time is left. to adjust it or to stop it in time.

    02/02/2011 01:52 <Jackie Moon> I might just go whack off all this talk about man boobs is making me frisky

Similar Threads

  1. Replies: 0
    Last Post: 08-21-2016, 10:44 AM
  2. Replies: 0
    Last Post: 08-21-2016, 10:03 AM
  3. Replies: 0
    Last Post: 08-21-2016, 09:32 AM
  4. Replies: 0
    Last Post: 08-21-2016, 09:26 AM
  5. auto shutdown and wierd items [help]
    By backlash52 in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 07-01-2008, 11:26 AM
All times are GMT -5. The time now is 05:18 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search