<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Jari,<br>
<br>
I noticed that the class browser probably holds a wrong sample code
2 for FCChorusSyllables (same for Verse and Section):<br>
<br>
This is the current code:<br>
for noteentry in eachentry(finenv.Region()) do<br>
local chorussyllables = finale.FCChorusSyllables()<br>
chorussyllables:LoadAll()<br>
for cs in each(chorussyllables) do<br>
-- Do something with 'cs' (of the 'FCChorusSyllable' class)
here<br>
end<br>
end<br>
<br>
But the initialization requires an FCNoteEntry, so probably it was
meant to be:<br>
<br>
for noteentry in eachentry(finenv.Region()) do<br>
local chorussyllables = finale.FCChorusSyllables(<b>noteentry</b>)<br>
chorussyllables:LoadAll()<br>
for cs in each(chorussyllables) do<br>
-- Do something with 'cs' (of the 'FCChorusSyllable' class)
here<br>
end<br>
end<br>
<br>
BTW, FCChorusSyllables (and Verse/Section) are not yet available in
the online documentation, but seem to already work fine in JW Lua.<br>
<br>
Best,<br>
Jan<br>
</body>
</html>