Skip to content

Instantly share code, notes, and snippets.

@Shiroizu
Last active December 30, 2023 15:11
Show Gist options
  • Save Shiroizu/0eb0c7c840b92238a022bd9021fe61ee to your computer and use it in GitHub Desktop.
Save Shiroizu/0eb0c7c840b92238a022bd9021fe61ee to your computer and use it in GitHub Desktop.
; Download https://www.autohotkey.com/download/ahk-v2.exe
; The correct tab must be open (https://vocadb.net/playlist)
; Window minified or fully open
browser := "Firefox"
; "Chrome" works as well
coords := "x1000 y1000"
; Verify the correct "Mouse Position" (Screen) using "AutoHotkey Window Spy"
; --------------------------------------------
^b:: ; Keyboard shortcut set to "Ctrl + b"
{
if WinExist(browser)
ControlClick coords ,,,,, "NA" ; "NA" keeps the main window up
}
; --------------------------------------------
; Other shortcut options:
; # for Win (Windows key),
; ^ for Ctrl,
; + for Shift,
; ! for Alt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment