Use an Apple Remote
If your Mac is equipped with a built-in infrared receiver, you can pair it with an Apple Remote to control iTunes and Windows Media Player, if they’re installed on your Mac. You can use the remote to open iTunes, change the sound volume, start or pause playback, and skip to the next or previous item.
If the remote has an unobstructed line of sight to the receiver, it can work at a distance of up to 30 feet.
Pair your Mac with a remote
If you have more than one infrared-equipped Mac in the same location, you can connect, or pair, each Mac with a specific Apple Remote, so that each Mac takes commands only from the paired remote. A Mac that isn’t paired with a remote can take commands from any remote within range.
You can pair a Mac with only one remote at a time.
Hold the remote close to the Mac (3 to 4 inches away), then point the remote at the front of the Mac.
Press and hold the Menu and Next buttons on the remote for about 5 seconds, until a chain link symbol appears onscreen.
Unpair your Mac from an Apple Remote
If you want to use your Mac with a different remote, you must unpair it from the first remote.
Click in the right side of the taskbar, click the Boot Camp icon , then choose Boot Camp Control Panel.
If a User Account Control dialog appears, click Yes.
Click Remote, then click Unpair.
Disable remote control
To prevent your Mac from being controlled by a remote control, turn off infrared reception.
Click in the right side of the taskbar, click the Boot Camp icon , then choose Boot Camp Control Panel.
If a User Account Control dialog appears, click Yes.
Click Remote, then select “Disable remote control infrared receiver.”
If you don’t see the Remote pane in the Boot Camp Control Panel, your Mac can’t be controlled by a remote control.
Open iTunes using an Apple Remote
Press the Menu button.