NoteWorthy Composer Forum

Forums => General Discussion => Topic started by: Warren Porter on 2017-11-04 01:15 pm

Title: Clipboard data
Post by: Warren Porter on 2017-11-04 01:15 pm
Is there any way to tell if clipboard data from NWC is from the end of the staff or not?
Title: Re: Clipboard data
Post by: Rick G. on 2017-11-04 06:04 pm
If you have the discipline to put some dummy object only at the end of each staff, you could search for that object.
In general, the answer is no. If the last object is:
Code: (nwc) [Select · Download]
|Bar|Style:SectionClose
you would be correct in assuming the end of staff most of the time.
A User Tool that receives File Text can be written to detect if the selection includes the last item on the staff.
Title: Re: Clipboard data
Post by: Warren Porter on 2017-11-05 03:02 am
Thank you.  I just didn't know how to use the mmr tool.  The last thing selected should never be a whole rest unless this a part that is tacet to the end of a piece.  The mmr tool stops counting and creates an MMR if it finds a bar with any style attribute.  To break the MMR's on a rehearsal symbol (on the tempo staff), I just needed to change that bar to a double bar, run the MMR, and change it back.

First time I've looked at that tool in five years.  Rust accumulates.