[JW Lua] FCShapeExpression - Description

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Wed Mar 25 19:49:23 CET 2015


Chris,

I saw you earlier message about this, but haven't looked into it yet. If 
it's a bug, I'll try to get a fix included in the next smaller beta 
update that should arrive soon.


Best regards,

Jari Williamsson


On 2015-03-25 08:11, Chris wrote:
> 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
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>






More information about the JWLua mailing list