Messages in this thread

Sib. 6.x: New Plugin: Add Rehearsal Mark Plus D... - Bob Zawalich, 06 Dec 06:36AM
     Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Adrian Drover, 06 Dec 09:20AM
         Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Philip R, 06 Dec 04:04PM
             Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Bob Zawalich, 06 Dec 10:08PM
                 Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Adrian Drover, 07 Dec 09:06AM
                     Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Philip R, 09 Apr 07:17PM
                         Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Luke Markham, 19 Jan 03:37PM
                             Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Bob Zawalich, 21 Jan 09:07AM

Sib. 6.x: New Plugin: Add Rehearsal Mark Plus Double Barline
Posted by Bob Zawalich - 06 Dec 06:36AM (edited 06 Dec 10:59PM)
(Edit: The plugin has been slightly renamed from Add Rehearsal Mark Double Barline to Add Rehearsal Mark Plus Double Barline to distinguish it a bit more from Neil Sands' plugin Add Rehearsal Marks To Double Barlines. It has also been moved from category Text to category Other, which is where Neil's plugin lives.

If you already installed it you can just keep the old one, but note that if you install the new version it will not overwrite the old one, so you will probably need to delete that one, which you can do in File > Preferences > Plug-ins > Edit Plug-ins.

Sorry for the inconvenience but it seemed a good idea to get this over with as soon as possible.)


Add Rehearsal Mark Plus Double Barline
Category Other, Sibelius 6 or later
http://www.sibelius.com/download/plugins/index.html?plugin=546

This plugin is actually Adrian Drover's workaround for a bug in which selecting a rehearsal mark and double barline that were at the same location, copying it and pasting it caused the resulting RM to be at the start of the bar, and the barline at the end of the bar.

So instead of doing a copy and paste, this plugin just inserts the objects, being careful to get them in the right place. It is a good example of how one can write a specialized plugin that does not have to deal with the generality of copy and paste, just do one little thing. I admire Adrian's re-imagining of the problem, and was glad to be be able to implement it.

The plugin adds a consecutive Rehearsal Mark and a double barline to the start or end of a selected bar. By default it will add them to the start of the bar containing the first selected object, but if you run the plugin with no selection it will bring up a dialog that will let you change whether insertion is at the start of end of the bar.

If the bar is at the start of a system, the double barline will appear at the end of the previous system, which is actually the same location. There is no double barline if you go to the start of the score. If you go to the end of the last bar, the objects will get moved back one bar. Other than these things it should do what you expect.

(Edit) The plugin has been updated so you can select a single barline, as well as a bar or an object in a bar. However if the bar is the first bar in a system, the plugin cannot tell if you selected the leading or trailing barline, and it will ask you where to put the objects. (See screenshot).

It only does consecutive RMs. If you select in the middle of a bar, it does not care. The objects go to the start or end of a bar in all cases.

This would be a good plugin for a shortcut.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2016.
For plugin categories see http://www.sibeliusblog.com/tips/sibelius-download-page-plug-ins/
Attachment snap1.png (11K)

Back to top | All threads
 
Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Double Barline
Posted by Adrian Drover - 06 Dec 09:20AM (edited 06 Dec 09:24AM)
I take my hat off to Bob. I asked him if this was possible and within 24 hours I received a working plg. I now simply select a measure, hit ctrl/r (configured in keybd shortcuts) and get rehearsal mark and double barline in the same place at the start of the measure (or rehearsal mark at the start of system, double barline at the end of previous system).

I actually put this idea to the sib developers many years ago but it was never considered. Then the post-Daniel developers (sometime after 7.1.3) broke the ability to joint select the two objects and alt-klik the pair to a new position, and still have not repaired their damage to the code in 8.5.

Entering rehearsal mark and double barline together in a single operation is now better, simpler and quicker than it ever has been. Thank you so much, Bob. This is a great time saver.

Back to top | All threads
 
Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Double Barline
Posted by Philip R - 06 Dec 04:04PM
Excellent! I've written this up here:

http://www.sibeliusblog.com/tips/bug-fixes-and-new-bugs-in-sibelius-8-5/

