[JW Lua] Enclosures and Expressions

Nick Mazuk nick at nickmazuk.com
Tue Jul 2 20:06:59 CEST 2019


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


More information about the JWLua mailing list