[JW Lua] dumpproperties => strange behavior

Bart Visser bartvisser at me.com
Sun Nov 15 12:00:35 CET 2015


Hi Jari,

There is a bug in the dumpproperties-function:

1. Quit and reopen Finale 2014 (Mac)
2. Run this code:

local pageFormatScore = finale.FCPageFormatPrefs()
pageFormatScore:LoadScore()
local p = dumpproperties(pageFormatScore)
for k, v in pairs(p) do
  print(k, v)
end

=> No output

3. Open the Class-browser => It reads all the classes and displays them in the browser

4. Run the above code again


=> Output as expected

Cheers,


Bart



More information about the JWLua mailing list