Hi!
I'm attempting to create a "Clear Score" script to run on a score I just finished to clear it, reset it to 0 so to speak, so that I can begin afresh on a new song.
- I want to reset all barlines to 'normal' barlines, but do not find any obvious commands that does this? Ideas?
- I also would want the script to set the Time Signature to 4/4, but have the same problem here
- I would like the script to uncheck "Break a Multimeasure Rest" in Measure Attributes, but can't get the script to reach that button. Command ideas?
I don't find a way to adress contextual menues. If I could find a way to make the script adress those menus the issue with Time Sgn:s & barlines would be solved.
Here's my "Clear Score" script so far:
Select All
show all layers
Clear All Items
transpose to C major
unlock systems
menu item "File Maintenance"
button "OK"
button "OK"
button "OK"
button "OK"
button "OK"
button "OK"
button "OK"
button "OK"
button "OK"
button "OK"
page view
fit in window
|