Trying to get a cancel button to work on my countdown - where am i going wrong ?
$secsRemain = 10
While $secsRemain > 0
$ret = MsgBox(52, "Countdown", "Seconds remaining until share is killed: " & $secsRemain, 1)
If $ret = 1 Then
ExitLoop
EndIf
$secsRemain = $secsRemain - 1
WEnd