[Perl] tell Mozilla to display something
Gaal Yahas
gaal at forum2.org
Sun Oct 13 04:31:16 PDT 2002
On Sun, Oct 13, 2002 at 02:07:14PM +0200, Gabor Szabo wrote:
> How can I tell a running Mozilla on linux to display a certain page ?
What Izar said. Also, here's a snippet from logjam's spawn.c that shows
how to do it with other browsers. The Opera line isn't correct though.
char *spawn_commands[] = {
"mozilla -remote 'openURL(%s, new-window)' || mozilla %s",
"gnome-moz-remote --newwin %s",
"galeon %s",
"netscape -remote 'openURL(%s, new-window)' || netscape %s",
"opera -remote 'openURL(%s,new-window)' || opera %s", /* note no space */
NULL
};
--
Gaal Yahas <gaal at forum2.org>
http://www.forum2.org/gaal/
http://www.livejournal.com/~gaal/
More information about the Perl
mailing list