Thread: FrontRow Remote
View Single Post
Old 03-07-2006, 08:16 PM   #12
Mahalis
Low Bitrate
 
Join Date: Jul 2005
Location: Atlanta
Vehicle: Feet
Posts: 68
My Photos: ()
Quote: Originally Posted by sti robot
Yeah, that'll work perfectly...and setting transparency is really easy too.
In applescript its:
set alpha value of window "your window name here" to 0.8

The rest of the interface is pretty darn simple to set up too (assuming that frontrow is easily scriptable...I don't know I don't own it).
1) draw up the interface in interface builder
2) link all the buttons up to an AS in xcode with unique names and all.
3) on clicked
if the name of theObject is "menu" then
tell application front row to show menu
else if the name of theObject is "pause" then
tell application front row to pause
etc....
etc...
end if
end tell

Front Row isn't scriptable, unfortunately, but the sending-key-codes route would probably work. I think the only problem would be getting a window to sit on top of Front Row - AFAIK, it makes itself frontmost when it appears, and the code to put something on top of a frontmost application is probably icky. Hiding the menu bar is muchly easy though.
Attached Images
 
Mahalis is offline   Reply With Quote