[JW Lua] Enclosures and Expressions

Jan Angermüller jan at angermueller.com
Tue Jul 2 20:17:03 CEST 2019


You need use expressions:LoadAllInCellLayout(....)
 From the documentation:
"Loads all expressions that belongs to a specific cell in a layout. This 
method will also handle top/bottom expressions in Score Lists."

Jan

Am 02.07.2019 um 20:06 schrieb Nick Mazuk:
> Hi Jan,
>
> Thanks for the reply.
>
> When I’m looping through all the expressions in the score, it seems like score listed expressions aren’t included in the loop. For instance, there aren’t tempo markings, tempo alterations, or rehearsal markings.
>
> local musicRegion = finenv.Region()
> musicRegion:SetFullDocument()
> local expressions = finale.FCExpressions()
> expressions:LoadAllForRegion(musicRegion)
> for expression in each(expressions) do
>      -- no score list expressions in this loop
> end
>
> Is there a good way to add those into the loop? Or create a second loop with those expressions?
>
> Thanks,
>
> Nick Mazuk
> _______________________________________________
> 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/20190702/f86d1431/attachment.html>


More information about the JWLua mailing list