Jump to content

Hotkey for Next Song in iTunes


Traddles
 Share

Recommended Posts

I want to be able to call a method that will send a message to itunes (minimized to tray) to move to the next song.... is there a way to send a message to an external app and also, does anybody know much about the internal guts of itunes for what that message might be?

I know this is a long shot but I would rather not have to restore the window, mousemove, etc... because a lot of times I'm doing things in the foreground and just want the playlist to move on in the background.

does anybody know if this is possible with AutoIt?

Link to comment
Share on other sites

Link to comment
Share on other sites

A wild guess... Itunes might have this already :whistle: I know winamp have global hotkeys and my guess is that Itunes have it to :)

heh, already checked into it. Only the MAC version has global hotkeys. Windows version has hotkeys but only if the window is open and active. Also, is there an "AutoIt" for MAC, and would some scripts be cross-platform capable?

obviously the answer is no if I've compiled my script into a .exe but what about the script itself?

Link to comment
Share on other sites

Well show the script :whistle:

ok, I actually use one script to do a lot on my computer. it looks like this (greatly truncated)

HotKeySet("^r", "commandLine")

while (true)

sleep(100)

wend

func commandLine()

$x = inputBox("command", ">")

call($x)

endfunc

func iTunesNextSong()

; what the crap do I do here to make itunes move to the next song

endfunc

having a script like this is actually really nice, I just leave it running all the time and a whole crap load of functions that do nice little things for me as well as a couple other hotkeys for really common things like opening an internet browser, etc...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...