Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

digitalpencil

macrumors 6502
Original poster
Jul 2, 2007
343
0
Manchester, UK
Hi,

Under boot camp, when iTunes is selected, you can use your apple remote to play/pause & skip tracks. When iTunes is not focused however, this functionality is lost leaving you with just volume control. Are there any other remote drivers that can be loaded to enable skip, play/pause when iTunes is not selected or perhaps a Windows equivalent to remote buddy so I can attach these behaviours to specific buttons. I ask because I frequently game in boot camp with COD for example, full-screened on one screen & iTunes, playing on the other. This works great although I have to cmd-tab out fo the game whenever I want to skip tracks, it'd be great if I could retain the skip functionality of the apple remote whilst in-game!

Thanks.
 
Success!

Using AutoHotKey (open-source keystroke sender) i've managed to write a script that can control iTunes from any other focused application, such as your games.

To use, download/install & run the following: http://www.autohotkey.com/download/
Then, using explorer, goto file>new>AutoHotKey Script and paste the following, save with ext '.ahk' and double-click to run:
PHP:
;inGame iTunes
;
#NoTrayIcon
#SingleInstance force
DetectHiddenWindows, on

#\::
IfWinNotExist, ahk_class iTunes
{
Run %ProgramFiles%\iTunes\iTunes.exe  ;launch program
return
}

IfWinExist, ahk_class iTunes ; toggle minimize/restore
{
IfWinNotActive ; restores window
WinActivate
Else
WinMinimize ; minimizes windows
return
}

#.::
IfWinExist, ahk_class iTunes
ControlSend, ahk_parent, ^{RIGHT}  ; > next
return

#,::
IfWinExist, ahk_class iTunes
ControlSend, ahk_parent, ^{LEFT}  ; < previous
return

#/::
IfWinExist, ahk_class iTunes
ControlSend, ahk_parent, {SPACE}  ; play/pause toggle
return

#;::
IfWinExist, ahk_class iTunes
ControlSend, ahk_parent, ^{UP}  ; vol up
return

#'::
IfWinExist, ahk_class iTunes
ControlSend, ahk_parent, ^{DOWN}  ; vol down
return

;endofscript

Fairly straight forward, # denotes windows key so:

win+\ = hide/show iTunes
win+. = next track
win+, = previous track
win+/ = play/pause
win+; = vol up
win+' = vol down

I'm gonna contact the author of ARW which maps the apple remote to fire AHK commands onRelease to see if I can add a version that offers unfocused control, via the remote.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.