I am willing to figure this out, but just not having any luck.
I have this countdown script working just the way it should:
Code: Select all
#SingleInstance ignore
Progress, m1 fs70 fm12 zh10 CTgreen w325, % "00:00", Enter time and return
loop,4
{
Input x, L1,{esc}{enter},1,2,3,4,5,6,7,8,9,0
w .= x , y := SubStr("000" w, -3)
if (ErrorLevel = "Match")
Progress, m1 fs70 fm12 zh10 CTgreen w325, % SubStr(y,1,2) ":" SubStr(y,3,2), Enter
else if (Errorlevel = "EndKey:enter")
break
else
exitapp
}
startover:
t := 0, w := SubStr(y,1,2)*60 + SubStr(y,3,2)
settimer,label,1000
return
label:
++t
if (t < w)
Progress, % 100*(w-t)/w, % SubStr("00" floor((w-t)/60),-1) ":" SubStr("00" mod(w-t,60),-1), Countdown to Start Streaming
else if (t = w)
{
Progress, m1 fs70 fm12 zh10 CTred w325, 0, Started!
UrlDownloadToFile, http://127.0.0.1:8088/API/?Function=StartStreaming, createtemp
Sleep, 200
FileDelete, createtemprun
}
esc:: ExitApp
But I am stuck on trying to create a "pre-gui". Anyone willing to point me in the right direction?