Skip to content

Commit 4b98c2c

Browse files
chore: autopublish 2024-01-31T19:33:33Z
1 parent f636ff8 commit 4b98c2c

File tree

194 files changed

+1787
-573
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+1787
-573
lines changed

dist/articulation_autoposition_rolled_chords.lua

+19
Original file line numberDiff line numberDiff line change
@@ -360,20 +360,39 @@ function plugindef()
360360
finaleplugin.MinJWLuaVersion = 0.59
361361
finaleplugin.Notes = [[
362362
How to use this script:
363+
363364
1. Manually apply rolled-chord articulations to the chords that need them (without worrying about how they look).
364365
2. Select the region you want to change.
365366
3. Run the script.
367+
366368
The script searches for any articulations with the "Copy Main Symbol Vertically" option checked.
367369
It automatically positions them to the left of any accidentals and changes their length so that they align
368370
with the top and bottom of the chord with a slight extension. (Approximately 1/4 space on either end.
369371
It may be longer depending on the length of the character defined for the articulation.)
372+
370373
If you are working with a keyboard or other multi-staff instrument, the script automatically extends the top
371374
articulation across any staff or staves below, provided the lower staves also have the same articulation mark.
372375
It then hides the lower mark(s). This behavior is limited to staves that are selected. To suppress this behavior
373376
and restrict positioning to single staves, hold down Shift, Option (macOS), or Alt (Windows) key when invoking
374377
the script.
378+
375379
This script requires RGP Lua 0.59 or later.
376380
]]
381+
finaleplugin.RTFNotes = [[
382+
{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 \fmodern Courier New;}}
383+
{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
384+
\widowctrl\hyphauto
385+
\f0\fs20
386+
\f1\fs20
387+
{\pard \ql \f0 \sa180 \li0 \fi0 How to use this script:\par}
388+
{\pard \ql \f0 \sa0 \li360 \fi-360 1.\tx360\tab Manually apply rolled-chord articulations to the chords that need them (without worrying about how they look).\par}
389+
{\pard \ql \f0 \sa0 \li360 \fi-360 2.\tx360\tab Select the region you want to change.\par}
390+
{\pard \ql \f0 \sa0 \li360 \fi-360 3.\tx360\tab Run the script.\sa180\par}
391+
{\pard \ql \f0 \sa180 \li0 \fi0 The script searches for any articulations with the \u8220"Copy Main Symbol Vertically\u8221" option checked. It automatically positions them to the left of any accidentals and changes their length so that they align with the top and bottom of the chord with a slight extension. (Approximately 1/4 space on either end. It may be longer depending on the length of the character defined for the articulation.)\par}
392+
{\pard \ql \f0 \sa180 \li0 \fi0 If you are working with a keyboard or other multi-staff instrument, the script automatically extends the top articulation across any staff or staves below, provided the lower staves also have the same articulation mark. It then hides the lower mark(s). This behavior is limited to staves that are selected. To suppress this behavior and restrict positioning to single staves, hold down Shift, Option (macOS), or Alt (Windows) key when invoking the script.\par}
393+
{\pard \ql \f0 \sa180 \li0 \fi0 This script requires RGP Lua 0.59 or later.\par}
394+
}
395+
]]
377396
finaleplugin.HashURL = "https://raw.githubusercontent.com/finale-lua/lua-scripts/master/hash/articulation_autoposition_rolled_chords.hash"
378397
return "Autoposition Rolled Chord Articulations", "Autoposition Rolled Chord Articulations",
379398
'Automatically positions rolled chords and other articulations with "Copy Main Symbol Vertically" set.'

dist/articulation_reset_auto_positioning.lua

+9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ Due to complications arising from how Finale stored articulation positions befor
1313
Due to issues around maintaining the context for automatic stacking, it must be run under RGP Lua. JW Lua does not have the necessary
1414
logic to manage the stacking context.
1515
]]
16+
finaleplugin.RTFNotes = [[
17+
{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 \fmodern Courier New;}}
18+
{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
19+
\widowctrl\hyphauto
20+
\f0\fs20
21+
\f1\fs20
22+
{\pard \ql \f0 \sa180 \li0 \fi0 This script resets all selected articulations to their default positions but only if they are not manually positioned. Due to complications arising from how Finale stored articulation positions before Finale 26, it requires Finale 26 or higher. Due to issues around maintaining the context for automatic stacking, it must be run under RGP Lua. JW Lua does not have the necessary logic to manage the stacking context.\par}
23+
}
24+
]]
1625
finaleplugin.HashURL = "https://raw.githubusercontent.com/finale-lua/lua-scripts/master/hash/articulation_reset_auto_positioning.hash"
1726
return "Reset Automatic Articulation Positions", "Reset Automatic Articulation Positions", "Resets the position of automatically positioned articulations while ignoring those with manual positioning."
1827
end

