This posting is older than 6 months and can contain outdated information.
Thanks for asking.
I want to create a behavior which has no associated application and upon activation (by nintendo button 1) will initially activate Front Row (and later provide other functions) , so here's what I did.
1. Add New Behavior:
Name: My Behavior
Menu Address: my.behavior
This isn't a valid address. It should always start with top. I recommend using top.applications.
What's also important (at least when you create more than one Behaviour) is that each Behaviour's unique identifier is actually unique.
2. Events
on Manual, Auto-Front, Auto-back
- Activate/Deactivate Front Row
A few notes:
1) What do you want to achieve?
2) Since your Behaviour is not associated to an application:
a) the events auto-front and auto-back will never occur for your Behaviour.
b) it'll not stay activated unless you create an action that makes the selection "sticky" and that's invoked for the "Manual activation" event. It'll then stay activated until you explicitly select "Deactivate" from the Remote Buddy menu. The AppleScript source code for this is (replace com.your.behaviour with the unique identifier of your Behaviour):
tell application "Remote Buddy"
behaviourcore accessor "setActiveBehaviour" identifier "com.your.behaviour" with stickyValue
end tell
If that doesn't help, please feel free to send me a copy of your Behaviour to the info address from the imprint of this website and I'll have a look. Please include a description of what you want to achieve with your Behaviour.
Best regards,
Felix Schwarz