[JW Lua] FCPageFormatPrefs

Jan Angermüller jan at angermueller.com
Mon Jul 4 23:48:15 CEST 2016


It's the same in Finale:
if you update the page format settings (Edit->Page Format->Score), the 
score pages won't change.
You need to call Page Layout->Redefine Pages.
The same goes for the script.

Probably you need an FCPage update function (for example 
FCPage:UpdateLayout), but I am not sure if this is all.
You might additionally need to apply the settings to the individual 
pages and may also need an update of the metric functions.

Best,
Jan

Am 04.07.2016 um 23:40 schrieb Mr.Pat:
>
> Hi All,
>
> Simple script:
>
>     local pfp = finale.FCPageFormatPrefs()
>
>     pfp:LoadScore()
>
>     pfp:SetRightPageLeftMargin(216)
>
>     pfp:SetRightPageRightMargin(504)
>
>     pfp:SetLeftPageLeftMargin(504)
>
>     pfp:SetLeftPageRightMargin(216)
>
>     pfp:Save()
>
> The values change, but the part doesn't update. What am I missing?
>
> Thanks,
>
> Pat
>
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20160704/5f04abf4/attachment.htm>


More information about the JWLua mailing list