Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > How to open a browser with perl ?

Reply
Thread Tools

How to open a browser with perl ?

 
 
Ashok
Guest
Posts: n/a
 
      11-08-2006
Hi all,
I have been woring in perl for past 6 months. I need to open a IE
browser using perl scripts, and all the time when I run the script, the
browser shuld auto refresh. Can anyone help me how to open a browser
and how to make it auto refresh ?
If u have came across any modules to be used in cpan for this, let me
know that.


Ashok

 
Reply With Quote
 
 
 
 
Jürgen Exner
Guest
Posts: n/a
 
      11-08-2006
Ashok wrote:
> I have been woring in perl for past 6 months. I need to open a IE
> browser using perl scripts, and all the time when I run the script,
> the browser shuld auto refresh. Can anyone help me how to open a
> browser


Simple. Exactly the same way as you would call any other external program:
- system()
- backticks
- qx()
- exec()
- ...

and how to make it auto refresh ?

To my knowlegde there is no command line parameter or env var or other
option to force IE to auto refresh. It all depends on the document that you
load.

jue


 
Reply With Quote
 
 
 
 
John Bokma
Guest
Posts: n/a
 
      11-08-2006
"Ashok" <> wrote:

> Hi all,
> I have been woring in perl for past 6 months. I need to open a IE
> browser using perl scripts, and all the time when I run the script, the
> browser shuld auto refresh. Can anyone help me how to open a browser
> and how to make it auto refresh ?
> If u have came across any modules to be used in cpan for this, let me
> know that.


Maybe better to explain what you want to do, and why you want to refresh.
Sounds like a bot for ad fraud to me, but I love to be wrong on this.

If you need to refresh a page often to kick something into action (for
example a CGI script if you have no crontab access), you can do this from
Perl directly without a problem.

--
John Experienced Perl programmer: http://castleamber.com/

Perl help, tutorials, and examples: http://johnbokma.com/perl/
 
Reply With Quote
 
Dave
Guest
Posts: n/a
 
      11-08-2006

"Ashok" <> wrote in message
news: ups.com...
> Hi all,
> I have been woring in perl for past 6 months. I need to open a IE
> browser using perl scripts, and all the time when I run the script, the
> browser shuld auto refresh. Can anyone help me how to open a browser
> and how to make it auto refresh ?
> If u have came across any modules to be used in cpan for this, let me
> know that.
>
>
> Ashok
>


Sounds like you need to use Win32::OLE to access the IE automation
interface.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Re: I really need webbrowser.open('file://') to open a web browser Mitchell L Model Python 1 01-27-2010 10:19 PM
I really need webbrowser.open('file://') to open a web browser Timur Tabi Python 4 01-18-2010 09:00 PM
Force browser to open a file (rather than save/open/cancel) tiewknvc9 Java 12 02-19-2007 08:21 PM
Open .msg / .eml file in Browser/placeholder within browser ai4u ASP .Net 0 04-27-2006 11:29 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57