Skip to content

Instantly share code, notes, and snippets.

@SamuelNittala
Created December 10, 2023 13:25
Show Gist options
  • Save SamuelNittala/197bbd595db82586b2a6ec1fce344de8 to your computer and use it in GitHub Desktop.
Save SamuelNittala/197bbd595db82586b2a6ec1fce344de8 to your computer and use it in GitHub Desktop.
AutoHotKey Script for liking ytmusic song
/*
Requirements:
1. Install YTMusic PWA
2. Install https://chromewebstore.google.com/detail/youtube-like-dislike-shor/fdkpkpelkkdkjhpacficichkfifijipc
*/
#+::
SetTitleMatchMode, 2
if WinExist("YouTube Music")
WinActivate
Send, {+}
sleep, 700
WinMinimize
return
#_::
SetTitleMatchMode, 2
if WinExist("YouTube Music")
WinActivate
Send, {_}
WinMinimize
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment