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

13.01.2012 00:36:18
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.
 
Hi Christian,

I see that you were successful at: 
Using XMLhttpRequests to launch the items on the manus (via AJAX remote)

I was wondering how you did this? I am trying to implement similar IP control of RemoteBuddy.

Thanks for your help! 
Brett

Hi Brett,

This might sound a bit hackie but is works reliably and quickly once you get it in place

1. Turn on the 'Enable AJAX' (uncheck 'Require password' for now)

2. Use the Chrome browser to navigate to the AJAX Remote's web output at http://YOUR_IP:8888/

3. When you see remote right-click the page and select 'Inspect Element'

4. From Chrome's built in inspector select the 'Console' tab

5. Right-click into the white space in the Console and select 'Log XMLhttpRequests'

6. Now click on the AJAX Remote's 'Menu' botton and select what you are looging for... you will see the XMLhttpRequests in the console, they look like this: 
http://YOUR_IP:8888/Menu/menuEngine.rmbd?command=goToRootLevel&offset=0&sid= (jumps you to the main menu) 
http://YOUR_IP:8888/Menu/menuEngine.rmbd?command=select&offset=8&sid= (selects the 9th menu item of the main menu)

7. Now, depending on how and what you are doing... you send the sequence of XMLhttpRequests that select your desired command, have an unversal remote iOS app (Thinkflood's Redeye) that I'm using to send the right sequence of requests... it looks like this:

<a href="#" onclick="sendRequest('http://YOUR_IP:8888/Menu/menuEngine.rmbd?command=goToRootLevel&offset=0&sid='); sendRequest('http://YOUR_IP:8888/Menu/menuEngine.rmbd?command=select&offset=8&sid='); sendRequest('http://YOUR_IP:8888/Menu/menuEngine.rmbd?command=select&offset=0&sid='); return false;"> Fullscreen iTunes<br>Visualizer</a>

_____________

Let me know if you have any additional questions,

Christian 

Thread-display::