Spotify ControlSend

  • Hi Leute...
    Ich bin am verzweifeln... Wenn ich

    AutoIt
    ControlSend([CLASS:SpotifyMainWindow], "", "", "^{UP}")

    ausführe, dann wird die Lautstärke in Spotify lauter. Wenn ich allerdings

    AutoIt
    ControlSend([CLASS:SpotifyMainWindow], "", "", "{SPACE}")

    ausführe (und Spotify jetzt eigentlich Play bzw. Pause machen sollte), passiert nichts.

    Ich weiß nicht was ich falsch mache... Oder liegt es an Spotify? ?(

  • It seems that this is a issue in the new versions of Spotify. For some reason, the space key being sent to it doesn't work.
    I also tried with AutoHotKey (which is sometimes better than AutoIT for some things) and it also works with EVERYTHING BUT the space key to play/pause.

    Quelle: Sending key presses to Spotify

    Im englischen Forum ist auch eine keySend UDF per DLLCall veröffentlicht. Funktionsweise kann ich nicht garantieren / testen / gewährleisten, aber probiere es mal damit:

    Quelle: user32.dll to send key

    Es gibt sehr viele Leute, die glauben. Aber aus Aberglauben.
    - Blaise Pascal