Page 8 sur 8

Re: Plug-in JW Lua (Beta)

Posté : 26 juillet 2017 à 20:34
par michelp
Mise à jour en version Beta 0.48.

Hello all,

JW Lua v0.48 is now available for download (both 32-bit and 64-bit versions). New and changed:

* FCString methods GetItemAt(), SetItemAt() & SetItemUpperCase() has been changed to GetCharacterAt(). This has been done both for stability reasons and for naming convention reasons. It also now fixed the issues where a FCString object could freeze iterator processing.
* Vault page has been removed in the UI.
* Fixed a crash in FCString::TruncateAt() and some other related methods on 64-bit Windows.
* SMARTSHAPE_DASHSLUR* constants have been renamed SMARTSHAPE_DASHCURVE*
* SMARTSHAPE_DASHEDSLUR* constants have been added (for new Fin25 functionality)
* All SMARTSHAPE_* constants are now documented
* FCFontInfo::IsNameString() added
* FCSmartShape::IsDashedSlur() added
* The error message when scilexer.dll isn't found now references jwlua64.fxt on 64-bit Windows build.
* FCString::FormatCharacterNumber() added
* ForEachInteger now handles progress bar for downward steps as well
* RoundedCorners & RoundedCornerRadius properties have been added to FCTextBlock for Finale 25.4 functionality
* Fixed one occasion where document files could disappear (on the Mac specifically) when JW Lua window was closed/reopened.

Download link:
https://finaletips.nu/index.php/download ... ta-version

Best regards,

Jari Williamsson

Re: Plug-in JW Lua (Beta)

Posté : 27 juillet 2017 à 00:35
par michelp
Mise à jour en version Beta 0.49. En 32 et 64 bit, Mac et PC.

JW Lua beta v0.49 is now available for download. New/fixed in this version.

* FCTextMetrics added. Requires Finale 25. But make sure to look into this - it's a real game changer for accurate layout!
* FCPartExtractPrefs class added
* ShowScoreTimeSignatures & ShowPartTimeSignatures properties added to FCStaff/FCStaffStyleDef. Finale 25-specific.
* GraceNoteIndex property added to FCExpression
* FCEnclosure now support rounded corners in Finale 25.4, similar to FCTextBlock
* FCUI::DisplayWebURL added
* Corrected the state of DisplayInConcertPitch
* FCString:AppendLuaString now works with UTF8 (foreign characters) strings
* FCUI::DisplayShellFolder() method added
* LoadFontPrefs() and SaveFontPrefs() added to FCFontInfo
* FCNoteEntry::CalcResize method added

Download link:
https://finaletips.nu/index.php/download ... ta-version

Best regards,

Jari Williamsson

Re: Plug-in JW Lua (Beta)

Posté : 6 août 2017 à 12:40
par michelp
Mise à jour en version Beta 0.50.
Une longue liste de correctifs :

"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:
https://finaletips.nu/index.php/download ... ta-version

Best regards,

Jari Williamsson"

Re: Plug-in JW Lua (Beta)

Posté : 9 août 2017 à 12:38
par michelp
Mise à jour en version Beta 0.51.

Hello All!

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

Fixed/changed:
* JW Lua scripts can now be loaded/saved from a Unicode path (folder or file name can have foreign characters)
* On Windows, the JW Lua plug-in now works on a path with Unicode characters (no SciLexer.DLL message should appear)
* FCStrings:LoadFolderFiles() now works on Unicode file names on Windows as well.
* __FCUserWindow::QueryLastCommandModifierKeys() added (which can be used in FCCustomWindow dialogs), and also the CMDMODKEY_* constants
* FCUI::ActivateDocumentWindow() added
* The FCString methods ToLowerCase(), ToUpperCase(), SetCharacterUpperCase() now supports Unicode
* Fixed some issues related to FCShapeDef loading on post-Fin2014B
* FCShapeDef::CreateTextStrings() added
* FCUI.UseIsFontAvailableAPI property added (defaults to OFF on Windows, and ON for the Mac)
* For Finale 25.2+, the FCMiscDocPrefs.KeepOctaveTransposition property has been added
* Changed the window/dialog font on Windows, so it looks more clear on Windows 10.

Download link:
https://finaletips.nu/index.php/download ... ta-version

Best regards,

Jari Williamsson

Re: Plug-in JW Lua (Beta)

Posté : 13 août 2017 à 12:44
par michelp
Mise à jour en version Beta 0.52.

Hello All!

JW Lua beta v0.52 is now available for download. Fixed in this version:

* Fixed so scripts with dialog boxes have much more similar design dimensions between Windows and Mac. Dialog scripts designed in Windows must be adjusted (regarding coordinates), dialog scripts designed for the Mac remain as they were.

* Fixed bug where FCGroup::ContainsStaff() almost always returned true

