[JW Lua] FCShapeExpression - Description

Chris marcel.denio at gmail.com
Tue Feb 10 14:11:45 CET 2015


Hello Jari

Thanks for this (big) update.

Otherwise is it right to save the description of a FCShapeExpression 
after SaveNew
(before does not work)

-------------------------------------------------------
     local sed = finale.FCShapeExpressionDef()
     sed.ID = idShape
     sed.HorizontalJustification = finale.EXPRJUSTIFY_CENTER
     sed.HorizontalAlignmentPoint = finale.ALIGNHORIZ_RIGHTBARLINE
     sed.VerticalAlignmentPoint = finale.ALIGNVERT_STAFF_REFERENCE_LINE
     sed.AllowHorizontalStretching = false

     sed:SaveNew()

     local str = finale.FCString()
     str.LuaString = "Shape"
     sed:SetDescription(str)
     sed:Save()
-------------------------------------------------------

Best regards

Chris




More information about the JWLua mailing list