This posting is older than 6 months and can contain outdated information.
Here's another workaround that might be useful to others having this problem. I changed my command that activates the Hulu Desktop behavior to an applescript that:
- activates Hulu Desktop
- moves the mouse to the center of the screen
- clicks down
- clicks up
This lets Hulu launch and be in a state that's ready to accept remote commands.
The applescript is below. So far it's worked perfectly for me, but I'm not sure if any of the commands require additional software I already had installed on my Mini. If you're running a machine slower than my 2011 2.5 Mini you may need to increase the delay. Shorter delays than 5 sec didn't allow enough time on my Mini for Hulu to complete it's startup sequence.
tell application "Hulu Desktop" to activate
delay 5
tell application "System Events"
-- put the mouse at the center of the screen
do shell script "python -c 'from Quartz import *; CGEventPost(kCGHIDEventTap, CGEventCreateMouseEvent(None, kCGEventMouseMoved, CGPointMake(960,540), kCGMouseButtonLeft))'"
-- click down
do shell script "python -c 'from Quartz import *; CGEventPost(kCGHIDEventTap, CGEventCreateMouseEvent(None, kCGEventLeftMouseDown, CGPointMake(960,540), kCGMouseButtonLeft))'"
-- click up
do shell script "python -c 'from Quartz import *; CGEventPost(kCGHIDEventTap, CGEventCreateMouseEvent(None, kCGEventLeftMouseUp, CGPointMake(960,540), kCGMouseButtonLeft))'"
end tell