--
Sibelius 7.5.1, 8.5, Mac 10.12.1
Mac Pro (Late 2013) 32 GB RAM
http://www.nycmusicservices.com/
http://www.sibeliusblog.com/

Back to top | All threads
 
Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Double Barline
Posted by Bob Zawalich - 06 Dec 10:08PM (edited 06 Dec 11:01PM)
In the comments to Philip's Sibelius Blog post mentioned above, Roger Hewitt mentions that he had assigned a shortcut to Create Double Barline (File>Preferences>Keyboard Shortcuts>Notation Tab > Double Barline).

He used ctrl-F2 as the shortcut, and said that he accomplished the RM/Barline by selecting a barline and typing ctrl-F2, ctrl-r.

This has some advantages over the plugin, because you can select an actual barline rather than selecting the bar or an object in a bar, and it has a pretty intuitive feel. And it requires no plugin.

(Edit: I have, however, now updated the plugin so it can process a single selected barline. Roger's mechanism could still be a good choice, though).

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2016.
For plugin categories see http://www.sibeliusblog.com/tips/sibelius-download-page-plug-ins/

Back to top | All threads
 
Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Double Barline
Posted by Adrian Drover - 07 Dec 09:06AM
Roger's method is a good alternative that I hadn't considered, but I'm sticking with Bob's new plg. Once a shortcut has been assigned, it requires one keypress less than Roger's and it is easier (less fiddly) to select a whole measure than a barline.

Back to top | All threads
 
Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Double Barline
Posted by Philip R - 09 Apr 07:17PM
FYI - this issue should now be fixed in the 2018.4 update:

https://www.scoringnotes.com/reviews/sibelius-2018-4-released/

--
Sibelius 2018.4, Mac 10.12.6
Mac Pro (Late 2013) 32 GB RAM
https://www.nycmusicservices.com/
http://www.scoringnotes.com/

Back to top | All threads
 
Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Double Barline
Posted by Luke Markham - 19 Jan 03:37PM
Is it possible to customize what type of text can be used in this plug-in as opposed to just standard Rehearsal Mark text?

I'm most often using custom rehearsal marks (verse 1, bridge, etc.) so I've created my own text that allows me to do that. I would love to be able to have this plug-in trigger that text as well as the double bar line.

Back to top | All threads
 
Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Double Barline
Posted by Bob Zawalich - 21 Jan 09:07AM (edited 21 Jan 09:08AM)
It would not be worth doing that to this plugin; It does not create text, it creates a Rehearsal Mark object, which is an entirely different sort of thing. Having it add text instead would be a different plugin altogether.

Much of the code in the plugin is there to handle saving off and restoring dialog settings. Otherwise it is pretty simple, mostly only needing some of what is in the Process Selection routine.

You (or anyone) could write a similar plugin that created a Text or System Text object instead, and then added a double barline. If you want to be able to choose a text style it would take some set up to put up a dialog and choose a style, but if, for example, you only need the same kind of text each time it would not take much code to make a plugin that will do that.

Or look at the mechanism described above, which you may be able to employ.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 2019+, Windows 10 Pro 64 bit, 32 G RAM. Year 2019.
Free Resources: Notating Harp Music In Sibelius: http://www.bobzawalich.com/harp-notation-in-sibelius/
Get Saved Sibelius Version: http://www.bobzawalich.com/get-saved-sibelius-version-application/

Back to top | All threads
 

Quick reply

To add a reply to the end of this thread, type it below, then click Reply.

(.sib, .png and .jpg only)

Messages in this thread

Sib. 6.x: New Plugin: Add Rehearsal Mark Plus D... - Bob Zawalich, 06 Dec 06:36AM
     Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Adrian Drover, 06 Dec 09:20AM
         Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Philip R, 06 Dec 04:04PM
             Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Bob Zawalich, 06 Dec 10:08PM
                 Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Adrian Drover, 07 Dec 09:06AM
                     Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Philip R, 09 Apr 07:17PM
                         Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Luke Markham, 19 Jan 03:37PM
                             Re: Sib. 6.x: New Plugin: Add Rehearsal Mark Do... - Bob Zawalich, 21 Jan 09:07AM