![]() WinGet, style, Style, ahk_id %spotifyHwnd%Īfter 2 hours of tests, I found that if an other Chrome Window with Twitch is opened (actually, it's the "Twich desktop app"), the command is send to this window instead of the Spotify one. Focus the document window without bringing the app to the foreground.ĬontrolFocus, Chrome_RenderWidgetHostHWND1, ahk_id %spotifyHwnd%ĬontrolSend,, %key%, ahk_id %spotifyHwnd% Chromium ignores keys when it isn't focused. WinGet, spotifyHwnd, ID, ahk_exe spotify.exe Get the HWND of the Spotify main window. License: GNU General Public License version 2.0 AutoHotkey script to control Spotify with global keyboard shortcuts Learn more about bidirectional Unicode characters To review, open the file in an editor that reveals hidden Unicode characters. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |