dozhd Можно как то так. Ну или зайти сюда или сюда.
#SingleInstance force
#Persistent
#NoEnv
#MaxHotkeysPerInterval
Home::
SetTimer, SendHome, % (enabled := !enabled)? 1:"Off"
SendHome:
SendInput, {vk51} ;q
Sleep, 100
SendInput, {vk70} ;f1
Sleep, 100
SendInput, {vk51} ;q
Sleep, 100
SendInput, {vk33 3} ;3
Send, {vk1 Down} ;Lbutton зажать
SendInput, {vk5} ; XButton1
Sleep, 100
SendInput, {vk2} ;Rbutton
Sleep, 50
SendInput, {vk5} ; XButton1
SendInput, {vk33 3} ;3
SendInput, {vk1 Up} ;Lbutton отпустить
return
OS: Win11x64, AutoHotkey v1.1.25.01 (Unicode 64-bit).