I can no longer use Autohotkey controls with spotify

Hello, I use spotify whilst working (read: gaming) and I'd ahte to minise the winodw everytime I want change songs or volume, so I use an autohtokey script I found online - but it doesn't work with this terrible awful updated spotify. I'll just post the script here and hope for some assistance:
SetTitleMatchMode 2
; "CTRL + LEFT" for previous
^Left::
DetectHiddenWindows, On
ControlSend, ahk_parent, ^{Left}, ahk_class SpotifyMainWindow
DetectHiddenWindows, Off
return
; "CTRL + RIGHT" for next
^Right::
DetectHiddenWindows, On
ControlSend, ahk_parent, ^{Right}, ahk_class SpotifyMainWindow
DetectHiddenWindows, Off
return
; "CTRL + UP" for pause
^UP::
DetectHiddenWindows, On
ControlSend, ahk_parent, {space}, ahk_class SpotifyMainWindow
DetectHiddenWindows, Off
return
; "CTRL + DOWN" for info
^Down::
DetectHiddenWindows, On
SetTitleMatchMode 2
WinGetTitle, now_playing, ahk_class SpotifyMainWindow
StringTrimLeft, playing, now_playing, 10
DetectHiddenWindows, Off
clipboard = %playing%`r`n
return
; "CTRL + PAGE UP" for volume up
^PgUP::
DetectHiddenWindows, On
ControlSend, ahk_parent, ^{Up}, ahk_class SpotifyMainWindow
DetectHiddenWindows, Off
return
; "CTRL + PAGE DOWN" for volume down
^PgDn::
DetectHiddenWindows, On
ControlSend, ahk_parent, ^{Down}, ahk_class SpotifyMainWindow
DetectHiddenWindows, Off
return
; "CTRL + END" for mute
^End::
DetectHiddenWindows, On
ControlSend, ahk_parent, ^+{Down}, ahk_class SpotifyMainWindow
DetectHiddenWindows, Off
return
}

I'm disappointed that the commands don't work as they used to, and I really hope Spotify fixes whatever changed. For the meantime, I've made a quick workaround for the commands. It unfortunately has to activate the Spotify window to send the command, but then minimizes it and activates the window you were using. I haven't had time to do all of the commands, but this will do System Volume Up/Down, Pause/Play, Next, and Previous.  It should work for basic and premium users. Hope it helps.  ;Alterations by jwp0015, 3/12/2015
;Original code taken from: http://www.autohotkey.com/board/topic/94218-spotify-global-hotkeys-volume-control-skip-songs-current-song-to-clipboard-star-songs-without-opening-spotify/
;Original code gives credit to:
;Base Spotify Script from: http://www.autohotkey.com/board/topic/36239-spotify-global-hotkeys/
;Base Starting Script from: http://superuser.com/questions/324416/any-spotify-tweaks-with-keyboard-shortcut-to-star-tracks
;|------------------|
;|--[ SETTING UP ]--|
;|------------------|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance, Force ; Forces only one script to run at a time (prevents dialogue box requesting permission)
#IfWinExist, ahk_exe spotify.exe ;Only do the following if Spotify is running
#NoTrayIcon ;Prevents a tray icon from displaying
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
DetectHiddenWindows, On ;Detect Spotify even if it's minimized
SetTitleMatchMode, 2 ;Detects partial title names.
!Up::Volume_Up ;Alt + Up for system volume up.
!Down::Volume_Down ;Alt + Down for system volume down.
;|---------------|
;|--[ HOTKEYS ]--|
;|---------------|
; "ALT + LEFT for previous
!Left::
WinGetTitle, wintit
Winactivate, ahk_exe spotify.exe
;~ Sleep, 300
Send, ^{Left}
WinMinimize, ahk_exe spotify.exe
WinActivate, wintit
return
; "ALT + RIGHT" for next
!Right::
WinGetTitle, wintit
Winactivate, ahk_exe spotify.exe
;~ Sleep, 300
Send, ^{Right}
WinMinimize, ahk_exe spotify.exe
WinActivate, wintit
return
; "ALT + P" for pause
!p::
WinGetTitle, wintit
Winactivate, ahk_exe spotify.exe
;~ Sleep, 300
Send, {Space}
WinMinimize, ahk_exe spotify.exe
WinActivate, wintit
return
^+F1::ExitApp ;Control + Shift + F1 to exit script.
;~ F2::Pause

