Messages in this thread

Plugin Update: cmdutils.plg (category Developer... - Bob Zawalich, 23 Jul 01:56AM

Plugin Update: cmdutils.plg (category Developers’ Tools)
Posted by Bob Zawalich - 23 Jul 01:56AM (edited 29 Jul 10:29PM)
Plugin Update: cmdutils.plg (category Developers’ Tools)

Added new commands AddBarsAtEnd, several FilterDurationNotes commands, and RunPluginEntry_cu, which lets a macro call into the middle of an installed plugin, passing in parameters.

Any plugin with a methods that is set up to accept parameters in the format specified by RunPluginEntry_cu can be called from a macro, allowing create possibilities for expanding what is available in a macro.

The new plugin Filter Notes By Duration can be called from RunPluginEntry_cu, so that in addition to the new commands

Filter_Duration_Notes_Equal_cu(e)
Filter_Duration_Notes_Greater_cu(q)
Filter_Duration_Notes_GreaterEqual_cu(x)
Filter_Duration_Notes_Less_cu(h.)
Filter_Duration_Notes_LessEqual_cu(w..)

which filter Notes and Chords in various durations and with various comparison operators, you can use RunPluginEntry_cu to access any of the options in Filter Notes By Duration. There are, in fact, 360 combinations, namely:

RunPluginEntry_cu(FilterNotesByDuration.plg, API_ProcessSelection, str_Duration, w, str_Operator, =, str_Type, Notes, chords, and rests)
RunPluginEntry_cu(FilterNotesByDuration.plg, API_ProcessSelection, str_Duration, w., str_Operator, =, str_Type, Notes, chords, and rests)

...

(Edited to remove the big list because it was annoying). Now Filter Notes By Duration/Position?Beat can trace the command string for RunPluginEntry_cu that is appropriate for the current dialog settings. You will still have to get that text into Execute Commands but you will not need to figure out the actual parameters needed. The 0plugins will do it for you.





--
Bob

An experienced user of Sibelius. Sib 1.2 - 2021+, Windows 10 Pro 64 bit, 32 G RAM. Year 2021.
Free Resources: Notating Harp Music In Sibelius: http://www.bobzawalich.com/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

Plugin Update: cmdutils.plg (category Developer... - Bob Zawalich, 23 Jul 01:56AM