[JW Lua] createAccidentalMods method does not exist

Robert Wildling robertwildling at gmail.com
Mon May 30 23:30:48 CEST 2016


It seems that I have to call accMod:SaveAt(note) before accMod:LoadFirst().
Does this make any sense?

    for note in each (noteEntry) do
        if note.Accidental then
            accMod:SaveAt(note) -- do this first to make LoadFirst() work!!!
            accMod:LoadFirst() -- now it is true...
            accMod.HorizontalPos = 132
            accMod.VerticalPos = 132
            accMod.Resize = 32
            accMod:SaveAt(note)
        else
            print("No accidental")
        end
    end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20160530/1521ae77/attachment.htm>


More information about the JWLua mailing list