* Changed so GetStartMeasure() GetEndMeasure() in FCMusicRegion always return the true value, regardless of if the region exists or not.

* Added FCMusicRegion::IsSinglePos(), for when horizontal start and end points are the same.

* Fixed FCNote::CalcRightsidePlacement() return values, for situations when right-side noteheads had been moved slighty to the left.

Download link:
https://finaletips.nu/index.php/download ... ta-version

Best regards,

Jari Williamsson

Re: Plug-in JW Lua (Beta)

Posté : 18 août 2017 à 20:38
par michelp
Mise à jour en version Beta 0.53

Hello All!

JW Lua, beta 0.53 is now available for download. Added/changed things:

* FCFontDialog class added, for a user font selection dialog.
* FCMusicRegion:CalcMeasureSpan() now returns 0 when the selected region is empty, and 1 when IsSinglePos() returns true.
* Activate() available as method for custom dialog
* Fixed a bug where FCNote::GetString() and FCNote::CalcOctave() returned wrong values on very low notes.
* FCUI methods DisplaySymbolDialog(), DisplayShapeDialog(), DisplayArticulationDialog(), DisplayTextExpressionDialog() now reactivates the previously active window after the dialog closes.
* Fixed incorrect handling of Get/SetMultiMeasureVerticalPosition and Get/SetMultiMeasureHorizontalPosition in the FCMeasureNumberRegion class.
* Added FCNote::CalcWrittenOctave
* FCNote:GetString() now works with transposed keys with simplified key for written pitch
* Changed simplification of double-sharps in FCNote:GetString(), so (for example) 3 sharps becomes ”#x”.
* FCNote:SetString() and written pitch now works with transposed staves
* Added properties FindVoice1, FindVoice2, FindVoice2Launch to FCNoteEntryCell.
* Added FCNoteEntry::CalcDisplacementMatchCount()

Download link:
https://finaletips.nu/index.php/download ... ta-version

Best regards,

Jari Williamsson

Re: Plug-in JW Lua (Beta)

Posté : 11 septembre 2017 à 13:39
par michelp
Mise à jour en version Bata 0.54.

Hello All!

JW Lua beta version 0.54 is now available for download. Fixed/changed/added in this version:

* Fixed a crash in finenv.UserValueInput objects, when empty tables are assigned
* Changed the arrows in the Preference dialog box to use Unicode buttons (on Unicode Finale versions)
* Added an ”Editor” and ”User Interface” page to the preference dialog box
* The editor tab width can now be set in the preference dialog box
* The editor font and font size can now be set in the preference dialog box
* The editor syntax highlighting can now be changed with ”themes” in the preference dialog box (currently 3 themes)
* Automatic windowshade option available in the preference dialog box
* FCSmartShapeEntryMark(s) classes added
* FCMeasureText(s) classes have been renamed to FCCellText(s)
* Fixed a crash in FCFontInfo:IsIdenticalTo() when comparing with a nil object
* Fixed the FCCellPos constructor, so it now sets the measure position correctly.
* HideMeasureNumbers property added to FCTextExpressionDef
* Added these properties to FCMeasureNumberRegion: Base, StartCharacter, CountFromOne, NoZero, DoubleUp
* Fixed a bug where FCCell:CalcClefIndexAt() missed clef changes before empty cells
* FCCellFrameHold::CalcClefChange() will now return false if object data hasn’t been loaded
* Added these numbering constants for FCMeasureNumberRegion: NUMBERING_TIME_SECONDS, NUMBERING_TIME_10, NUMBERING_TIME_100, NUMBERING_TIME_1000, NUMBERING_FRAMES, NUMBERING_CUSTOM
* Added FCMeasureNumberRegion.UseHours property
* Corrected a large number of documentation errors (non-working links, undocumented methods, etc)
* Added support for these object constants in FCLuaIterator:ForEachRegionObject(): FCID_ACCIDENTALMOD, FCID_BEATCHARTELEMENT, FCID_BROKENBEAMMOD, FCID_CELLTEXT, FCID_CHORD, FCID_CROSSSTAFFMOD, FCID_CUSTOMSTEMMOD, FCID_DOTMOD, FCID_ENTRYALTERMOD, FCID_EXPRESSION, FCID_MIDIEXPRESSION, FCID_NOTEHEADMOD, FCID_PERCUSSIONNOTEMOD, FCID_PERFORMANCEMOD, FCID_SECONDARYBEAMBREAKMOD, FCID_SEPARATEMEASURENUMBER, FCID_SMARTSHAPEENTRYMARK, FCID_STEMMOD, FCID_SYLLABLEENTRYMOD, FCID_TABLATURENOTEMOD, FCID_TUPLET

Download link:
https://finaletips.nu/index.php/download ... ta-version

Best regards,

Jari Williamsson