Remote Control of iTunes (Pro only feature)

Indigo includes an Attachment script that allows remote control of iTunes using several of the X10 branded universal remotes, such as those shipped with the "Entertainment Anywhere" kits. Either the W800RF32 or MR26a RF interface is needed to receive RF commands from these remotes.

Indigo, at start-up, will automatically load the iTunes Attachment script. This script will translate codes received by the RF interface, and then send the corresponding commands to iTunes. The attachment script also defines several AppleScript functions that can be used for controlling iTunes from Indigo, and updates the current iTunes song and volume variables in the Variable List window.

Controlling iTunes with an X10 Universal Remote

  1. Press Audio (PC on some remotes) on the X10 universal remote control.
  2. Press Play to begin playing from your current iTunes play list.
  3. Press Rew or FF to navigate through the play list.
  4. Press Vol+ or Vol- to adjust the volume level of your computer.
  5. Press Pause to momentarily pause the current song, and then press Play to resume song playing.

Controlling iTunes from a Trigger Action or Time/Date Action

The Attachment script defines several iTunes AppleScript functions that can be called from inside Trigger and Time/Date Actions using the Action Type Execute AppleScript:

iTunesPlay()
iTunesPause()
iTunesPlaying()

iTunesStop()
iTunesFF()
iTunesRW()
iTunesVolumeUp(5)
iTunesVolumeDown(5)

(open the iTunes attachment.scpt file for the complete function list). There is a great How-To on the Wiki which describes how to use Trigger actions and other types of remote controls to control iTunes.

Controlling iTunes from an INSTEON KeypadLinc

The Sample House file Indigo uses when first launched has several Trigger Actions defined that illustrate how to use a KeypadLinc to control iTunes. The Trigger Actions provide an example of how to map the KeypadLinc buttons to execute the AppleScript functions listed above using the Action Type Execute AppleScript. There is also a very comprehensive How-To on the Wiki that describes how to combine a KeypadLinc and iTunes.

Controlling iTunes from a Web browser

The Sample House file also has a Control Page defined that allows remote Web browser control of iTunes. The controls defined on that Control Page use the AppleScript functions listed above and the Action Type Execute AppleScript to call those functions.