[JW Lua] Staff-stuff (create, transposition, name)

Chris marcel.denio at gmail.com
Fri Apr 18 12:33:49 CEST 2014


Hello Bart

Your code works with "Finale 2014" - Windows

I found a more complete code (perhaps here)

function changeStaffName(staff,newName)
     local str = staff:CreateFullNameString()
     local fontinfo = str:CreateLastFontInfo()
     str = fontinfo:CreateEnigmaString(nil)
     str:AppendLuaString(newName)
     staff:SaveFullNameString(str)
end


And for the creation of staves, it lacks the properties / methods 
(creating TextBlocks, gap between staff lines, transposition)


Chris




More information about the JWLua mailing list