Is there a way to use the iMac remote control to control an application other than iTunes?

I'm trying to use the iMac remote control with the slingbox application to watch TV. Does anyone know if it is possible?

-akak