[JW Lua] Measure Number Regions

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Wed Mar 18 16:14:14 CET 2015


Jan/Charles,

Finale data should always be deleted backwards. The next beta will have 
a eachbackwards() iterator to simplify these kinds of tasks.


Best regards,

Jari Williamsson


On 2015-03-18 15:55, Jan Angermüller wrote:
> Charles,
>
> this works for me - but with one drawback (maybe a bug ?):
> the last one will not be deleted, i.e. there is always one measure
> region remaining after the deletion.
>
> local mnrs=finale.FCMeasureNumberRegions()
> mnrs:LoadAll()
> for m in each(mnrs) do
>      m:DeepDeleteData()
> end
>
> Best regards,
> Jan
>
>
> Am 18.03.2015 um 15:34 schrieb Charles O. Lawrence:
>> Anyone,
>>
>> How do you delete a measure number region, akin to pressing the Delete
>> button and Pressing OK in the "Measure Number" dialog box?  Nothing I
>> have
>> tried will actually delete the MNR.  Desperately seeking an answer.
>> Thanks.
>>
>> Charles Lawrence
>>
>>
>> _______________________________________________
>> JWLua mailing list
>> JWLua at jwmusic.nu
>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>
>
>






More information about the JWLua mailing list