Windows 10: AutoHotKey behavior in 10

Page 2 of 2 FirstFirst 12
  1.    17 Dec 2015 #11

    Hi, thanks, I understand what you're trying to do. (No need to use !'s- I qualified screenshot with 'if relevant' on the principle that a picture can be worth 1000 scripts).
    If that doesn't work (and you could always make WMP topmost - I'm presuming you mean Windows Media Player) then have you seen this?

    Add Global Hotkeys to Windows Media Player
    I've not tried it and don't know specifically if it works in Win 10 etc. I'll leave it to you to experiment.
      My ComputerSystem Spec

  2.    17 Dec 2015 #12

    Oddly, your hotkeys started working with WMP as an inactive window, when they weren't before.

    Note this example for Winamp: - the test is a good idea, of course.
    However I haven't been able to get Controlsend to work in your example despite trying a few variations.

    This section demonstrates how to control Winamp via hotkey even when it is minimized or inactive. This information has been tested with Winamp 2.78c but should work for other major releases as well. Please post changes and improvements in the forum or contact the author.

    This example makes the Ctrl+Alt+P hotkey equivalent to pressing Winamp's pause/unpause button:

    ^!p::
    IfWinNotExist ahk_class Winamp v1.x
    return
    ; Otherwise, the above has set the "last found" window for use below.
    ControlSend, ahk_parent, c ; Pause/Unpause
    return
      My ComputerSystem Spec

  3.    17 Dec 2015 #13

    I use media monkey mostly, then VLC..
      My ComputerSystem Spec

  4.    18 Dec 2015 #14

    Ok, so you can adapt the example accordingly. According to the AHK help file, ControlSend is the appropriate command to include inactive windows.. Control only sends to active windows.

    I found it a bit erratic. Substituting the 'normal' hotkey for your string e.g.
    ^#Down::ControlSend,ahk_parent ,^P,Windows Media Player
    seemed better. You can experiment...
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
Solved Annoying sleep behavior in Performance & Maintenance
Hello, I have a Dell Optiplex 980 desktop and everything runs smooth with Windows 10. I do have a problem with sleep. The PC goes to sleep after 60 minutes as it's set to. Upon waking it up if I do not keep using keyboard or mouse it goes right...
Solved Odd hard drive behavior in Drivers and Hardware
Two days ago I defraged my primary hard drive before I went to bed. When I woke up the next day my laptop was on a black screen so I held the power button until it shut down. When I tried to boot it up I got a message saying no hard drive was found....
Odd login behavior in User Accounts and Family Safety
I'm working on a customer's computer and encountered something I've never seen before. Recently she upgraded from Windows 7 to Windows 10. When she goes to type her login password the login executes when she hits the last keystroke of the...
Solved Odd hard drive behavior in Drivers and Hardware
I have one month old 1tb hybrid hard drive and yesterday I was experiencing issues with it. It started to run slower than usual. Games wouldn't load as quickly and when I first booted into windows the desktop icons appeared as blank pieces of...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:50.
Find Us