Support
All support resources for our products. Here you can find answers to frequently asked questions, discuss with other users, recover a lost license code or file a support request.
Forum closed
This forum was closed and turned into an archive effective April 21, 2018. It is no longer possible to create new topics or reply to existing topics.

Thanks everyone for all the great questions and contributions over the years.

Please use the Contact form to get in touch.

Remote Buddy Forum

Overview 

AuthorThread
User

29.01.2008 11:43:20
temporarily deactivating automatic behaviour selection
View

This posting is older than 6 months and can contain outdated information.
So, my fusion XHub/RB is coming together nicely now. Mapping everything to the virtual remote works perfectly, but with just one problem I need to solve...

I know that the 'advanced' setting allows me to deactivate automatic activation of behaviours but is there a way to set this 'on-the-fly'?

Or in other words, want I want to achieve is to force only the Xhub behaviour to remain active until manually deactivated. When I deactivate it, then I'd like behaviours to be automatically activated by RB again. E.g. it would be great if I could reach this 'advanced setting' from a RB context menu.

Or was there perhaps an option to set, when compiling the behaviour, forcing it to remain active? I don't recall one, but it's been a few days since I've had chance to check.

Cheers, 
Rich 

These entries from the FAQ may be relevant to this topic:

Behaviours
Hardware - Apple® Remote
User

29.01.2008 16:17:16
Re: temporarily deactivating automatic behaviour selection
View

This posting is older than 6 months and can contain outdated information.
Hello Rich,

you can do what you want via Remote Buddy's AppleScript interface:

1) In the BCK, create two actions - one for activation, one for 
deactivation

2) In these actions, make use of the behaviourcore command with the 
respective code to "sticky" activate the Behaviour and return to the 
auto-selection respectively. Sample code to be found in the 
AppleScript dictionary in Script Editor and - if you need to get a 
list of available unique identifiers - in the Remote Buddy FAQ.

Best regards, 
Felix Schwarz 

User

29.01.2008 16:52:16
Re: temporarily deactivating automatic behaviour selection
View

This posting is older than 6 months and can contain outdated information.
Cool! Thanks Felix, I'll check this out.

I presume then I'd add these actions to my behaviour (with option 'do not include in menus'?) and they'd be implicitly called when activating/deactivating the behaviour?

Thanks, 
Rich 

User

30.01.2008 00:39:27
Re: temporarily deactivating automatic behaviour selection
View

This posting is older than 6 months and can contain outdated information.
So, I haven't managed to get this working, not sure what I'm doing wrong;

Have defined an action called Activate which runs the following AS:

tell application "Remote Buddy" 
behaviourcore accessor "setSticky" stickyValue 1 
end tell

And one called Deactivate, which sets the value 0

In Behaviour Events I set "Activate" to run on Activation (all three events) and "Deactivate" on deactivation event. My behaviour is not "sticking" though.

I tried adding the Actions to the menu, but they remain greyed out and unselectable.

Maybe I need to explicitly say which behaviour in the behaviourcore command?

Cheers, 
Rich 

User

01.02.2008 14:03:01
Re: Re: temporarily deactivating automatic behaviour selection
View

This posting is older than 6 months and can contain outdated information.
You have two possibilities:

1) Tell Remote Buddy which Behaviour it should activate and mark sticky.

F.ex. for EyeTV, this'd be:

tell application "Remote Buddy" 
behaviourcore accessor "setActiveBehaviour" identifier 
"com.elgato.eyetv" with stickyValue 
end tell

2) Tell Remote Buddy to mark the currently active Behaviour sticky:

tell application "Remote Buddy" 
behaviourcore accessor "setSticky" with stickyValue 
end tell

(yeah, AppleScript has an interesting syntax ;-)

Remote Buddy's AppleScript dictionary has more info on the available 
commands.

Best regards, 
Felix 

User

01.02.2008 14:20:17
Re: temporarily deactivating automatic behaviour selection
View

This posting is older than 6 months and can contain outdated information.
 
2) Tell Remote Buddy to mark the currently active Behaviour sticky:

tell application "Remote Buddy" 
behaviourcore accessor "setSticky" with stickyValue 
end tell

 
Isn't that what I'm already doing (just with the difference of explicitly defining the value of 0 or 1)?

I'm also slightly unsure as to when and how I should trigger this action? Ideally, I'd like to trigger it automatically as soon as the behaviour in question gets activated. I did however also try adding it to the behaviour's menu but it was greyed out (unselectable).

Cheers, 
Rich 

User

13.02.2008 10:13:01
Re: Re: temporarily deactivating automatic behaviour selection
View

This posting is older than 6 months and can contain outdated information.
Hello Rich,

sorry for the late reply, I didn't see yours previously.

You should assign the action to the respective event (at the top of 
the mapping tab), wheras you should choose the right version of event 
for the activation of a Behaviour. There're three - for manual 
activation, for automatic activation (app is active application) and 
for background activation (app is not active application, but runs and 
it was indicated that it is of interest to the user to control it 
nonetheless - f.ex. true for iTunes).

Best regards, 
Felix Schwarz