Myriad Forum (https://www.myriad-online.com/cgi-bin/bbs/YaBB.pl)
General >> [english]MyrScript Language[/english][français]Langage MyrScript[/français] >> Script "Position partition / Score position"
(Message started by: Daniel Frouvelle on Jun 14th, 2012, 10:18am)

Title: Script "Position partition / Score position"
Post by Daniel Frouvelle on Jun 14th, 2012, 10:18am
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 (http://www.myriad-online.com/cgi-bin/bbs/YaBB.pl?board=news;action=display;num=1339605058) 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...

http://dfrouvelle.myriad-users.com/archive/positionfenetre/PositionPartition1.jpg
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...
http://dfrouvelle.myriad-users.com/archive/positionfenetre/PositionPartition2.jpg
Il se place dans Scripts>Divers.
Vous pouvez télécharger ici la dernière version (http://dfrouvelle.myriad-users.com/archive/positionfenetre/PositionFenetre2.msa)
Amistats, Danièl.

Title: English translation and instructions
Post by Tony Deff on Jun 14th, 2012, 1:45pm
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 (http://www.myriad-online.com/cgi-bin/bbs/YaBB.pl?board=news;action=display;num=1339605058) 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 (http://dfrouvelle.myriad-users.com/archive/positionfenetre/PositionFenetre2.msa) 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!

Title: Re: Script "Position partition / Score position"
Post by Daniel Frouvelle on Jun 14th, 2012, 7:10pm
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.

Title: Horizontal slider / Curseur horizontal
Post by Tony Deff on Jun 14th, 2012, 7:49pm
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

Title: Re: Horizontal slider / Curseur horizontal
Post by Daniel Frouvelle on Jun 17th, 2012, 10:19pm

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.


Title: Re: Script "Position partition / Score position"
Post by Daniel Frouvelle on Jun 21st, 2012, 12:12pm
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 (http://dfrouvelle.myriad-users.com/archive/positionfenetre/PositionFenetre2.msa)
Amistats, Danièl.



Myriad Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB 2000-2002,
Xnull. All Rights Reserved.