[JW Lua] eachentrysaved can automatically remove the TieBackwards flag
Jan Angermüller
jan at angermueller.com
Sun Apr 14 17:17:46 CEST 2024
Robert,
the following simple "Do nothing, except save" script on the attached
score makes an accidental appear on the layer 2 note in measure 3:
local region=finale.FCMusicRegion()
region:SetFullDocument()
local e
for e in eachentrysaved(region) do
end
Is this the expected behaviour?
It may not be best practice to use the "TieBackwards /Tie End" flag to
hide the accidentall as the tie comes from another layer.
However, eachentrysaved should not remove the TieBackwards flag either.
When running the loop with eachentry, everything remains like it is.
(tested with RGP Lua 0.66 and 0.73)
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20240414/85cc6621/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accidental appears in m.3.musx
Type: application/octet-stream
Size: 60991 bytes
Desc: not available
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20240414/85cc6621/attachment.obj>
More information about the JWLua
mailing list