Spotify中下一首歌曲的热键 [英] Hotkey for next song in Spotify
本文介绍了Spotify中下一首歌曲的热键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Spotify于2015年3月升级之后,以下热键不再适用于在Spotify中获取下一首歌曲:
After March 2015 upgrade of Spotify the below hotkey no longer works to get next song in Spotify:
; Spotify next track
<^>!p::
DetectHiddenWindows, On
ControlSend, ahk_parent, ^{Right}, ahk_class SpotifyMainWindow
DetectHiddenWindows, Off
Return
使用间谍进行检查时,SpotifyMainWindow"似乎相同,并且Ctrl-Right仍可用于Spotify中的下一首歌曲,但热键无效.
The SpotifyMainWindow" appears to be the same when checking with spy, and Ctrl-Right also still works for next song in Spotify, but the hotkey don't.
如何在升级后的Spotify中为下一首歌曲设置热键?
How to make a hotkey for next song in the upgraded Spotify?
推荐答案
我设法使用多媒体键码使其工作.这是我的脚本:
I managed to make it work using multimedia keycodes. Here's my script:
; "CTRL + LEFT" for previous
^Left::Media_Prev
; "CTRL + RIGHT" for next
^Right::Media_Next
; "CTRL + SPACE" for pause
^Space::Media_Play_Pause
它现在就像一种魅力.
这篇关于Spotify中下一首歌曲的热键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文