[JW Lua] FCBaseline -> get VerticalOffset for a specific Lyric-number?
Jari Williamsson
jari.williamsson at mailbox.swipnet.se
Thu Apr 16 19:41:07 CEST 2015
Bart,
You're correct. Only the first lyric default value is currently
accessible. I'll fix this for the next beta.
Best regards,
Jari Williamsson
On 2015-04-15 17:47, Bart Visser wrote:
> Jari or others,
>
> I'm trying to get/read the VerticalOffset for a specific Lyric-number with the FCBaseline-class. I'm only able to get the default value for the first baseline in the selected lyric-mode. Is it also possible to specify the lyric number to 'read' the VerticalOffset-value of?
>
> This is my code:
>
> local bl = finale.FCBaseline()
> bl.Mode = 5
> bl.LyricNumber = 3
> bl:LoadDefaultForMode(finale.BASELINEMODE_LYRICSVERSE)
> print(bl.Number) --> 1
> print(bl.Mode) --> 5
> print(bl.VerticalOffset) --> -144
>
> Thanks,
>
>
> Bart Visser
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>
More information about the JWLua
mailing list