and yes, its that dreaded bar again, for the life of me, no matter how I use the fucntion, it never works. Been at this on and off for days, any hwlp qould be great. Below is my code. Just need to understand where I am going wrong
Progress.SetVisible( "Progress1", true)
function FileProgress(Source, Destination, Copied, Total, FileCopied, FileTotal)
rounded = Math.Round((Copied/Total) * 100, 1);
Progress.SetCurrentPos("Progress1", ((Copied/Total) * 100))
return true
end
File.Copy("AutoPlay\\Docs*.*", strFilePath, true, true, false, true, FileProgress);
Progress.SetVisible( "Progress1", false)
Progress.SetVisible( "Progress1", true)
function FileProgress(Source, Destination, Copied, Total, FileCopied, FileTotal)
rounded = Math.Round((Copied/Total) * 100, 1);
Progress.SetCurrentPos("Progress1", ((Copied/Total) * 100))
return true
end
File.Copy("AutoPlay\\Docs*.*", strFilePath, true, true, false, true, FileProgress);
Progress.SetVisible( "Progress1", false)
Comment