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

26.08.2010 10:19:50
Using URL's to start actions
View

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

together. I'm using the Ajax remote very often. 
Sometimes I just need a single action.

Therefor it would be great, if you reach each item with a direct link.

Is this perhaps already possible?

Thanks in advance?

Cheers Thomas 

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

Hardware - iPhone™ / iPod® touch / AJAX Remote
User

03.09.2010 17:53:11
Re: Using URL's to start actions
View

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

The AJAX Remote by design doesn't support the remote invocation of particular actions using a static URL. Sorry.

Best regards, 
Felix Schwarz 

User

12.01.2011 21:12:27
Re: Using URL's to start actions
View

This posting is older than 6 months and can contain outdated information.
+1 for that!

Would be great, to directly jump into the key/gesture remote, so the iPhone can be the direct replacement for the white little remote (since my Mini lives in another room and I've no direct sight to its IR receiver).

I love the onscreen menu of RB, so I don't really need the other options of the AJAX remote itself...

@Felix: No way to (for example) add a #keyRemote tag to the URL and let the ajax site check that? I've seen that on many other AJAX powered websites afaik...

[edit]

I've just "hacked" that one together ;-)

Edit /Applications/Remote Buddy.app/Contents/Resources/WebRemote/index.html:

Change: 
------ 
function initModuleCore() 

checkAutoLogin(); 
startSessionTimeoutChecking();

moduleCore = new ModuleCore(); 
moduleCore.gotoSpringboard(true); 

------

To: 
------ 
function initModuleCore() 

checkAutoLogin(); 
startSessionTimeoutChecking();

moduleCore = new ModuleCore(); 
moduleCore.gotoSpringboard(true); 
setTimeout("gotoControl()",1000); 
}

function gotoControl() 

var currentURL = window.location; 
if (currentURL.hash.length > 1) { 
var _control = currentURL.hash.substr(1); 
moduleCore.loadModule(_control, "fade"); 


------

Unfortunately the ModuleCore() function already sends a gotoSpringboard() itself, so just replacing moduleCore.gotoSpringboard() has no effect. Thats why it's needed to use a timeout and issue the loading of the selected module a little later...

After making these changes above you can add a hash to the URL, followed by a module name, like "RemoteControl" in my case... 
Example: http://mediamini.local:8888/#RemoteControl

Theres only one little issue with all that: RemoteBuddy app validates its own app content and notifies the user on restart - but gladly you can just ignore that dialog!

Maybe Felix can add this little addition in an update, so it wont be any problem at all!

Kind Regards 
DerFlash

Last edited: 12.01.2011 22:11:55