AutoHotKey Kit 02 - Selection

• Apr 25, 2020 - 00:33

The first instalment of this series gave shortcuts for all Palette items of the advanced workspace.
In the second and the third the focus is on selection.
Selection by rightclicking an element entering the contextual menus is a very repetitive task.
It can easily be automated once you have determined the coordinates of the hotspots in the Windows 'Select' and 'Select Notes'.
For all elements except notes and rests the script uses these shortcuts:

As first key:
Range = Control Score = Shift Staff = CapsLock Voice = Alt Staff + Voice = WinLogo key

As second key: for All similar the RightMouseButton , for Same subtype the MidMouseButton

For notes (and rests if applicable)
As first key:
For Score and Range the closing bracket ] For Staff the opening bracket [
As second key: Same Duration D - Pitch P - Notename N - Voice V

The script 34_Coordinates_02.ahk is the repository of all coordinates.
There you replace the given coordinate numbers with your own numbers.
This repository will be updated at any new instalment that uses coordinates.

Because it is quite related I want to mention the topic of the third instalment of this AHK kit.
This will be 'Color Search and Selection'.
The selection possibilities and the speed of selection can be greatly enlarged.
By coloring notes we create an on screen 'memory' for subsequent multiple selections.
Eight colors are dedicated to making four left-right pairs giving us four ranges for instant selection on the same screen.
Of course those ranges will exist until a color is reset, without touching the mouse.
Upto 24 colors can be set (and reset) without touching the mouse.
These colors can be searched in the score.
This has many very useful applications.

Finally: there are the 4 'voicecolors' of a selected note or other type of element.
Shortcuts optimized for accessibility let the mouse in no time travel to these colors and click them.
This reduces manual stress tremendously. Using the mouse becomes a rarity.

Back to this instalment:
For renaming the extension of the two .txt files in .ahk files and the necessary tool PixelMousing: see the first instalment.
AutoHotKey Kit 01 - Apply Symbols from Palette https://musescore.org/en/node/303798
Good music!

Do you still have an unanswered question? Please log in first to post your question.