[JW Lua] Calling FCTextExpressionDef:SetUseCategoryPos

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Thu Sep 4 18:29:34 CEST 2014


Jan,

Some additional info: Expression defs are actually very weak linked with 
the categories in Finale (much more weak than the impression the UI 
gives). If you make changes to a category, you need to manually update 
all expression defs that connects that category.


Best regards,

Jari Williamsson


On 2014-09-04 09:58, Jan Angermüller wrote:
> 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
>>
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>






More information about the JWLua mailing list