Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Make (limited) use of the Apple Remote with VLC Apps
I've been looking for a way to use my Apple Remote to control things other than Front Row, iTunes, and other Apple apps, and for a while, I thought it was never going to happen. Recently, however, I found ControllerMate.

With ControllerMate installed, you can access any of the Remote/IR Port's button presses. However, the problem is that the commands are still being sent to Front Row: even with the perfect VLC setup, hitting Play would both stop VLC and start iTunes -- not a solution.

Finally, I realized that ControllerMate shows "different" button commands for Fast Foward and Rewind (holding the left and right buttons, as opposed to just pressing them.) With this in mind, I found out that pressing and holding the menu button also counts as its own button -- a button not used by Front Row!

In ControllerMate, drag in the Apple IR 'Menu' item and link it to the following AppleScript:
tell application "System Events"
  set myApp to name of first application process where frontmost is true
  if myApp is "VLC" then
    tell application "VLC" to play
  else
    tell application "VLC" to activate
  end if
end tell
This turns holding the menu button into a VLC controller, opening VLC if it's closed, and play-pausing it if it's open. Until there's a way to use all the Remote's buttons, this seems to work for me ... and of course, you can have that one key do other things, too.
    •    
  • Currently 3.75 / 5
  You rated: 4 / 5 (4 votes cast)
 
[34,582 views]  

Make (limited) use of the Apple Remote with VLC | 8 comments | Create New Account
Click here to return to the 'Make (limited) use of the Apple Remote with VLC' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make (limited) use of the Apple Remote with VLC
Authored by: crapmars on Mar 22, '06 07:54:16AM

this group has a interesting example...
http://www.cocoadev.com/index.pl?UsingTheAppleRemoteControl

and they provide a xcode project in C, which you can adjust and combine with system('osascript -e ...') to make the apple remote do pretty much anything...

(i use it to control centerstage, mediacentral and such)



[ Reply to This | # ]
Make (limited) use of the Apple Remote with VLC
Authored by: ppp on Mar 22, '06 10:54:32AM

ControllerMate installs, but the driver does not load, on my Intel computers.



[ Reply to This | # ]
Make (limited) use of the Apple Remote with VLC
Authored by: ob1cannoli on Mar 22, '06 04:50:09PM

ohh..forgot to mention that I'm on a iMac G5 iSight...not an intel...might make a difference..



[ Reply to This | # ]
Make (limited) use of the Apple Remote with VLC
Authored by: boredzo on Mar 22, '06 04:49:17PM

To the submitter: Quote marks ("") are not valid indications of emphasis. They indicate quotation. The correct way would have been <em></em>.



[ Reply to This | # ]
Make (limited) use of the Apple Remote with VLC
Authored by: michaelturussa on Mar 22, '06 10:40:15PM

One of the most profound posts about the Apple Remote, and all you can do is criticise his punctuation?



[ Reply to This | # ]
Make (limited) use of the Apple Remote with VLC
Authored by: boredzo on Mar 30, '06 02:26:02AM

I don't know anything about the Apple Remote, not having one myself, so of course I said nothing about it. What I do know is that using quotes for emphasis is wrong. I'm not going to talk about things that I don't know.



[ Reply to This | # ]
what would really be sweet...
Authored by: kahuna on Mar 23, '06 02:12:47PM

Using my universal remote to control Front Row. While the Apple remote is cute and all, I don't want another remote getting lost in the couch.



[ Reply to This | # ]
Make (limited) use of the Apple Remote with VLC
Authored by: luomat on Jan 16, '07 07:30:29PM
FYI In case anyone missed it, VLC 0.8.6 includes support for the Apple Remote.

http://developers.videolan.org/vlc/NEWS



[ Reply to This | # ]