RGP Lua : Un nouvel utilitaire Lua intégré à Finale

Nouveautés, mises à jour, plug-ins, publications, web (Pas de support dans ce forum ! Créez un sujet ailleurs svp)
michelp
Modérateur
Messages : 8373
Inscrit le : 1 avril 2011 à 12:26
Version(s) de Finale  : Finale anglais 27.4.1, 26.3.1
OS, RAM  : MacOsX 12.7.4, Mac Mini Intel i7 Dual 3 Ghz, 16 Go Ram. 2 écrans. JW Lua. RGP Lua
Homme/Femme  : H
Localisation : Belgique
Contact :

Re: RGP Lua : Un nouvel utilitaire Lua intégré à Finale

Message par michelp »

Annoncée pour bientôt, la mise à jour en version 0.62. Nouvelles fonctionnalités assez techniques, à destination des développeurs.

"GP Lua 0.62 will add at least partial support for FCTieMod. I plan on adding support in stages:

1. Load/Delete and collections (already implemented)
2. Modify existing FCTieMod (should be fairly straightforward)
3. Creating new ones (this is the hard part and may not make it into 0.62, but I hope it does.)

I need help with testing edge cases and am wondering if anyone would like to help me beta test this.

Robert"
Michel
michelp
Modérateur
Messages : 8373
Inscrit le : 1 avril 2011 à 12:26
Version(s) de Finale  : Finale anglais 27.4.1, 26.3.1
OS, RAM  : MacOsX 12.7.4, Mac Mini Intel i7 Dual 3 Ghz, 16 Go Ram. 2 écrans. JW Lua. RGP Lua
Homme/Femme  : H
Localisation : Belgique
Contact :

Re: RGP Lua : Un nouvel utilitaire Lua intégré à Finale

Message par michelp »

Mise à jour en version 0.62. Améliorations qui concerneront les développeurs de scripts dans RGP Lua, utilitaire qui succède à JW Lua.

"RGP Lua 0.62 is now released. The big improvements are:

1. The ability to configure multiple menu options per script in the plugindef function.
Explication de Nick Mazuk : "Basically for scripts that are very similar (e.g., change the key to ___), you can now write one script, create multiple variable declarations, and RGP Lua will display it as separate scripts in the menu bar."

2. Full access to FCTieMod.

It includes a number of other smaller improvements as well. These are listed in the version history ICI."
Michel
michelp
Modérateur
Messages : 8373
Inscrit le : 1 avril 2011 à 12:26
Version(s) de Finale  : Finale anglais 27.4.1, 26.3.1
OS, RAM  : MacOsX 12.7.4, Mac Mini Intel i7 Dual 3 Ghz, 16 Go Ram. 2 écrans. JW Lua. RGP Lua
Homme/Femme  : H
Localisation : Belgique
Contact :

Re: RGP Lua : Un nouvel utilitaire Lua intégré à Finale

Message par michelp »

Mise à jour en version 0.63. Toujours des nouvelles fonctionnalités à l'intention des développeurs. Mise à jour conseillée, à télécharger ICI.

Changes include:

Numerous new properties and methods (see the Version History for details./ ICI)
Lua 5.3 utf8 library ported into Lua 5.2.
New eachstaff() standard iterator function.
It is now possible to change the text font and size for controls, though it may not be effective for controls other than FCCtrlStatic and FCCtrlEdit.
It is now possible to set the foreground text color on FCCtrlStatic.
Resizing windows now works as expected with RestorePosition, though you will probably have to call MoveAllControls on macOS after doing so. (See the MoveAllControls documentation for more info.)
Michel
michelp
Modérateur
Messages : 8373
Inscrit le : 1 avril 2011 à 12:26
Version(s) de Finale  : Finale anglais 27.4.1, 26.3.1
OS, RAM  : MacOsX 12.7.4, Mac Mini Intel i7 Dual 3 Ghz, 16 Go Ram. 2 écrans. JW Lua. RGP Lua
Homme/Femme  : H
Localisation : Belgique
Contact :

Re: RGP Lua : Un nouvel utilitaire Lua intégré à Finale

Message par michelp »

Mise à jour en version 0.64. Toujours des nouvelles fonctionnalités à l'intention des développeurs. Mise à jour conseillée, à télécharger ICI.

"This has turned into a fairly significant release. Here are the highlights:

Add FCString::EndsWithString
Add FCSeparateMeasureNumber::Get/SetIsAlternateNumber
Add missing properties to FCGeneralPrefs
Add FCCtrlComboBox class
Support RestorePosition with modal dialogs (Mac)
Add FCLuaScriptItem and FCLuaScriptItems to allow scripts to launch other scripts
Add FCUI::GetUserLocaleName
Add FCCtrlRadioButton and FCCtrlRadioButtonGroup
Add FCCtrlImage
Add __FCUserWindow::IsDarkModeAppearance and corresponding (mac-only) event handler
Add DPI-awareness for Windows dialogs.
Add FCControl::CreateFontInfo.
Add notifications to FCCtrlSlider.
Add full luasocket base (including both socket and socket.core) plus compatibility with the rest of luasocket, if finaleplugin.LoadLuaSocket = true specified.
Fix longstanding bug in FCSmartShape::CalcRightCellMetricPos"
Michel
michelp
Modérateur
Messages : 8373
Inscrit le : 1 avril 2011 à 12:26
Version(s) de Finale  : Finale anglais 27.4.1, 26.3.1
OS, RAM  : MacOsX 12.7.4, Mac Mini Intel i7 Dual 3 Ghz, 16 Go Ram. 2 écrans. JW Lua. RGP Lua
Homme/Femme  : H
Localisation : Belgique
Contact :

