Songs I wish I wrote
Top 5 songs I wish I wrote:
1) David Crowder – Here Is Our King
2) Cold Play – Fix You
3) Any song off U2 – Josuha Tree
4) John Mayer – No Such Thing
5) Mainstay – Take Away
Live. Work. Play.
Top 5 songs I wish I wrote:
1) David Crowder – Here Is Our King
2) Cold Play – Fix You
3) Any song off U2 – Josuha Tree
4) John Mayer – No Such Thing
5) Mainstay – Take Away
I recently came across this utility for access the apple remote. It should be possible to use in shell scripts, applescripts and even Java as described here
I wanted to be able to have exclusive access to the remote and I found this discussion which showed me how to do it by changing the open command to use a 1 (this occurs in two places in the command.
ioReturnValue = (*hidDeviceInterface)->open(hidDeviceInterface, 1);
I have uploaded my changes here: http://jameslow.com/content/software/misc/iremoted.zip
How to compile is in the source code, but it took me a while to realise that, so here’s the command: gcc -Wall -o iremoted iremoted.c -framework IOKit -framework Carbon