dist/articulation_reset_positioning.lua

+9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ how Finale stored articulation positions before Finale 26, it requires Finale 26
1313
maintaining the context for automatic stacking, it must be run under RGP Lua. JW Lua does not have the necessary
1414
logic to manage the stacking context.
1515
]]
16+
finaleplugin.RTFNotes = [[
17+
{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 \fmodern Courier New;}}
18+
{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
19+
\widowctrl\hyphauto
20+
\f0\fs20
21+
\f1\fs20
22+
{\pard \ql \f0 \sa180 \li0 \fi0 This script resets all selected articulations to their default positions. Due to complications arising from how Finale stored articulation positions before Finale 26, it requires Finale 26 or higher. Due to issues around maintaining the context for automatic stacking, it must be run under RGP Lua. JW Lua does not have the necessary logic to manage the stacking context.\par}
23+
}
24+
]]
1625
finaleplugin.HashURL = "https://raw.githubusercontent.com/finale-lua/lua-scripts/master/hash/articulation_reset_positioning.hash"
1726
return "Reset Articulation Positions", "Reset Articulation Positions", "Resets the position of all selected articulations."
1827
end

dist/barline_chooser.lua

+12-3
Original file line numberDiff line numberDiff line change
@@ -4914,11 +4914,20 @@ function plugindef()
49144914
finaleplugin.ScriptGroupName = "Barline Chooser"
49154915
finaleplugin.ScriptGroupDescription = "Change barlines in the selection by hotkey"
49164916
finaleplugin.Notes = [[
4917-
Change all barlines in the selection to one of seven styles by hotkey.
4918-
To repeat the same barline change as last time without a confirmation dialog,
4919-
select the "Barline Chooser Repeat" menu or hold down the SHIFT key when
4917+
Change all barlines in the selection to one of seven styles by hotkey.
4918+
To repeat the same barline change as last time without a confirmation dialog,
4919+
select the "Barline Chooser Repeat" menu or hold down the SHIFT key when
49204920
starting the script.
49214921
]]
4922+
finaleplugin.RTFNotes = [[
4923+
{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 \fmodern Courier New;}}
4924+
{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
4925+
\widowctrl\hyphauto
4926+
\f0\fs20
4927+
\f1\fs20
4928+
{\pard \ql \f0 \sa180 \li0 \fi0 Change all barlines in the selection to one of seven styles by hotkey. To repeat the same barline change as last time without a confirmation dialog, select the \u8220"Barline Chooser Repeat\u8221" menu or hold down the SHIFT key when starting the script.\par}
4929+
}
4930+
]]
49224931
finaleplugin.HashURL = "https://raw.githubusercontent.com/finale-lua/lua-scripts/master/hash/barline_chooser.hash"
49234932
return "Barline Chooser...", "Barline Chooser", "Change barlines in the selection by keystroke"
49244933
end

dist/baseline_move_reset.lua

