[JW Lua] FCPageFormatPrefs: strange values for SystemBottom and SystemRight

Jan Angermüller jan at angermueller.com
Thu Dec 31 11:44:38 CET 2015


Jari,

FCPageFormatPrefs returns strange values for SystemBottom and SystemRight.
I think the SystemRight value is the negative SystemRight value from the 
Finale dialog and SystemBottom means SystemBottom+96 (96=staff height).
See code snippet below.
Maybe you could add this to the documentation ?

All the best,
Jan

local pageformatprefs=finale.FCPageFormatPrefs()
pageformatprefs:LoadScore()
print(pageformatprefs.SystemTop,pageformatprefs.SystemBottom,pageformatprefs.SystemLeft,pageformatprefs.SystemRight)

Prints:
68  96 12  -24

The settings in the Staff System Margins group in the page format dialog 
are:
68  0  12  24





More information about the JWLua mailing list