Chiudi finestra di avanzamento
Verbo: closeProgress
Disponibile da: < Standard>
Chiude una finestra di avanzamento avviata dal comando Mostra finestra di avanzamento .
Sintassi
closeProgress
Esempio
Questo comando chiude la finestra di avanzamento di un loop quando termina.
defVar --name startValue --type Numeric --value 0
defVar --name endValue --type Numeric --value 50
// Loop increments a variable from 0 to 50, by 1 on each loop.
while --left "${startValue}" --operator "Less_Than_Equal_To" --right "${endValue}"
incrementVar --number ${startValue}
showProgress --text "Wait for the while loop to end..." --value ${startValue} --maximum ${endValue}
delay --timeout 00:00:00.0500000
endWhile
// Closes the open progress window.
closeProgress
Note
Il comando Close Progress Window viene sempre utilizzato con il comando Mostra finestra di avanzamento ; se utilizzato separatamente, diventa inoperativo.