Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^4: Controlling IE and making it QUIT !!

by Anonymous Monk
on Feb 17, 2013 at 14:41 UTC ( #1019147=note: print w/replies, xml ) Need Help??

in reply to Re^3: Controlling IE and making it QUIT !!
in thread Controlling IE and making it QUIT !!

Oh? Hmm
sub closeIE{ my $self = shift; my $agent = $self->{agent}; $agent->Quit; }

So the OP can use $IE->Quit;

Replies are listed 'Best First'.
Re^5: Controlling IE and making it QUIT !!
by Gangabass (Vicar) on Feb 17, 2013 at 16:04 UTC
    No! But (only for Win32::IEAutomation):

      No what?

       $self->{agent} is same type of object as OPs , its  $IE  = Win32::OLE->new("InternetExplorer.Application")  , it has all the same methods, it has Quit,

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019147]
[tye]: -Mouse
[Corion]: Option a) would mean launching cmd.exe /k c:\path\to\ batchfile- launching-perl- script.cmd. Option b) would be to add pause as the last line of said batch file.
[LanX]: First day after holidays ... and already stressed by the fact that colleagues changed stuff without communication ... apparently I'm the only one trying to fight entropy
[Corion]: LanX: The command is always in the history if you typed it in before. If you didn't type the command into the command line, it will not be there. I think there is doskey which can stuff command lines into the history
LanX damns the cult of CB ;-)
[LanX]: please forget my last 3 posts
[LanX]: Yeah option a doesn't go into history
[LanX]: probably I need to teach the app to restart after C-c Kill
[Corion]: LanX: Maybe have an infinite-loop cmd file? Much easier than trying to manage that from within Perl IMO

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-03-27 15:48 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.