[JW Lua] Lyrics: unexpected behavior with GetItemInci()

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Thu Aug 28 09:11:05 CEST 2014


Bart,

Can you e-mail me a small Finale file, where this occurs?


Best regards,

Jari Williamsson

On 2014-08-28 07:34, Bart Visser wrote:
> Hi Jari,
>
> I'm trying to get the Verse/Chorus/Section number with the GetItemInci() method. It doesn't return the number of the Verse etc. but the number of the order in which the lyrics are entered under the notes.
>
> So if I have 3 verses and use Click Assignment to attach the syllables to the notes, but start with vs3, than vs1 and lastly vs2 the result is:
>
> Running [Unnamed Script] ======>
> 0 ^font(Tekton Pro,4096)^size(12)^nfx(0)This
> 1 ^font(Tekton Pro,4096)^size(12)^nfx(0)This
> 2 ^font(Tekton Pro,4096)^size(12)^nfx(0)And
>
> 0 is
> 1 is
> 2 this
>
> 0 the
> 1 the
> 2 the
>
> 0 third
> 1 first
> 2 se-
>
> 0 verse,
> 1 verse,
> 2 cond
>
> 0 the
> 1 it's
> 2 one,
>
> 0 third
> 1 the
> 2 se-
>
> 0 verse
> 1 first
> 2 cond
> <======= [Unnamed Script] succeeded (Processing time: 0.006334 s).
>
> Is this the way it should work? Or does the ItemInci-property have to correspond to the Verse/Chorus/Section-number (I would expect this latter option)?
>
> Thanks,
>
>
> Bart
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>






More information about the JWLua mailing list