Re: RGP Lua : Un nouvel utilitaire Lua intégré à Finale

Message par michelp »

Mise à jour en version 0.65. Toujours des nouvelles fonctionnalités à l'intention des développeurs. Mise à jour conseillée pour les utilisateurs, qui profiteront des avancées des nouveaux scripts.
A télécharger ICI.

"Summary of changes (also on the version history page):
Errors in Lua callback functions now cause the script to abort, same as if the error had occurred in any other Lua code.
Add new Finale 27.3 properties to FCGeneralPrefs.
Disallow self-execution with FCLuaScriptItem.
Add full smart shape prefs, including FCSlurContourPrefs
Add FCCellGraphic (edit-only, similar to FCPageGraphic)
Add visible flags for repeats
Add new playback types for FCTextExpressionDef
Add new methods for handling voiced parts, and update several FCNoteEntry calculations to take voicing exclusions into account. (These are noted on the doc pages.)"

 
►►► Pour installer RGP Lua, voir ICI.
Michel
michelp
Modérateur
Messages : 8373
Inscrit le : 1 avril 2011 à 12:26
Version(s) de Finale  : Finale anglais 27.4.1, 26.3.1
OS, RAM  : MacOsX 12.7.4, Mac Mini Intel i7 Dual 3 Ghz, 16 Go Ram. 2 écrans. JW Lua. RGP Lua
Homme/Femme  : H
Localisation : Belgique
Contact :

Re: RGP Lua : Un nouvel utilitaire Lua intégré à Finale

Message par michelp »

Mise à jour en version 0.66 de cet utilitaire RGP Lua, qui fait tourner des scripts Lua. Outre les scripts écrits pour RGP Lua, il peut faire fonctionner la majorité des "anciens" scripts JW Lua.
Toujours des nouvelles fonctionnalités à l'intention des développeurs. Mise à jour conseillée pour les utilisateurs, qui profiteront des avancées des nouveaux scripts.
A télécharger ICI.

RGP Lua 0.66 has been released with the following changes:
Scripts can now register to run when Finale starts up.
Report the 1st return value of a script, regardless of type. (Previously only strings were reported.) This behavior can be suppressed with a new finaleplugin.IgnoreReturnValue property.
Fix bug that prevented finenv.ExecuteLuaScriptItem from returning the script's 1st return value when the script had no error.
Fix FCMiscDocPrefs.SpecialExtractionID for Finale 25 and 26.1.
FCString now uses double for all floating point conversions.
Added FCUI::DisplayExpressionDialog to add support for choosing either text or shape expressions.
Added FCNote::CalcNumberOfLedgerLines
Added __FCStaffBase::CalcTopLineStaffPosition and __FCStaffBase::CalcBottomLineStaffPosition
FCTimeSignature and FCKeySignature now derive from __FCBase. They were never valid data structs, and calling Load or Save on them never had any effect.
Added FCAllotment and FCAllotments to lua classes.
Added functions to FCBeatChartElement and FCBeatChartElements.
Added FCArticulation.OnStemDistanceFromStemEnd property.
Embed and (optionally) preload the luaosutils library.
Added FCNoteheadMod.EnharmonicFlip property and support function FCNote::MatchSpellingToScore.
Added FCCustomLuaWindow::RegisterHandleActivate so that scripts can detect window activation/deactivation.
Upgrade utf8 library from Lua 5.3 version to Lua 5.4 version.


►►► Pour installer RGP Lua, voir ICI.
Michel
michelp
Modérateur
Messages : 8373
Inscrit le : 1 avril 2011 à 12:26
Version(s) de Finale  : Finale anglais 27.4.1, 26.3.1
OS, RAM  : MacOsX 12.7.4, Mac Mini Intel i7 Dual 3 Ghz, 16 Go Ram. 2 écrans. JW Lua. RGP Lua
Homme/Femme  : H
Localisation : Belgique
Contact :

Re: RGP Lua : Un nouvel utilitaire Lua intégré à Finale

Message par michelp »

Mise à jour en version 0.67 de l'utilitaire RGP Lua, qui fait tourner des scripts Lua et permet aux développeurs d'en créer de nouveaux. Outre les scripts écrits avec RGP Lua, il peut faire fonctionner la majorité des "anciens" scripts JW Lua.
Toujours des nouvelles fonctionnalités à l'intention des développeurs. Mise à jour conseillée pour les utilisateurs, qui profiteront des avancées des nouveaux scripts.
A télécharger ICI. Pour Finale 25 et suivantes.

