#IfWinExist ahk_class SpotifyMainWindow Only do the following if Spotify is running SetWorkingDir %A_ScriptDir% Ensures a consistent starting directory.ĭetectHiddenWindows, On Detect Spotify even if it's minimized SendMode Input Recommended for new scripts due to its superior speed and reliability. #NoEnv Recommended for performance and compatibility with future AutoHotkey releases. Depending on the game that can be a pain, but it's the best I can do without fancy DLL calls and stuff. Unfortunately the context menu means that it will minimize full-screen applications like games for a split second. So I've come up with a reasonably solution, it opens up a context menu even when the program is minimized and does everything including not unstarring songs. I want all this to happen when the Application is in the tray, without opening the window. If it's already starred then just leave it alone. To make matters even harder, I only want the Autohotkey script to star the song if it's not already starred.
So I have an Autohotkey script that gives me global hotkeys for playback control, volume and copying the song title (including em dash fixing) but I've hit a brick wall trying to figure out how to star the current song.
Frustratingly 'starring' the song that is currently playing does not have a keyboard shortcut, even when the window is active.
Okay so the Spotify application on Windows does not have inbuilt support for global hotkeys, and very basic hotkeys even when the application window is currently active. Your question probably has already been asked!Ĭheck out our wiki and its FAQ page for more information.How to star a Spotify song while it's minimized?
As of right now, some automations must be confirmed in order to run.
Shortcuts that maliciously conceal the purpose of high-risk actions (such as send message) violate this rule. This can be in the body of a text post or in a comment on a link post. Rule 6: Shortcut posts must fully describe the shortcut.Īll posts marked with the 'shortcut' flair must have an explanation of the shared shortcut. Rule 5: Shortcut posts must include a shortcut link.Īll posts marked with the 'shortcut' flair must have a link, whether it is as the URL provided in a link post or somewhere in the body of a text post. If what you want to say is not civil, please do not post it at all. See rule #5 for information on how to share links to shortcuts. You should only use Imgur, Gfycat, or Reddit to host media, such as screenshots, GIFs, and videos. Rule 3: Use Imgur/Gfycat/Reddit to host media.
Rule 2: Don't link to illegally hosted content.ĭo not include links in your posts or shortcuts to places that violate copyright law, such as torrent sites or free streaming sites. In addition to Reddit's rules, this subreddit has some additional rules: Rule nameĬontent without any significant commentary relevant to the Shortcuts app and related features may be removed. Sharing Shortcuts you made or found online.These can be triggered manually or through Siri, and in some exceptional circumstances they can be triggered through external inputs. Shortcuts are scripts that automate tasks. This app allows you to create and share Shortcuts. This subreddit is for the Shortcuts app for iOS and macOS.