Similar Messages

  • HT4528 On 6.0.2 just did some app updates on my iphone 5 and can no longer use wifi, same with my ipad

    Just did 4 updates to my ipad3 running IOS 6.0.1 and wifi now has problems, just checked my iphone5 running 6.0.2 and same problem exists.

    It's because your phone will pick up LTE and then it'll lose it. What you need to do is turn off the LTE (until the service is better, more available) and you won't go in and out of service.
    Go to Settings > General > Cellular > Enable LTE - OFF

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • Question: Inadvertently a visiting toddler gained access to my computer during a visit. He's obviously fiddled with something as I can no longer use my arrow keys to navigate through my albums or events on iPhoto. Please help!

    Question: Inadvertently a visiting toddler gained access to my computer during a visit. He's obviously fiddled with something as I can no longer use my arrow keys to navigate through my albums or events on iPhoto. Only one pic shows up in the album view - I can't see any thumbnails. To see the other pics I have to use the scroll bar on the right hand side of the window. Please help!

    Depeding on your version of iPhoto: On the left (iPhoto 11) or right (earlier versions) of the lower frame of the iPhoto Window you'll see a slider. Drag it left.
    Regards
    TD

  • Since updating to FF 8 I can no longer use Multirow book marks, can anyone help with this issue?

    Since updating to FF 8 I can no longer use Multi-row book marks, can anyone help with this issue? the one I used is here http://multirowbookmarkstoolbar.com/

    Try the support site:
    *http://multirowbookmarkstoolbar.com/forum
    *Multirow Bookmarks Toolbar Plus: https://addons.mozilla.org/firefox/addon/multirow-bookmarks-toolbarplus/

  • How can one use Mission Control with two monitors?  Please bring Spaces back

    How can one use Mission Control with two monitors.  With Spaces I could treat each space as a single desktop.
    SyBB

    I use two monitors at work and have no issue. I have my mail set to use Desktop 1 and iTunes set to the second monitor of Desktop 1. I have browsers set to Desktop 2 and Fusion and RDC set to Desktop 3.
    Two things that may help you. In System Preferences > Mission Control, disable the setting "Automatically rearrange spaces...". This screwed with assigning applications to certain spaces. And the other thing is don't use full screen on apps that support it. This just makes your second monitor superfluous.

  • With Mavericks and Safari 7, I can no longer use address bar to search.

    With Mavericks and Safari 7, I can no longer use address bar to search. It shows the suggested searches but nothing happens when hitting enter or clicking with mouse. What can I do? No extensions btw.
    I just cannot search - it won't work.

    I had this problem and finally figured it out. Try going to View, and then Show Toolbar. I hope this helps everyone...
    EDIT: I didn't read your question carefully enough. Sorry. My problem was that the toolbar wasn't showing up at all.

  • Since updated to Firefox 4 I can no longer use HP Simple Pass to manage my logins. It worked fine with Firefox 3.6

    I have a HP Pavilion DV6 Laptop and really like the HP Simple Pass password system the laptop offers. I have been using with FF since getting the computer last Oct 2010 with no issues. I just upgraded to FF4 and now can no longer use the HP Simple Pass finger print reader with FF4. Is there a way to fix this problem?

    The company that make the bioscanner for HP have abandoned it. For more details see https://support.mozilla.com/en-US/questions/799388

  • HT1338 I can no longer use Macmail for my btinternet account.  I was advised to delete the imap account and begin again with a pop account for incoming mail.  My Macbook will not let me do that and neither BT nor Yahoo have been able to help.

    I can no longer use Macmail for my btinternet account.  I was advised to delete the imap account and begin again with a pop account for incoming mail.  My Macbook will not let me do that and neither BT nor Yahoo have been able to help.

    Btinternet being your internet service provider? If I'm correct, have you followed their directions:
    http://btbusiness.custhelp.com/app/answers/detail/a_id/7073/c/2048,2053,3883,206 5
    Just found a seemingly newer article (and there are several more on the right of those pages):
    http://btbusiness.custhelp.com/app/answers/detail/a_id/7071/related/1/session/L2 F2LzEvdGltZS8xMzU0NzI1NTMyL3NpZC9qaThFVi1jbA%3D%3D

  • Since I put Mountain Lion on my MacAir my PowerPoint and Keynote Presentations freeze up when I am presenting.  This is so unacceptable when I have 75 - 500 people I am presenting in front of.   I can no longer use my presenter tool either.  Is there help

    Since I put Mountain Lion on my MacAir, my Power Point presentations freeze up when hooked to an LCD projector.  I can no longer use my presenter clicker tool that moves my slides as I walk among my audiences.  This is totally unacceptable in the kind of work that I do.  The Genius Bar person told me to try Keynote but that is even worse.  I wanted to go back to Snow Leopard but because I have backed up my information on an external hard drive she said I cannot go back to Snow Leopard.  Does anyone know of a solution to this problem?  I have several presentations coming up in the next six weeks.

    You need to move to Windows 7, because Apple is now releasing a new OS X version annually and it's playing havoc with people's hardware and software.
    Windows 7 will get support until 2020, that's 8 years of software stability, however you do need to make System Restore disks, boot disk and another on a hard drive to self restore (like TimeMachine is for OS X)
    Apple has no plans to change their currrent behavior as all they care about is selling new hardware with a shiny new OS X verison on it.
    If you wait to move, what will happen is you'll lose that full 8 years and will have to swtich to a newer Windows sooner
    Windows 7 machines are still widely avaialble, despite Windows 8 (a failure) being pushed currently.
    Running three OS X operating systems on one machine is quite a chore reserved for only seasoned computer geeks, then it's only going to last X months as the next OS X version will be released, then the next a year after that.
    Another method would be to get a virtual machine software (virtualbox is free) and install Windows 7 into that to ease your transitition if you cant' spring for a Windows 7 machine, preferablly a tower that will last a long time.
    Here is a method to run Snow Leopard in Parallels, however it's a unapproced hack and not for the comptuer newbie.
    http://forums.macrumors.com/showthread.php?t=1365439
    We have no control over Apple's OS X release cycle, nor the third party developers who make their own decisions what to support.
    Our only choice as users to stop using both products and seek software/hardware stability.

  • Since iOS 8.1.1 I can no longer use my mail app.

    Since iOS 8.1.1 I can no longer use my mail app on my iPad Mini. The mail app opens and updates, however the screen does not respond to anything. Am rather stuck as to what to do. This is the Mail App that comes with the iPad Mini.
    I have tried to turn the iPad On/Off all to no avail. I don't really want to reset my iPad as this will cause more trouble than it is worth and will ultimately update the iPad to iOS 8.1.1 anyway. Do any of you have any suggestions that don't involve resetting the iPad ?
    Thanks All

    Before you delete your mail accounts, try giving your iPad a reset and force closing the mail app. It may clear up the glitch before you remove and add your info again
    Reset
    Hold down the sleep and home keys for about 20 seconds. When you see the silver apple, let go and let it reboot. No data will be lost.
    Force close an app
    Double tap the home button. When you see the app previews on the screen scroll sideways if needed to get the preview in question on the screen. Flick that preview up and off the screen to close the app. Single tap the home button or home screen preview to exit the mode.
    If those don't fix it then try to remove and put your info back in.

  • On my 2012 MBP I can no longer use dual screens/HDMI after upgrading to 10.8.2. I'm using Moshi Thunderbolt adapter

    On my 2012 MBP I can no longer use dual screens/HDMI after upgrading to 10.8.2. I'm using Moshi Thunderbolt adapter

    I think you are sailing in uncharted waters with those kind of modifications.
    I am only guessing, but if you have not already done so,  do a PRAM reset and then trash your FCP preferences.
    Big Poppa Chris wrote:
    I've also notice when I start the computer up, it stays on the grey screen longer than it did when I had the original card (512 mb).
    My understanding is the Mac is doing a ram/hardware test during the grey screen, if the card you added had additional memory, then it is very likely the test will take longer - but I am no hardware expert.
    MtD

  • I updated my iphone 5 to ios 6.0.2. my wifi says its connected but doesn't work now. It doesn't matter what wifi network I connect to. It worked before updating my phone. I can no longer use facetime or use wifi at all. I'm not sure what to do to fix it.

    I updated my iphone 5 to ios 6.0.2. my wifi says its connected but doesn't work now. It doesn't matter what wifi network I connect to. It worked before updating my phone. I can no longer use facetime or use wifi at all. I'm not sure what to do to fix it.

    I'm having similar issues with my phone.  I got my first iPhone recently, only had an iPod touch gen4 for a little over a year.  Updated to 6.0.2 when we got the phone (iPhone 5) a few days before Christmas.  When I got home on the evening of January 11, my phone would not connect the router anymore.  I was able to get it to connect after resetting the phone and the router, updating the router, and manually connecting.  That laste for a few minutes and then wouldn't work anymore.   I live in an area with very limited service, we have a network extender installed to help, and I am barely getting a 3G signal at times.
    My wife's iPad 4, my touchiPod 4, and all of our laptops are working just fine on the router.  When I dropped my kid off at school today, I noticed that I am not even seeing the school network anymore from the parking lot where before I got 3 or 4 bars and could connect to their wifi when I was there.  Today my phone goes back and forth between seeing my home network but not connecting, to not even seeing the network at all even from the same room that the router is in.
    Hope Apple fixes this problem soon..............

  • TS1398 My iPhone 5s can no longer use Internet on a wifi network. I've reset everything, how can I roll back to iOS 7?

    My iPhone 5s can no longer use Internet on a wifi network. I've reset everything, how can I roll back to iOS 7?
    i Was considerinf buying a macbook pro, but am reconsidering spending such an amount of money on a company that can screw up such a basic function. I mean you can have your iOS 8 back if this is what it means, I don't want to use your health Kit app.

    You cannot 'roll back' your iOS.  That's never been supported or allowed by Apple (with only one exception).
    Use this article: iOS: Troubleshooting Wi-Fi networks and connections - Apple
    It's not the iOS.  It may be a setting on your iPhone or the wi-fi network, or a hardware issue.  But it's not the iOS.  If it was, then everyone's iPhone 5S using the same iOS would not be working, and that's not the case.
    Troubleshoot your issue.

  • Months of frustration - can no longer use my Droid Razr M for calls at home

    I'm hoping that a Verizon customer support person will see this and contact me. As detailed below, because of cell reception issues in my neighborhood and especially at my house, I can no longer use my phone to make or receive calls in this area. I have been patient while working with customer support for several months, but my patience is at an end. If I can't get an immediate fix for this problem, then I request that the early termination fee waived.
    I've attempted to work with Verizon customer support for the last many months regarding poor cell reception in my area of Durham, especially at home. I get excellent reception elsewhere. During calls, people frequently have problems hearing me (I'm tired of having to repeat myself so often) and calls are frequently dropped. There have been a few instances when a single conversation will be conducted over three or four separate calls because of drops. Walking around my house -- even trying to walk outside in hopes of getting a better signal -- makes the problem worse.
    Here's the kicker: I've found a temporary solution in using a $10 Tracfone that gives me great reception. I've relied upon it for most calls at home over the last 6 weeks or so.
    Since October, following different phone or web conversations with Verizon support and visits to local Verizon stores , I've had the Preferred Network Mode reset to LTE then later reset back to Global (neither change made a difference)  I've replaced the SIM card (made no difference), I've rec'd a replacement phone (no difference). During the visit to the Verizon store about a half mile from my house to get a new SIM card, one of the sales associates warned that I wouldn't be able to determine right away whether it made a difference since reception in the neighborhood was so bad.
    I most recently contacted customer support on Feb 8, I spoke with someone who reviewed the record of my calls and could see several drops. He encouraged me to use my Razr at home more often so that Verizon could have as much data as possible to troubleshoot the issue and asked that I call back in a week or two. .
    So I've been using the Razr more often but to great frustration. I've had business calls drop several times back on Feb 12 & 13, and multiple drops again on Feb 25. Other calls did not drop but people would often interrupt me to say that I was breaking up or fading out, so I'd have to move around my house or go outside or come back inside until they could hear me more clearly again.
    What makes this worse is I've had no luck getting back in touch with customer service the several times I've tried over the last 4 or 5 days. I've tried calling several times but end up hanging up after being on hold for several minutes and I've tried the Live Chat but always get the "all agents are busy" message. Have tried mornings mid day, evenings, but it makes no difference.
    So if I can't get an immediate fix for this problem, I would request that the early termination fee (I'm just shy of 13 months into a 2-year contract) be waived in light of the frustrations and the long period over which I've tried to work with Verizon to find a solution but without success.

    I'm adding screen shots taken from this afternoon showing connection that varied from non-existent to 1X.

Maybe you are looking for

  • Can't create ODBC connection in Windows Server 2012R2

    I just finished installing the instant client & odbc connection on Windows Server 2008R2. I then attempted to perform the same installation on a new Windows Server 2012R2 instance and encountered the following issue. After extracting the contents of

  • Export option in discoverer viewer

    Hi All, I am using oracle 9ias discoverer and i need to remove export option from discoverer viewer page. I made changes in ui_config.xsl and also unchecked the export data option from preferences page, but it is not reflected in my workbook. when i

  • How to resize a StageWebView

    Hello, I'm searching for some assistance with StageWebView on Android. The code used to load the page is below. The code works everytime on my Android device and on the desktop emulator. I want to resize a View where is the StageWebView control, but

  • Which should I go for

    Which network seems more reliable in your opinion, upgrading nrxt weeek to an N95, I have choice of T-Mobile or Orange, any advice welcome, thanks

  • How can we delete/purge Customer Bill To's and Ship To's?

    Hi, We have 2 operating Units and one operating unit is disabled. We have some issues with Customer Bill To's and Ship To's of disabled operating unit, so can anyone please guide us to purge/delete customer Bill To's and Ship To's from old operating