[JW Lua] FCShapeExpression - Description
Chris
marcel.denio at gmail.com
Wed Mar 25 08:11:06 CET 2015
Hello Jari
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