[JW Lua] createAccidentalMods method does not exist

Robert Wildling robertwildling at gmail.com
Mon May 30 22:45:43 CEST 2016


​And the singular version returns false:

function checkAccidentals(noteEntry)
    print("noteEntry.ClassName =", noteEntry:ClassName()) -- returns
FCNoteEntry
    print("noteEntry.Count =", noteEntry.Count) -- returns 3

    for note in each (noteEntry) do
        print("note:CalcAccidental = ", note:CalcAccidental(), "|",
note:CalcAccidental() ) -- returns true (2x)
    end

   local accMod = finale.FCAccidentalMod()
   accMod:SetNoteEntry(noteEntry)

   print("accMod:LoadFirst():", accMod:LoadFirst()) -- returns false

end --// end checkAccidentals()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20160530/2f64c46b/attachment.htm>


More information about the JWLua mailing list