[JW Lua] Enclosures and Expressions
Nick Mazuk
nick at nickmazuk.com
Tue Jul 2 20:42:59 CEST 2019
Hi Jan,
Thanks for the help.
In case anyone needs the loop in the future, here it is:
local staffSystems = finale.FCStaffSystems()
staffSystems:LoadAll()
local expressions = finale.FCExpressions()
local musicRegion = finenv.Region()
musicRegion:SetFullDocument()
for measure, staff in eachcell(musicRegion) do
local cell = finale.FCCell(measure, staff)
expressions:LoadAllInCellLayout(cell, staffSystems)
for expression in each(expressions) do
-- do whatever you need to do here
end
end
Thanks,
Nick Mazuk
More information about the JWLua
mailing list