[JW Lua] eachentrysaved can automatically remove the TieBackwards flag

Robert Patterson robert at robertgpatterson.com
Sun Apr 14 18:05:52 CEST 2024


This is almost certainly Finale recalculating the Tie End bits when the TGF
is saved, but I'll check it. Finale can recalculate ties at any point, so
if you don't want an accidental it should be forced.

On Sun, Apr 14, 2024 at 10:19 AM Jan Angermüller <jan at angermueller.com>
wrote:

> 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
>
> _______________________________________________
> 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/20240414/bba0201c/attachment.html>


More information about the JWLua mailing list