#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #SingleInstance force ; Replaces script (Reloads). #Persistent ; to make it run indefinitely /* Just above this point you see this: /* These two characters and then an empty line. At the end of this section you see this: */ Again only two characters occupying the whole line. Everything between /* and */ is a comment. Comments are not read by the AHK program so don't influence the speed of execution, Another way to 'outcomment' is starting a line with a semicolon ; followed by a space. So you can use this method to write your own comments in the files. The name of THIS file is 34_Coordinates_02.ahk. The _02 in the name means: this file is part of Instalment 02 of the series AHK for MuseScore. In workhorse scripts like 34_Selection_02.ahk there is always this line: #IfWinActive ahk_exe S:\MuseScore 3.4\bin\MuseScore3.exe ; Enables Hotkeys when MuseScore3 Window is Active with the comment ; Replace the path S:\etc. with your location of MuseScore3.exe This is superfluous for 34_Coordinates_02.ahk. */ ; ===================================================================================== ; Window Select MINIMIZED (for elements - no notes - six down) (for rests 8 down) WS_01_X := 46 ; (WS_01) Same subtype WS_01 WS_01_Y := 117 ; Window Select WS_02_X := 46 ; (WS_02) Same staff WS_02 WS_02_Y := 144 ; Window Select WS_03_X := 149 ; (WS_03) In selection WS_03 WS_03_Y := 144 ; Window Select WS_04_X := 46 ; (WS_04) Same voice WS_04 WS_04_Y := 169 ; Window Select WS_05_X := 149 ; (WS_05) Same system WS_05 WS_05_Y := 169 ; Window Select WS_06_X := 46 ; (WS_06) Same duration (n.a.) WS_06 WS_06_Y := 194 ; Window Select WS_07_X := 46 ; (WS_07) Replace selection (n.a.) WS_07 WS_07_Y := 259 ; Window Select WS_08_X := 166 ; (WS_08) Add to selection (n.a.) WS_08 WS_08_Y := 259 ; Window Select WS_09_X := 46 ; (WS_09) Search in selection (n.a.) WS_09 WS_09_Y := 285 ; Window Select WS_10_X := 166 ; (WS_10) Subtract from selection (n.a.) WS_10 WS_10_Y := 285 ; Window Select WS_11_X := 178 ; (WS_11) OK WS_11 WS_11_Y := 323 ; Window Select ; ===================================================================================== ; Window Select Notes MINIMIZED- 8 x arrow down -> More WSN_01X := 46 ; (WSN_01) Same notehead WSN_01 WSN_01Y := 88 ; Window Select Notes WSN_02X := 46 ; (WSN_02) Same pitch WSN_02 WSN_02Y := 113 ; Window Select Notes WSN_03X := 46 ; (WSN_03) Same type WSN_03 WSN_03Y := 138 ; Window Select Notes WSN_04X := 46 ; (WSN_04) Same note type WSN_04 WSN_04Y := 163 ; Window Select Notes WSN_05X := 46 ; (WSN_05) Same duration WSN_05 WSN_05Y := 188 ; Window Select Notes WSN_06X := 46 ; (WSN_06) Same note name WSN_06 WSN_06Y := 213 ; Window Select Notes WSN_07X := 46 ; (WSN_07) Same staff WSN_07 WSN_07Y := 238 ; Window Select Notes WSN_08X := 162 ; (WSN_08) In selection WSN_08 WSN_08Y := 238 ; Window Select Notes WSN_09X := 46 ; (WSN_09) Same voice WSN_09 WSN_09Y := 263 ; Window Select Notes WSN_10X := 162 ; (WSN_10) Same system WSN_10 WSN_10Y := 263 ; Window Select Notes WSN_11X := 46 ; (WSN_11) Replace selection WSN_11 WSN_11Y := 328 ; Window Select Notes WSN_12X := 167 ; (WSN_12) Add to selection WSN_12 WSN_12Y := 328 ; Window Select Notes WSN_13X := 46 ; (WSN_13) Search in selection WSN_13 WSN_13Y := 354 ; Window Select Notes WSN_14X := 167 ; (WSN_14) Subtract from selection WSN_14 WSN_14Y := 354 ; Window Select Notes WSN_15X := 178 ; (WSN_15) OK WSN_15 WSN_15Y := 393 ; Window Select Notes