[JW Lua] Fixes/changes between v0.43 and v0.46 - Progress bar bug with ForEachInteger

Jan Angermüller jan at angermueller.com
Tue Jul 25 11:02:12 CEST 2017


 >Added progress bar support for ForEachInteger
Thanks for working on this!
It now works on upwards loops, but not on downwards loops:

function DoCallback(i)
i=i*100*100*100/100/100
end
local it=finale.FCLuaIterator()
it.UseProgressBar=true
it.AbortableProgressBar=false
it.ProgressUpdateFrequency=1
it:ForEachInteger(10000,1,DoCallback) --downwards loop doesn't show the 
progress bar
--it:ForEachInteger(1,10000,DoCallback) --upwards loop shows the 
progress bar

Jan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20170725/3568deee/attachment.html>


More information about the JWLua mailing list