Web browser RPC question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Vaughn Treude
Date:  
Subject: Web browser RPC question
On Wednesday 14 January 2004 20:01, you wrote:
> On Wed, 2004-01-14 at 14:21, Vaughn Treude wrote:
> > Here's a question for you web gurus: what I want to do is to control a
> > web browser programmatically, specifically to tell an open browser window
> > to open a new URL automagically rather than typing it in. It could be
> > any Linux browser: Mozilla, Netscape, Galeon, Konqueror, Opera - maybe
> > even Lynx.
>
> Try these:
>
> galeon -x yahoo.com
> netscape -remote 'openURL(http://home.netscape.com)'
> mozilla -remote "openurl(http://www.mozilla.org)"
>

Kevin,
Excellent! Exactly what I was looking for! Mozilla works fine, haven't
tried galeon yet, and netscape fails with this goofy error:

netscape-communicator: root window has no children on display :0.0

This shouldn't be a problem, because running "env" shows very clearly that

DISPLAY=:0.0

And Netscape was definitely up and running.

Perhaps my version of netscape (4.77) is old and broken.
Thanks,

Vaughn

>
> See also:
> http://wp.netscape.com/newsref/std/x-remote.html
> http://www.mozilla.org/unix/remote.html
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss