[JW Lua] FCFretInstrumentDef

Chris marcel.denio at gmail.com
Sat Jul 29 15:20:33 CEST 2017


Hello Jari

With version 64 bits (it's OK for 32 bits)
FCFretInstrumentDef.GetStringTuning() always returns 0
and FCFretInstrumentDef.Name returns only the first character.

------------------------------------
local fretinstrumentdefs = finale.FCFretInstrumentDefs()
fretinstrumentdefs:LoadAll()
for fid in each(fretinstrumentdefs) do
     local name = finale.FCString()
     fid:GetName(name)
    print(name.LuaString, fid:GetStringTuning(1))
end
------------------------------------

Best regards

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20170729/c85753dd/attachment.html>


More information about the JWLua mailing list