[JW Lua] Calling FCTextExpressionDef:SetUseCategoryPos

Jan Angermüller jan at angermueller.com
Thu Sep 4 09:58:25 CEST 2014


Thank you ! I knew you must have had a function for it somewhere.
As it was an expression that was already assigned to the category,
I wasn't looking there.

Jan

Am 04.09.2014 07:27, schrieb Jari Williamsson:
> Jan,
>
> SetUseCategoryPos() just sets the checkbox. Use AssignToCategory() to 
> copy the actual category data to the expression.
>
> I'll improve the documentation SetUseCategoryPos() and make a 
> reference there to AssignToCategory(). The current remark in the 
> documentation is just about an old Finale bug related to that setting.
>
>
> Best regards,
>
> Jari Williamsson
>
>
> On 2014-09-04 01:05, Jan Angermüller wrote:
>> Jari,
>>
>> when I call FCTextExpressionDef:SetUseCategoryPos(true) in Finale
>> 2014/Windows,
>> it sets the Use Category Pos option. But when I assign a new expression
>> using this
>> text expression definition, it does not use the category positioning,
>> but the (or at least some of the) original alignment/justifcation values
>> from
>> before SetUseCategoryPos() was called.
>> I have to copy the alignment settings from the category to the text
>> expression
>> to get the correct positioning.
>>
>> Is this the expected behaviour ?
>> I hoped from the online documentation that SetUseCategoryPos(true)
>> would set all alignment values for me. Or does the documentation mean
>> something
>> like "use this setting with care, it may mess up the positioning". It
>> sounded
>> like it would affect older versions of Finale only.
>>
>> Jan
>>
>> _______________________________________________
>> JWLua mailing list
>> JWLua at jwmusic.nu
>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>
>>
>
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>





More information about the JWLua mailing list