Code: Select all
; -----------------------------------------------------
; Show progress bar (optional)
; -----------------------------------------------------
if B_pbar = 1
{
Progress, W480 B P0 R0-%PBcount%, %CopySourcePattern%, Calculating... Please Wait... (Esc To Cancel)
Loop, %CopySourcePattern%, 1, %CopySubFlag%
{
PBcount = %A_Index%
}
if B_AllowCancel = 1
{
Progress, W480 B P0 R0-%PBcount%, %CopySourcePattern%, Backup Progress - %B_ItemNum% of %B_Titems% (Esc To Cancel)
}
else
{
Progress, W480 B P0 R0-%PBcount%, %CopySourcePattern%, Backup Progress - %B_ItemNum% of %B_Titems%
}
}
how can i do this ?