[JW Lua] More Page Text Fun

Dave Foster fozder at me.com
Tue Oct 22 12:47:40 CEST 2013


P.S.

That sample code for the second question has the wrong enum (1 instead of 2) - it should be:

local newText = finale.FCPageText()
local textObject = finale.FCString()
textObject:AppendLuaString("TESTING 123")
newText:SaveNewTextBlock(textObject)
newText.HorizontalAlignment = finale.TEXTHORIZALIGN_CENTER
newText:SaveNew(1)

Cheers,

Dave



More information about the JWLua mailing list