[JW Lua] FCFileInfoText:LoadPartName() returns empty string

Jan Angermüller jan at angermueller.com
Fri Mar 20 21:09:17 CET 2015


Jari,

FCFileInfoText():LoadPartName() seems to load an empty string every time.
I would expect it to print "Score", if we are on the score and the 
partname on the part.
But I always get an empty line.

This is the code:

local fit=finale.FCFileInfoText()
fit:LoadPartName()
tempstr=fit:CreateString()
print(tempstr.LuaString)

The other Load...() functions from FCFileInfoText work fine.

Best regards,
Jan




More information about the JWLua mailing list