<div dir="ltr">Hmm. not sure how or why we got off the list. I wonder if my gmail does that by default. Anyways. Yeah, and you can just keep doing as you did. I was about to make a solution where it would all be in one line with tables but just sending the command twice with different numbers is obviously the best way to go about it in this case. JW Lua is very exciting. I agree!</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 9, 2015 at 1:47 PM, <a href="mailto:shirling@newmusicnotation.com">shirling@newmusicnotation.com</a> <span dir="ltr"><<a href="mailto:shirling@newmusicnotation.com" target="_blank">shirling@newmusicnotation.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>


    
 <div><div>YEAAAAAAAAHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!</div>
<div> </div>
<div>and i just add lines for the other notehead replacements i want, YEEEEAAAAAHHHHHHH!!!! just checked and it worked (after fixing a line wrap caused by one of our email programmes or the server).</div>
<div> </div>
<div>that is *&^@$%#$ amazing (pardon the newby enthusiasm :-) )</div><span class="">
<blockquote type="cite" style="margin-left:0px;padding-left:10px;border-left:1px solid blue">
<div>Also, what do you mean 4-5 changes to make? You mean 222 should be 180, 241 should be 112, 138 should be 85?</div>
</blockquote>
</span><div>exactly, that sort of thing, changing the slot number for notehead A in font A to the correct slot number for notehead A (same symbol) in font B, etc.</div>
<div> </div>
<div>thanks joseph!</div>
<div> </div>
<div>(oh, i just noticed the default setting is to reply to the sender, not the list... or did you take this off-list intentionally?  either way, thanks, i am very excited about this.)</div>
<div> </div>
<div>===========</div>
<div> </div>
<div><span class="">function plugindef()<br>    finaleplugin.RequireSelection = true<br>    finaleplugin.CategoryTags = "Noteheads"<br>    return "Correct Noteheads", "Correct Noteheads", "Correct Specified Noteheads"<br>end<br><br>function switchNoteHeads(current, new)<br>    for entry in eachentrysaved(finenv.Region()) do<br>        if entry:IsNote() then<br>            for note in each(entry) do<br>                local notehead_current = finale.FCNoteheadMod()<br>                local notehead_new = finale.FCNoteheadMod()<br>                notehead_current:LoadAt(note)<br>                if notehead_current.CustomChar == current then<br>                    notehead_new.CustomChar = new<br>                    notehead_new:SaveAt(note)<br>                end<br>               end<br>        end<br>    end<br>end<br><br>switchNoteHeads(222, 180)<br></span>switchNoteHeads(207, 208)</div></div></blockquote></div><br></div>