[JW Lua] Lyrics: unexpected behavior with GetItemInci()
Bart Visser
bartvisser at me.com
Thu Aug 28 07:34:00 CEST 2014
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
More information about the JWLua
mailing list