The original version of this page can be found at : http://forum.makemusic.com/default.aspx?f=11&m=483190
Posted By : HaraldS - 8/21/2016 12:19 PM | In Finale's jazz font, the dots after eigth rests are placed far right by default. Sometimes, this might be good, sometimes not. To control that better, I wrote the following small JW Lua script. Maybe it's of some use for some of you. A replacement by -20 EVPUs (thus 20 to the left) gives good results, but feel free to change that default value in the opening dialog.
Please don't mistake it as a Finalescript, it's a JW Lua script.
Harald
function plugindef() finaleplugin.RequireSelection = true finaleplugin.Author = "Harald Schollmeyer" finaleplugin.Date = "21.8.2016" finaleplugin.AuthorEmail = "hschollm@gmx.net" finaleplugin.CategoryTags = "Region, Rest" return "Move dots", "Move dots", "Moves the dots of dotted eigth rests horizontally" end
local str = finale.FCString() str.LuaString = "Move dotted eigth rest dots" local dialog = finale.FCCustomWindow() dialog:SetTitle(str) local static1 = dialog:CreateStatic(0, 3) str.LuaString = "Horizontal dot offset in EVPUs:" static1:SetText(str) static1:SetWidth(130) local edit1 = dialog:CreateEdit(130, 0) edit1:SetInteger(-20) dialog:CreateOkButton() dialog:CreateCancelButton() if dialog:ExecuteModal(nil) == 1 then local offset = edit1:GetInteger() local dotmod = finale.FCDotMod()
for entry in eachentry(finenv.Region()) do if entry:IsRest() and ( entry.ActualDuration == (finale.EIGHTH_NOTE + finale.SIXTEENTH_NOTE)) then dotmod:SetNoteEntry( entry ) dotmod:LoadFirst() dotmod:LoadRestDotAt( entry ) dotmod.HorizontalPos = offset dotmod:SaveRestDotAt( entry ) end end
end
Finale 3.0-2014.5, german edition, Windows 7 lots of hardware synths/keys, Cubase 7 / trombonist, pianist, conductor / Recklinghausen, Germany |
Posted By : Ralph L. Bowers Jr. - 8/21/2016 9:00 PM | Tried running plugin and it stops its run here: local dialog = finale.FCCustomWindow()
Running [Move dots] ======> [string "function plugindef() ..."]:12: attempt to call field 'FCCustomWindow' (a nil value) <======= [Move dots] FAILED.
UPDATE: Works fine now after I updated my Lua to the most recent jwlua-beta-v0_45
Thanks. Finale 2010b, 2011b, 2012c, 2014d, 2014.5 TGTools Pro, Patterson plugins, JW plugins (current for each Finale Instalation) Sibelius 6.2, 7.1.3, 7.5.1, 8.4.1, Write Score Sound Sets, TMT Publisher Bundle Plugins, Bob Zawalich plugins, Dolet 6.6 Print Music 2004, 2010a, 2011a, 2014a Progression, Progression 2, Progression 3, Notion 4, [Notion 5, (bought but not installed)update finally installed] Pro Tools 9.5, Reaper Kontakt 5 GPO4, GPO5, World Instruments SmartScore X Pro, SmartScore X2 Pro, PhotoScore Ultimate 6 & 7 & 8.04 ( 7 has some utility----best of those available, 8 has some issues that need fixing) M-Audio "Oxygen 25" Midi input keyboard (recent addition 2014) Systems (5) // Windows XP Pro (32bit), 2@ Windows 7 Pro, 8.1 Pro, Windows 10 64 bit, 4GB - 16GB RAM Paper & Pencil
BMus, MM (Musicology)Post Edited (Ralph L. Bowers Jr.) : 8/21/2016 9:43:41 PM (GMT-5) |
|