#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. #InstallMouseHook #SingleInstance force ; Replaces script (Reloads). #Persistent ; to make it run indefinitely #IfWinActive ahk_exe S:\MuseScore 3.6.2 portable\MuseScorePortable\App\MuseScore\bin\MuseScore3.exe ; Enables Hotkeys when MuseScore3 Window is Active ; Replace the path S:\etc. with your location of MuseScore3.exe ; change the extension .txt in .ahk ; Hotkey Capslock + Q on US qwerty keyboard: ergonomic ~CapsLock & q:: ; create tempo = 1 Send +!t ; MuseScore3 shortcut - create tempo text Sleep, 200 Send {end} ; to last number tempo text Sleep, 50 Send {BS 3} ; erase tempo text Sleep, 50 Send 1 ; create very slow tempo Sleep, 50 Send {Escape} Sleep, 50 Send !{left} ; back to note Return