[JW Lua] JW Lua, beta version 0.50

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Sun Aug 6 12:25:53 CEST 2017


Hello All!

JW Lua, beta version 0.50 is now available for download.

Fixed and added things:
* FCCellPos class added
* FCCell:CalcClefIndexAt() and FCCellPos:CalcClefIndex() added, which 
calculates the clef at a specific location in the music.
* Fixed a heap corruption problem that could happen in 
FCString:GetLuaString() when high Unicode characters are added to the 
string.
* Fixed an issue where FCString:GetLuaString() could return an empty 
string when high Unicode characters are added to the string.
* Unicode file paths are now supported on the Mac on Finale 25. This 
also fixed various issues with classes that handles folders on Finale 
25/Mac.
* FCShapeDef:ExportAsSVGFile() added for Finale 25, which can save a 
FCShapeDef as a SVG (Scalable Vector Graphics) v1.1 file.
FCMusicRegion:AddMeasureOffset() added
* Fixed some cases where FCMusicRegion:IsEmpty() will not return the 
current result.
* FCUI:IsFontAvailable() uses the new Finale 25 PDK API for checking 
font availability, rather than the using system calls. (Earlier Finale 
versions still uses the old implementation.)
* FCFolderBrowseDialog class now (optionally) uses the new PDK API in 
Finale 25 for finding a folder on the system. Older Finale versions 
still use the old implementation. This can be turned off even for Finale 
25 with FCFolderBrowseDialog.UseFinaleAPI property.
* FCNoteEntryCell methods FindPreviousEntryPos() & FindNextEntryPos() added.
* The ’Find’ methods in FCNoteEntryCell can now fine-tune how they will 
scan their content in the note entry cell, using these properties: 
FindVisible, FindHidden, FindNotes, FindRests, FindAlternateNotation, 
FindCutaway
* Fixed a crash, where FCTextExpressionDef would crash when using the 
methods when no data had been loaded.
* Added a debug method called __FCBaseData:CreateRawDataDump(), where 
the whole internal data block can be dumped as a FCNumbers collection.
* FCString:SplitAt() method added
* FCMeasureNumberRegions::CalcNumberFromString() now supports the ’:’ 
delimiter between a specific region and the measure number.
* 4 new methods added to FCMeasureNumberRegions. IsStringUnique(), 
IsMeasureIncluded(), CountRegionsForMeasure(), FindByID()
Enclosures in FCMeasureNumberRegion on Finale 25.4 now supports rounded 
corners.
* The FCMeasureNumberRegion has been rewritten and cleaned up internally 
in the PDK Framework, to simplify the support for 4 different versions 
of the PDK data structures.
* The string that is created by 
FCMeasureNumberRegions:CalcStringFromNumber() is now unique among the 
regions.
* GetName() and SetName() FCFretInstrumentDef now supports Unicode 
strings on Finale 25.3 and above.
* Fixed incorrect FCFretInstrumentDef::StringTuning() return values on 
Finale 25.3 and above.
* FCSeparateMeasureNumber now support enclosures with rounded corners on 
Finale 25.4 and above.
* Fixed a bug in FCSeparateMeasureNumber::AssignMeasureNumberRegion(), 
where it would assign to the item number rather than the measure number 
region ID.
* CalcNumberFromString() and CalcStringFromNumber() in 
FCMeasureNumberRegions now looks at the ”Include in Measure Numbering” 
attribute. To speed up processing of multiple calls, there’s also a 
AssignAllMeasures() method.
* FCMeasureNumberRegion:AssignAllMeasures() is also available, for 
optional processing of the ”Include in Measure Numbering” attribute in 
FCMeasureNumberRegion methods.
* FCTuplePrefs is now fully supported. Although these 4 properties were 
added a few builds ago, these are now documented as Lua-supported as 
well: NumberOffsetUpstem, NumberOffsetDownstem, BracketThickness, MaxSlope
* FCString::CreateEnigmaComponents() now works with nested parentheses, 
for example if a font name has parentheses.
* FCShapeDef loading/saving has been changed on 2014b and above. It 
doesn’t use any workarounds anymore on these versions, and Fin2014b+ 
should now load empty shapes without crash on Windows (crashes can 
unfortunately still randomly occur pre-2014b).
* FCShapeDefInstructions:AddDrawChar() is now Unicode-supported on Fin2012+
* FCShapeDefInstructions:AddDrawCharsString() method added 
(Unicode-supported on Fin2012+)
* Added SHAPETAG_* constants for use with FCShapeDefInstruction:GetTag()
FCShapeDefInstruction:SetFourbyteData() method added.
* Long ”require” folder paths in the JW Lua Preferences dialog box are 
now formatted so they should fit the list box.
* Fixed an issue where FCStaffStyleDefs:LoadAll() failed to load all 
staff styles refs.
* Added the 5 properties to FCDistancePrefs that controls time sig 
placements in parts. They start with the ”TimeSigParts” instead of just 
”TimeSig”. (For example: ”TimeSigPartsTopVertical”, instead of 
”TimeSigTopVertical”)
* On Finale 25.1 and later, FCRepeatPrefs now supports a property 
ThinInnerBracketReference.
* On Finale 25.4 and later, FCMiscDocPrefs now supports a property named 
KeySigCancelSwitchingSharpsFlats.
* On Finale 25.3 and later, FCSmartShapePrefs now supports 2 properties 
named HairpinDefaultShortOpening and HairpinMaxShortSpanLength
* Changed how the Windows versions are built (on MMs suggestion), since 
a particular configuration can cause Finale to crash for users with a 
huge number of Finale plug-ins.

Download link:
http://finaletips.nu/index.php/download/category/28-beta-version

Best regards,

Jari Williamsson




More information about the JWLua mailing list