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.08.2011 02:31:09
Is there a way to open a URL from the menu?
View

This posting is older than 6 months and can contain outdated information.
I'd like to add a menu item so that Firefox opens a hardwired URL in the current tab. So far, the applescripts I have found don't work, since they all either use OpenURL which throws an error...

------------------------------------ 
tell application “Firefox” 
activate 
GetURL my_URL 
end tell 
------------------------------------

...or uses the open command, which opens the URL in a new tab; I want it to open in the current tab.

------------------------------------ 
do shell script "open -a Firefox " & my_URL 
------------------------------------

Is there a way to do this directly within RB?

...Mike

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

Configuration
Hardware - Apple® Remote
User

29.08.2011 02:44:36
Re: Is there a way to open a URL from the menu?
View

This posting is older than 6 months and can contain outdated information.
Or even just run this as if it were typed in

------------------------ 
<apple>-L 
My_URL 
------------------------

apple-L goes to the URL bar, and they typing the URL would do it. But I see no functionality for that, either as a menu item or as a programmable set of commands to be assigned to a button.

User

29.08.2011 03:07:43
Re: Is there a way to open a URL from the menu?
View

This posting is older than 6 months and can contain outdated information.
I forgot to mention one more complicating factor: the website is being viewed in full screen mode, and by going directly to a URL I do not want the URL bar to be shown.

For example, the following applescript does the job, but as a by-product the URL bar is show and does not go away again until the mouse is moved.

------------------------- 
tell application "Firefox" to activate

tell application "System Events" 
keystroke "l" using {command down} 
keystroke "My_URL" & return

end tell 
-------------------------

Basically I'm trying to create a headless web browser. 

User

31.08.2011 11:04:01
Re: Is there a way to open a URL from the menu?
View

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

Remote Buddy has no direct support for opening URLs in browsers via its menu, so I'm afraid AppleScript is the way to go.

Regarding Chrome's full screen behavior, there may or may not be a hidden setting for it to completely hide the chrome. Regarding the emulation of mouse movements, though, you can also AppleScript Remote Buddy to move the mouse back and forth a bit. Here's code that should get you started:

http://www.iospirit.com/support/forums/remotebuddy/singlethread/14226/

Best regards, 
Felix Schwarz