Spotify hotkeys

Allows hotkeys and media keys to control the Spotify web player from any tab

< 腳本Spotify hotkeys的回應

評論:正評 - 腳本一切正常

§
發表於:2019-03-24

It works

But I want to work focusing any app in desktop and custom keys

§
發表於:2019-04-05
編輯:2021-01-05

focusing any app

This is currently not possible with Firefox. But I have written a AutoHotKey-Script that sends the keys to Firefox if it's not focused in the moment.

custom keys

These could be changed directly in the Userscript, or you could specify the custom keys in the AHK-Script.

If you need an exe of that script pm me, otherwise, here is the code of the AHK-Script:

Media_Play_Pause::ControlSend,ahk_parent, {Media_Play_Pause}, ahk_exe firefox.exe
Media_Next::ControlSend,ahk_parent, {Media_Next}, ahk_exe firefox.exe
Media_Prev::ControlSend,ahk_parent, {Media_Prev}, ahk_exe firefox.exe
$^!p::ControlSend,ahk_parent, {Media_Play_Pause}, ahk_exe firefox.exe
$^!.::ControlSend,ahk_parent, {Media_Next}, ahk_exe firefox.exe
$^!,::ControlSend,ahk_parent, {Media_Prev}, ahk_exe firefox.exe

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址