Jump to content
Sign in to follow this  
ThomasQ

How To use an already opened IE

Recommended Posts

ThomasQ

Hi!

I use the _IECreate function in one of my scripts a lot. For testing purposes I'd like to know how to, instead of creating a new IE, using an already opened IE..

Many thanks in advance!

Share this post


Link to post
Share on other sites
Piyush

I think you can use _IEAttach for your task. See the Help File For IEAttach Details in the UDF Section...


[font="Comic Sans MS"][size="7"]Piyush.....[/size][/font][font="Palatino Linotype"][size="2"]Some Of My Scripts...Cool Font Generator Train Searcher and Tracer[/size][/font]

Share this post


Link to post
Share on other sites
egymma

if we say we have internet explorer window opened and it was google

then you can use this

#include <IE.au3>

$oIE = _IEAttach ("Google")
$sHTML = "<h1>Hello World!</h1>"
_IEBodyWriteHTML ($oIE, $sHTML)

good luck

-----------------

P.S. i didnt see Piyush's post, and sorry for that >_<

Edited by egymma

[center][/center]My Projects:-[list][*]Window Ender[*]Encryptor-Decryptor[/list]

Share this post


Link to post
Share on other sites
ThomasQ

Allright! Thanks very much you guys! Using it as we speak!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.