[JW Lua] Minimum music region not possible any more (v0.51 and v0.50)

Jan Angermüller jan at angermueller.com
Thu Aug 10 00:32:47 CEST 2017


Jari,

it's not possible anymore to have a music region that starts and ends at 
the same position.
It worked fine until v0.49. When the end measure pos is set to the start 
measure pos, the start measure now automatically resets to zero.

Code snippet:
local musicregion=finale.FCMusicRegion()
musicregion.StartSlot=1
musicregion.EndSlot=1
musicregion.StartMeasure=2
musicregion.EndMeasure=2
musicregion.StartMeasurePos=0
musicregion.EndMeasurePos=0
print(musicregion.StartMeasure)

Running [Unnamed Script] ======>
0            --> should print 2 (worked fine until v0.49)
<======= [Unnamed Script] succeeded (Processing time: 0.000 s).

Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20170810/a38f69f0/attachment.html>


More information about the JWLua mailing list