Spotify 中下一首歌曲的热键 [英] Hotkey for next song in Spotify

查看:48
本文介绍了Spotify 中下一首歌曲的热键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

2015 年 3 月 Spotify 升级后,以下热键不再用于在 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 

使用 spy 进行检查时,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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