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

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Fri Mar 27 22:26:19 CET 2015


Jan,

Apparently (based on the info I have recieved) Finale can only get this 
name directly from the part name.

I might be able to raw text support for part names for the next beta. If 
so, I'll remove the LoadPartName() from FCFileInfoText.


Best regards,

Jari Williamsson


On 2015-03-20 21:09, Jan Angermüller wrote:
> 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
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>






More information about the JWLua mailing list