[JW Lua] Weird behaviour when writing 0 to FCDistancePrefs.AccidentalMultiSpace

Jan Angermüller jan at angermueller.com
Fri Apr 22 18:59:03 CEST 2016


Jari,

probably the following is a Finale bug, I don't know:

If I write 0 (EVPU) to FCDistancePrefs.AccidentalMultiSpace, it appears 
as 8 (EVPU) in the Finale document options "Space Between Accidentals on 
Note" field.
Any other value I write appears correctly, i.e. -1 -> -1,  1 -> 1, 2-> 2 
etc.
When I read the value from within JW Lua after having written it, it 
returns correctly as 0, but still shows 8 in the dialog. Test script below.

Best,
Jan

local distprefs=finale.FCDistancePrefs()
distprefs:LoadFirst()
distprefs.AccidentalMultiSpace=0
distprefs:Save()




More information about the JWLua mailing list