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

12.01.2012 10:54:02
Re: Applescript, IP control, and integration with Thinkflood's Redeye and other A/V devices

This posting is older than 6 months and can contain outdated information.
Thanks for asking.

1. Is there any way to remotely launch a specific RBE menu (like iTunes>Playlist) via XMLhttpRequests.... I figured out how to launch the items on the manus (via AJAX remote) but not the menus themselves. I am trying to make the iTunes playlists more accessible by adding an item on the main menu the jumps into a specific playlist and I can't figure it out... I made applescript app that asks for a playlist tracks and creates an RBE menu out of them works but when I do it with a playlist internet radio stations it gets all screwed up and does not list all of them.. but it work fine on the RBE 'Browse Music so it would be great if I could just launch the RBE's

iTunes>Playlist Menu

 
Unfortunately, I can't think of a way to do this.

2. What approach would you suggest for creating behaviors to control hardware like a DVD player. I am currently creating a behavior and associating it with the RBE app which is causing problems. Can I associate a RBE activity with an applescript app? Maybe that is a cleaner approach?

 
It depends on what you want to do. If all you want is to create one Behaviour per device you want to control, the correct approach is to not associate the Behaviour with any application, but instead create an extra action and assign it as action to execute when the Behaviour gets activated. That extra action should contain an AppleScript actor with this code - which will make your Behaviour remain active until you explicitely choose another Behaviour:

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

Once that action is created, you can reuse it in all your Behaviours.

3. What approach would you suggest to create behavior profile for control browser based apps like Pandora? Do I just associate the behavior with Safari and give it a greater priority number?

 
I'd suggest the same approach as 2), but add a few extra lines of code to the activation AppleScript that opens the web service's URL in Safari - or brings any Safari window into focus that already has that URL loaded. I can't offer you AppleScript code for that, though.

4. Is there any way to control the sort order of RBE's output for the files in my Movies folder... I'm pretty sure you can use applescript to query the finder but I'm trying to stay in RBE native menu system?

 
There's currently no way to change that sort order.

Best regards, 
Felix Schwarz 

Thread-display::