Bert Posted November 3, 2008 Posted November 3, 2008 Does it have a window to show progress? The Vollatran project My blog: http://www.vollysinterestingshit.com/
JReinn Posted November 4, 2008 Author Posted November 4, 2008 Does it have a window to show progress?Yes, it does actually!
AlmarM Posted November 4, 2008 Posted November 4, 2008 Sigh, try to search for ToolTip? or TrayTip? AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
JReinn Posted November 4, 2008 Author Posted November 4, 2008 Sigh, try to search for ToolTip? or TrayTip?AlmarMI know the tooltip command, but would you have to make another variable?
James Posted November 4, 2008 Posted November 4, 2008 No... Next time, look at things and look hard. (I haven't tested this, so if it doesn't work, you can look through it yourself.)expandcollapse popup#include <GUIConstants.au3> Global $wHour, $wMins, $isCounting = False, $rHour, $Mins $hGui = GUICreate("Shutdown Bot", 297, 44, 307, 303) GUICtrlCreateLabel("Hours:", 8, 8, 43, 17) $mHour = GUICtrlCreateInput("", 56, 8, 49, 21) GUICtrlCreateLabel("Mins:", 120, 8, 29, 17) $mMins = GUICtrlCreateInput("", 152, 8, 57, 21) $Start = GUICtrlCreateButton("Start", 216, 8, 75, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Start AdlibEnable("GetTime", 1000) $rHour = GUICtrlRead($mHour) $rMins = GUICtrlRead($mMins) TrayTip("Shutdown Bot", "Time left: " & $rHour & ":" & $rMins, 1) $isCounting = True; We're counting! While $isCounting = True If $wHour = $rHour And $wMins = $rMins Then Shutdown(1); Shutdown EndIf WEnd EndSwitch WEnd Func GetTime() $wHour = @HOUR $wMins = @MIN EndFunc Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
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