+40-6
Original file line numberDiff line numberDiff line change
@@ -356,17 +356,22 @@ function plugindef()
356356
This script nudges system baselines up or down by a single staff-space (24 evpus). It introduces 10
357357
menu options to nudge each baseline type up or down. It also introduces 5 menu options to reset
358358
the baselines to their staff-level values.
359+
359360
The possible prefix inputs to the script are
361+
360362
```
361-
direction
362-
baseline_types
363-
nudge_evpus
363+
direction
364+
baseline_types
365+
nudge_evpus
364366
```
367+
365368
You can also change the size of the nudge by creating a configuration file called `baseline_move.config.txt` and
366369
adding a single line with the size of the nudge in evpus.
370+
367371
```
368-
nudge_evpus = 36
372+
nudge_evpus = 36
369373
```
374+
370375
A value in a prefix overrides any setting in a configuration file.
371376
]]
372377
finaleplugin.AdditionalMenuOptions = [[
@@ -402,8 +407,8 @@ function plugindef()
402407
Resets the selected fretboard baselines
403408
]]
404409
finaleplugin.AdditionalPrefixes = [[
405-
direction = 1
406-
direction = 0
410+
direction = 1
411+
direction = 0
407412
direction = -1 baseline_types = {finale.BASELINEMODE_EXPRESSIONABOVE}
408413
direction = 1 baseline_types = {finale.BASELINEMODE_EXPRESSIONABOVE}
409414
direction = 0 baseline_types = {finale.BASELINEMODE_EXPRESSIONABOVE}
@@ -417,6 +422,35 @@ function plugindef()
417422
direction = 1 baseline_types = {finale.BASELINEMODE_FRETBOARD}
418423
direction = 0 baseline_types = {finale.BASELINEMODE_FRETBOARD}
419424
]]
425+
finaleplugin.RTFNotes = [[
426+
{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 \fmodern Courier New;}}
427+
{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
428+
\widowctrl\hyphauto
429+
\f0\fs20
430+
\f1\fs20
431+
{\pard \ql \f0 \sa180 \li0 \fi0 \f1 This script nudges system baselines up or down by a single staff-space (24 evpus). It introduces 10\line
432+
menu options to nudge each baseline type up or down. It also introduces 5 menu options to reset\line
433+
the baselines to their staff-level values.\line
434+
\line
435+
The possible prefix inputs to the script are\line
436+
\line
437+
```\line
438+
direction
439+
baseline_types
440+
nudge_evpus
441+
```\line
442+
\line
443+
You can also change the size of the nudge by creating a configuration file called `baseline_move.config.txt` and\line
444+
adding a single line with the size of the nudge in evpus.\line
445+
\line
446+
```\line
447+
nudge_evpus = 36
448+
```\line
449+
\line
450+
A value in a prefix overrides any setting in a configuration file.\par}
451+
{\pard \ql \f0 \sa180 \li0 \fi0 ]] finaleplugin.AdditionalMenuOptions = [[ Move Lyric Baselines Up Reset Lyric Baselines Move Expression Baseline Above Down Move Expression Baseline Above Up Reset Expression Baseline Above Move Expression Baseline Below Down Move Expression Baseline Below Up Reset Expression Baseline Below Move Chord Baseline Down Move Chord Baseline Up Reset Chord Baseline Move Fretboard Baseline Down Move Fretboard Baseline Up Reset Fretboard Baseline]] finaleplugin.AdditionalDescriptions = [[ Moves all lyrics baselines up one space in the selected systems Resets all selected lyrics baselines to default Moves the selected expression above baseline down one space Moves the selected expression above baseline up one space Resets the selected expression above baselines Moves the selected expression below baseline down one space Moves the selected expression below baseline up one space Resets the selected expression below baselines Moves the selected chord baseline down one space Moves the selected chord baseline up one space Resets the selected chord baselines Moves the selected fretboard baseline down one space Moves the selected fretboard baseline up one space Resets the selected fretboard baselines]] finaleplugin.AdditionalPrefixes = [[ direction = 1 \u8211- no baseline_types table, which picks up the default (lyrics) direction = 0 \u8211- no baseline_types table, which picks up the default (lyrics) direction = -1 baseline_types = \{finale.BASELINEMODE_EXPRESSIONABOVE\} direction = 1 baseline_types = \{finale.BASELINEMODE_EXPRESSIONABOVE\} direction = 0 baseline_types = \{finale.BASELINEMODE_EXPRESSIONABOVE\} direction = -1 baseline_types = \{finale.BASELINEMODE_EXPRESSIONBELOW\} direction = 1 baseline_types = \{finale.BASELINEMODE_EXPRESSIONBELOW\} direction = 0 baseline_types = \{finale.BASELINEMODE_EXPRESSIONBELOW\} direction = -1 baseline_types = \{finale.BASELINEMODE_CHORD\} direction = 1 baseline_types = \{finale.BASELINEMODE_CHORD\} direction = 0 baseline_types = \{finale.BASELINEMODE_CHORD\} direction = -1 baseline_types = \{finale.BASELINEMODE_FRETBOARD\} direction = 1 baseline_types = \{finale.BASELINEMODE_FRETBOARD\} direction = 0 baseline_types = \{finale.BASELINEMODE_FRETBOARD\}\par}
452+
}
453+
]]
420454
finaleplugin.HashURL = "https://raw.githubusercontent.com/finale-lua/lua-scripts/master/hash/baseline_move_reset.hash"
421455
return "Move Lyric Baselines Down", "Move Lyrics Baselines Down", "Moves all lyrics baselines down one space in the selected systems"
422456
end

