Author |
Topic: Script "Position partition / Score position" (Read 828 times) |
|
Daniel Frouvelle
Board Master
    

WWW | Email
Gender: 
Posts: 1103
|
 |
Script "Position partition / Score position"
« on: Jun 14th, 2012, 10:18am » |
Quote | Modify
|
Bonjour, avez-vous déjà ouvert une partition et parce qu'elle n'était pas au bon endroit, qu'il fallait la repositionner, la réajuster, et clic par-ci et clic par là...BRYAN m'a mis la puce à l'oreille et je viens de réaliser un petit script qui enregistre et sauvegarde des configurations de fenêtres de partitions (Position dans la fenêtre HA, taille, échelle). ...AVAILABLE IN ENGLISH... Pour cela ajuster la partition en mode page en avant plan, puis clic dans le bouton du bas (ou rotation de la molette pour ajuster l'échelle). La configuration est enregistrée. Faire de même avec la partition en mode ruban.[Edit](Ajuster la partition en mode ruban, puis clic dans le bouton du bas pour enregistrer la configuration.[/Edit] Lorsqu'on ouvre une nouvelle partition ou que l'on met une autre partition déjà ouverte en avant plan elle s'ajuste automatiquement à la configuration courante. Rotation de la molette dans le bouton du haut pour changer de configuration courante (ll y en a 8.) Le petit dessin qui va avec... Il se place dans Scripts>Divers. Vous pouvez télécharger ici la dernière version Amistats, Danièl.
|
| « Last Edit: Jun 21st, 2012, 12:05pm by Daniel Frouvelle » |
offline |
|
|
|
Tony Deff
Board Full Member
  
 We must re-cycle, but not for at least 70 years!
Email
Gender: 
Posts: 225
|
 |
English translation and instructions
« Reply #1 on: Jun 14th, 2012, 1:45pm » |
Quote | Modify
|
Have you ever opened a score and, because it was not the right place, have had to "move this, re-adjust that, click here and click there"? So asks Daniel. Prompted by an anguished user's question in the HA forum, Daniel has concocted a script that records and saves the Windows configuration data as used by H.A. (position in the window, size, scale). Click on the red link below to load the script into Harmony Assistant, then simply invoke it via the H.A. menu: Scripts / Miscellaneous / Score window position. A small window with 2 grey buttons appears, allowing you to save/retrieve 8 sizes/positions, each with Page Mode and Ribbon Mode definitions. When opening a new score (or you bring another score already open to the foreground) it automatically adjusts to the current saved configuration. Detailed Instructions for Dummies Click on this link to auto-load the Version 2 script into Harmony Assistant. As with any download, you will get a new window showing the downloaded file: You have chosen to open PositionFenetre2.msa ... from htttp://dfrouvelle,myriad-users.com Just trust Daniel; click O.K (that is, open with H.A) and close the download window. Check for Archive successfully installed in the MyrScript Log window, then close it. Check H.A. for the new entry: Scripts / Miscellaneous / *Score window position. Click on it, and (if first-time load) on "Yes" to a new introductory explanation window. Drag the new small window ("Position v2") by its top blue banner to any convenient location. This new script window does nothing unless a score is loaded: multiple open scores are cascaded such that you can easily bring one to the foreground. Scrolling the mouse wheel within the top grey button loops the display between Position 1 to Position 8. A click then applies one of 8 previously defined positions & scales to the document being viewed. A small window with 2 grey buttons appears. The top button selects (mouse wheel) 1 of 8 memories and retrieves the parameters (click) that you have previously set. Scrolling the mouse wheel within the lower button loops the storage option between: Save - full width Save - current scale Save - full page Clicking on this selects one of 3 storage options and over-writes the previous memorised setting (if any). More about this when I understand it myself!
|
| « Last Edit: Oct 10th, 2012, 6:11pm by Tony Deff » |
offline |
|
|
|
Daniel Frouvelle
Board Master
    

WWW | Email
Gender: 
Posts: 1103
|
 |
Re: Script "Position partition / Score position"
« Reply #2 on: Jun 14th, 2012, 7:10pm » |
Quote | Modify
|
Bonjour Tony, et merci pour les explications pour les anglophones. Quote:| Do the same with the score in scroll mode. ( to be clarified). |
| Mettre la partition en mode ruban, la positionner, la retailler, ajuster l'échelle et clic dans le bouton du bas de la palette pour enregistrer la configuration. Pour une même configuration ("Position n" du bouton en haut) les modes page et ruban sont sauvegardés. La position, la taille, l'échelle de la partition sont ajustées selon les données enregistrées lorsqu'on passe du mode page au mode ruban, et vice versa. Amistats, Danièl.
|
|
offline |
|
|
|
Tony Deff
Board Full Member
  
 We must re-cycle, but not for at least 70 years!
Email
Gender: 
Posts: 225
|
 |
Horizontal slider / Curseur horizontal
« Reply #3 on: Jun 14th, 2012, 7:49pm » |
Quote | Modify
|
In Page Mode, when this script is loaded, my horizontal cursor disappears ! I close the script, close the score, re-load the score and I have the cursor again. Tony
|
| « Last Edit: Jun 14th, 2012, 7:53pm by Tony Deff » |
offline |
|
|
|
Daniel Frouvelle
Board Master
    

WWW | Email
Gender: 
Posts: 1103
|
 |
Re: Horizontal slider / Curseur horizontal
« Reply #4 on: Jun 17th, 2012, 10:19pm » |
Quote | Modify
|
Quote:| In Page Mode, when this script is loaded, my horizontal cursor disappears ! |
| Bonsoir Tony, peux-tu m'envoyer sur mon mail privé une capture d'écran, (avec la fenêtre de Harmony Assistant complète) Quote:| I close the script, close the score, re-load the score and I have the cursor again. |
| Et une autre capture d'écran dans ce cas aussi. Amistats, Danièl.
|
|
offline |
|
|
|
Daniel Frouvelle
Board Master
    

WWW | Email
Gender: 
Posts: 1103
|
 |
Re: Script "Position partition / Score position"
« Reply #5 on: Jun 21st, 2012, 12:12pm » |
Quote | Modify
|
Bonjour, Lorsqu'il y a plusieurs partitions dans la fenêtre HA, le script les place toutes au même endroit et à la même taille. C'est un peu gênant pour naviguer dans les partitions. La nouvelle version les place automatiquement en cascade et les rend plus facilement accessibles. Un petit changement sur le visuel du script lorsqu'on est en mode ruban, qui rend je pense un peu plus compréhensible le fait de pouvoir enregistrer une configuration dans les deux modes - Page et Ruban - Vous pouvez télécharger ici la version 2 Amistats, Danièl.
|
|
offline |
|
|
|
|