• Développeurs :
Cette version introduit le concept de "code page" ("trusted code"). Dans cette version, cette fonctionnalité est facultative et désactivée par défaut. Les développeurs devront l'activer pour voir s'il ne faut pas modifier certains de leurs scripts. Les versions futures de RGP Lua l'exigeront.
Lua passe en version 5.4 et LuaBridge en 5.3.

• Utilisateurs :
N'oubliez pas de mettre jour les scripts avec leur dernière version (notamment via le site où beaucoup sont regroupés ICI).
 
"This is to announce the release of RGP Lua 0.67. This version introduces the concept of code page (aka, "trusted code"). In this version is it optional and off by default. However, you should enable it and start discovering if any of your scripts need adjusting as a result. Future versions of RGP Lua will require it. If you use script from the Finale Lua repo, make sure to update to the latest versions of them.

This version upgrades Lua to Lua 5.4 and LuaBridge to LuaBridge 5.3.
Other enhancements include:
Strip "&" on input to Win version of luaosutils.menu.find_item
Allow FCLuaScriptItem to return correct value after multiple executions.
Fix Finale crash caused by saving FCRepeatPrefs, and add ShowOnTopStaffOnly and ShowOnStaffListID properties.
Allow in-line comments on lines of the plugindef() function.
Added __FCBaseData::RelinkToScore and RelinkToCurrentView.
Embedded Lua-CJSON library.
Added Lua access to already embedded TinyXML2 XML parser.
Added FCTransposer, which does the math for all your transposition needs, including transposition of FCChord instances.
Added finenv.LuaBridgeVersion for diagnostic purposes.
Added finenv.IsFinaleDemo to detect if we are running on the Finale demo.
FCEntryMetrics, FCCellMetrics, and most collections can be assigned with <close>
Added tinyxml2 classes to class browser and show more info about each class."


►►► Pour installer RGP Lua, voir ICI.
Michel
Ouhla
Modérateur
Messages : 1716
Inscrit le : 1 avril 2011 à 15:02
Version(s) de Finale  : Finale Français : 2001...à Finale v27.4.1 française MAC
OS, RAM  : Mac 3,2GHz Intel® Core i7 64 GoRam Sonoma
Homme/Femme  : H
Localisation : Haute Normandie
Contact :

Re: RGP Lua : Un nouvel utilitaire Lua intégré à Finale

Message par Ouhla »

Bonjour à la communauté !

Finale 27.3.0.162 fr / Mac 12,6,5 Monterey
Plug-in Chord KERNER 1.01 :
l'installation de la version 0,67 de RGP LUA induit un bug : Plantage à l'incrémentation d'un ID de suffixe
Résolu sous la version 0.66 de RGP LUA

Plug-in Chord KERNER 1.01 :
Sous la version 0.66 de RGP LUA, la modification du suffixe "Triangle" (Accord de Septième majeure) implanté sous l'ID de suffixe 1 (selon la police utilisée)
entraînera le même type de plantage.
Alexandre
michelp
Modérateur
Messages : 8373
Inscrit le : 1 avril 2011 à 12:26
Version(s) de Finale  : Finale anglais 27.4.1, 26.3.1
OS, RAM  : MacOsX 12.7.4, Mac Mini Intel i7 Dual 3 Ghz, 16 Go Ram. 2 écrans. JW Lua. RGP Lua
Homme/Femme  : H
Localisation : Belgique
Contact :

Re: RGP Lua : Un nouvel utilitaire Lua intégré à Finale

Message par michelp »

Merci Ouhla,

Il faudra que je fasse quelques tests. J'ai installé RGP Lua 0.67 depuis ma dernière utilisation (il y a quelques mois) de Chord Kerner dans Finale 26.3.1... J'ai installé FInale 27 mais je travaille sur 26.
Michel
Da capo
Modérateur
Messages : 428
Inscrit le : 4 avril 2011 à 00:20
Version(s) de Finale  : Finale 25.5.0.259 Mac [FR] - Finale 27 PC [FR]
OS, RAM  : Mac Pro - 4,2GHz Intel Core i7
Homme/Femme  : H
Contact :

Re: RGP Lua : Un nouvel utilitaire Lua intégré à Finale

Message par Da capo »

Ouhla a écrit : 18 mai 2023 à 19:16 Bonjour à la communauté !

Finale 27.3.0.162 fr / Mac 12,6,5 Monterey
Plug-in Chord KERNER 1.01 :
l'installation de la version 0,67 de RGP LUA induit un bug : Plantage à l'incrémentation d'un ID de suffixe
Résolu sous la version 0.66 de RGP LUA

Plug-in Chord KERNER 1.01 :
Sous la version 0.66 de RGP LUA, la modification du suffixe "Triangle" (Accord de Septième majeure) implanté sous l'ID de suffixe 1 (selon la police utilisée)
entraînera le même type de plantage.
Bonjour Ouhla
Mais Chord KERNER a été porté sur Windows ??
Répondre