dist/beam_selected_region.lua

+29-2
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ package.preload["library.note_entry"] = package.preload["library.note_entry"] or
304304
return note_entry
305305
end
306306
function plugindef()
307-
308-
307+
308+
309309
finaleplugin.RequireSelection = true
310310
finaleplugin.Author = "Robert Patterson"
311311
finaleplugin.Copyright = "CC0 https://creativecommons.org/publicdomain/zero/1.0/"
@@ -320,11 +320,14 @@ function plugindef()
320320
Document Settings determine whether rests can be included at the start or end of a beam.
321321
If you select multiple staves vertically, you can create the same beaming pattern
322322
across all the staves with a single invocation of the script.
323+
323324
It does *not* create beams over barlines.
325+
324326
By default, the plugin installs two menu options, one to beam the selected region and
325327
the other to unbeam the selected region. You can instead unbeam all notes in the selected region
326328
by invoking the "Beam Selected Region" menu option with the Option key pressed (macOS) or
327329
the Shift key pressed. This is identical to invoking the "Unbeam Selected Region" menu option.
330+
328331
This script could be particularly useful if you assign it a keystroke using a keyboard macro utility.
329332
]]
330333
finaleplugin.AdditionalMenuOptions = [[
@@ -336,6 +339,30 @@ function plugindef()
336339
finaleplugin.AdditionalPrefixes = [[
337340
do_unbeam = true
338341
]]
342+
finaleplugin.RTFNotes = [[
343+
{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 \fmodern Courier New;}}
344+
{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
345+
\widowctrl\hyphauto
346+
\f0\fs20
347+
\f1\fs20
348+
{\pard \ql \f0 \sa180 \li0 \fi0 \f1 This script beams together any notes or rests in the selected region that can\line
349+
be beamed together and breaks beams that cross into or out of the selected\line
350+
region at the boundaries of the selected region. The beam options in Finale\u8217's\line
351+
Document Settings determine whether rests can be included at the start or end of a beam.\line
352+
If you select multiple staves vertically, you can create the same beaming pattern\line
353+
across all the staves with a single invocation of the script.\line
354+
\line
355+
It does *not* create beams over barlines.\line
356+
\line
357+
By default, the plugin installs two menu options, one to beam the selected region and\line
358+
the other to unbeam the selected region. You can instead unbeam all notes in the selected region\line
359+
by invoking the "Beam Selected Region" menu option with the Option key pressed (macOS) or\line
360+
the Shift key pressed. This is identical to invoking the "Unbeam Selected Region" menu option.\line
361+
\line
362+
This script could be particularly useful if you assign it a keystroke using a keyboard macro utility.\par}
363+
{\pard \ql \f0 \sa180 \li0 \fi0 ]] finaleplugin.AdditionalMenuOptions = [[ Unbeam Selected Region]] finaleplugin.AdditionalDescriptions = [[ Unbeam Selected Region]] finaleplugin.AdditionalPrefixes = [[ do_unbeam = true\par}
364+
}
365+
]]
339366
finaleplugin.HashURL = "https://raw.githubusercontent.com/finale-lua/lua-scripts/master/hash/beam_selected_region.hash"
340367
return "Beam Selected Region", "Beam Selected Region", "Beam Selected Region"
341368
end

dist/clef_change.lua

+3-2
Original file line numberDiff line numberDiff line change
@@ -328,13 +328,14 @@ package.preload["library.clef"] = package.preload["library.clef"] or function()
328328
return clef
329329
end
330330
function plugindef()
331-
332-
331+
332+
333333
finaleplugin.Author = "Jacob Winkler"
334334
finaleplugin.Copyright = "2022"
335335
finaleplugin.Version = "1.0.1"
336336
finaleplugin.Date = "2022-08-30"
337337
finaleplugin.RequireSelection = true
338+
338339
finaleplugin.AuthorEmail = "[email protected]"
339340
finaleplugin.AdditionalMenuOptions = [[
340341
Clef 2: Bass

0 commit comments

Comments
 (0)