Tried to upload a screenshot, but this site will not let me.
And here's the script:
Gui, 1:Add, Edit, x14 y240 w33 h20 number right ReadOnly
Gui, 1:Add, UpDown, vMinutes Range0-59 wrap, 1
Gui, 1:Add, Button, x50 y240 w35 h20 section, Start
Gui, 1:Add, Text, x14 y260, |
Gui, 1:Add, Progress, x16 y261 w99 h14s cGreen BackgroundWhite vMyProgress ;xs
;Gui, Add, Progress, w400 h20 vMyProgress xs
;Gui, 1:Add, Progress, w80 h10 cGreen BackgroundWhite Range1-500 vMyProgress
Gui, 1:Add, Text, x114 y260, |
Gui, Submit, NoHide
; TotalSec := (Minutes*60+Seconds)
StopTime := A_TickCount + (TotalSec*1000)
TimeLeft := (StopTime - A_TickCount)/1000
ProgressBar := 100-(TimeLeft/TotalSec*100)
Minutes := Floor(TimeLeft/60)
; Seconds := Round(Mod(TimeLeft,60))
If TimeLeft >= 0
GuiControl,, Edit1, %Minutes%
; GuiControl,, Edit2, %Seconds%
GuiControl,, MyProgress, %ProgressBar%
If (A_TickCount >= Stoptime)
I half know what I'm doing... Which is not much! The issue is that I have to hit the button several times to get it to start and I expect a BEEP noise when it starts and stops and do not always get those. I need this very minimalist! A start and reset button beside the 'start' button would be useful. I'm afraid that guessing 100's of times might be the only way to get somewhere!
Any help would be great!