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

10.01.2008 09:57:49
Opens VLC from Safari, but still controls safari
View

This posting is older than 6 months and can contain outdated information.
I'm working on a web based mediacenter and I'm opening vlc from safari with the use of remote buddy. But when VLC starts and becomes active, remote buddy still controls safari. How can I make remote buddy understand that vlc is the active application to control? 

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

Hardware - Apple® Remote
User

10.01.2008 11:32:42
Re: Opens VLC from Safari, but still controls safari
View

This posting is older than 6 months and can contain outdated information.
Hi Eric, 
remote buddy does not always control the frontmost application but the application which behaviour is activated. 
so when you control safari and swith to vlc as frontmost app, you still control safari as long the safari behavious is activated in remotebuddy. 
a possible solution may be to use something like dsw (free at http://www.azarhi.com/Projects/DSW/) and set up as vlc start it calls an applescript to set the vls-behaviour active in remot buddy. 
as you quits vlc dsw could calls a skript to go back to safari behaviour. 
just an idea. hope it helps. 
User

10.01.2008 13:08:59
Re: Opens VLC from Safari, but still controls safari
View

This posting is older than 6 months and can contain outdated information.
Well if it work to activate a certain behavior from applescript I can run the applescript from the shell. 
How do I tell remote buddy to activate a certain behaviour with applescript? 
User

10.01.2008 17:10:02
Re: Re: Opens VLC from Safari, but still controls safari
View

This posting is older than 6 months and can contain outdated information.
Thanks Heiko for the explaination!

You can change the active behaviour to the VLC behaviour via 
AppleScript like this:

tell application "Remote Buddy" 
behaviourcore accessor "setActiveBehaviour" identifier 
"org.videolan.vlc" useActivationEventCode "activated" 
end tell

or to make the selection "sticky"

tell application "Remote Buddy" 
behaviourcore accessor "setActiveBehaviour" identifier 
"org.videolan.vlc" useActivationEventCode "activated" with stickyValue 
end tell

You can get detailed info on Remote Buddy's AppleScript interface by 
opening Script Editor's Library, then dragging Remote Buddy onto it. 
Each function is described in depth and commented sample code provided 
for each command.

Best regards, 
Felix 

User

10.01.2008 17:24:33
Re: Opens VLC from Safari, but still controls safari
View

This posting is older than 6 months and can contain outdated information.
Thanks guys! You just made my day =)

This application is awesome.

/Erik