Re: Controlling Firefox via Perl

2007-10-16 Thread Jenda Krynicky
On 15 Oct 2007 at 20:25, Felix Mater wrote: > On 15 Okt., 12:50, [EMAIL PROTECTED] (Matthew Whipple) wrote: > > > > > I've seen a programm written in Java that, on demand, opens > > > an url in a firefox window, or, if that already exists, opens the > > > url in a new tab. > > > See the "new-ta

Re: Controlling Firefox via Perl

2007-10-15 Thread Felix Mater
On 15 Okt., 12:50, [EMAIL PROTECTED] (Matthew Whipple) wrote: > > I've seen a programm written in Java that, on demand, opens > > an url in a firefox window, or, if that already exists, opens the > > url in a new tab. > See the "new-tab" command line option [of firefox] Great! system("firefox -

Re: Controlling Firefox via Perl

2007-10-15 Thread Matthew Whipple
Felix Mater wrote: > I've seen a programm written in Java that, on demand, opens > an url in a firefox window, or, if that already exists, opens the > url in a new tab. See the "new-tab" command line option for "or" part of the question. I'm not sure of the behavior but it should just open a new w

Re: Controlling Firefox via Perl

2007-10-15 Thread Jenda Krynicky
From: yitzle <[EMAIL PROTECTED]> > None of this is tested. Its just ideas. > > 1. You can execute the system command: > system("$path_to_firefox . $url"); > eg > system("C:\Program Files\Firefox\firefox.exe http://www.gmail.com";); > Or it might require: > system("C:\Program File

Re: Controlling Firefox via Perl

2007-10-14 Thread Rob Dixon
Felix Mater wrote: I've seen a programm written in Java that, on demand, opens an url in a firefox window, or, if that already exists, opens the url in a new tab. Can this also be done from perl, is there a module that can control firefox? You don't need a Java program to do that - Firefox jus

Re: Controlling Firefox via Perl

2007-10-14 Thread yitzle
None of this is tested. Its just ideas. 1. You can execute the system command: system("$path_to_firefox . $url"); eg system("C:\Program Files\Firefox\firefox.exe http://www.gmail.com";); Or it might require: system("C:\Program Files\Firefox\firefox.exe" http://www.gmail.com); The point is, I think