IEAuto.dll Attach to running instance

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
SteenJakobsen
Pro Scripter
Posts: 110
Joined: Thu Apr 08, 2010 6:11 am
Location: Hørsholm, Denmark
Contact:

IEAuto.dll Attach to running instance

Post by SteenJakobsen » Mon Sep 06, 2010 7:37 am

Hi all,

Is there a way to attach to a running instance of IE and then use that instance with the functions in IEAuto.dll

Any feedback is very appreciated.

Regards Steen
Best Regards
Steen Jakobsen
DM Software A/S

SteenJakobsen
Pro Scripter
Posts: 110
Joined: Thu Apr 08, 2010 6:11 am
Location: Hørsholm, Denmark
Contact:

Post by SteenJakobsen » Mon Sep 06, 2010 7:45 am

I Know I have asked the same question before. It is just that is has become importat now.

The reson is that a large corporate costumer has a large coporate web app that requeres login. And there fore they want to use an instance of IE that is already logged in.

Any hint?

p.s. I know I can do it in VB .. I hvae read the posts about it. But then I can not use the great IEAuto.dll that comes with WebRecorder.

Best regards Sten
Best Regards
Steen Jakobsen
DM Software A/S

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon Sep 06, 2010 1:31 pm

No, fraid not. The IE instance must be created by IE_Create for any other function to use it. You cannot attach to an already existing instance via IEAuto.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Post by adroege » Mon Sep 06, 2010 5:21 pm

And there fore they want to use an instance of IE that is already logged in.
Seems simple to me....... Create the IE instance as visible with IEAuto, and then have some human login in. Now the macro can start working. Seems to me you were thinking that to automate the instance it had to be invisible - which is not the case.

Actually not sure why IEAuto can't automate the login process also. But, if not, the macro can start once the instance is "logged in" anyway.

SteenJakobsen
Pro Scripter
Posts: 110
Joined: Thu Apr 08, 2010 6:11 am
Location: Hørsholm, Denmark
Contact:

Post by SteenJakobsen » Tue Sep 14, 2010 9:53 am

Hi Marcus,

I do understand that the current implementattion does not support it.
Do you have any plans for supporting it and can some financial funding help.. :-) ?

very best regards Steen
Best Regards
Steen Jakobsen
DM Software A/S

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Sep 14, 2010 12:13 pm

It's on the work list. Since it's possible in VBScript it should be possible to implement within IEAuto.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts