Sign in to follow this  
Followers 0
Traddles

Hotkey for Next Song in iTunes

12 posts in this topic

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?

Share this post


Link to post
Share on other sites



Share this post


Link to post
Share on other sites

well, I've done a lot of stuff with hotkeys so I'm pretty comfortable with that. it's mostly the "sendMessage" thing, you know?

Share this post


Link to post
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 :)


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

Well show the script :whistle:


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
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...

Share this post


Link to post
Share on other sites

Well its the MAC script i want to look at :whistle:


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

oh, haha, well no, actually if you look closely I was asking as a side note "oh, and is there a mac version of autoit..."

Share this post


Link to post
Share on other sites

yes, I knew that you could write applescripts to do what I want but I was trying to use autoIt to emulate that same functionality for the windows version of iTunes. Incidentally I found what I was looking for here:

http://www.autoitscript.com/forum/index.ph...9&hl=itunes

thanks for your help.

Share this post


Link to post
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
Sign in to follow this  
Followers 0