Jump to content
Sign in to follow this  
Juvigy

InetGetSource issue

Recommended Posts

Juvigy

I am using the IE udf to login to a secure (https) site.

After the login i would like to navigate to a link from the site and get the source code.

IENavigate + IEBodyReadText works just fine but it is slow.

InetGetSource doesnt work as it opens a new session and gets the source of the login page.

Anyway i can fix/workaround that?

Share this post


Link to post
Share on other sites
Tvern

I solved a similar problem by using an embedded IE object. (example in the helpfile)

after which I was able to use INetGet(), INetRead() and alike without any problem.

Share this post


Link to post
Share on other sites
Juvigy

For now this is not an option - i will have to rewrite a lot of the script.

Any other ideas?

Share this post


Link to post
Share on other sites
cageman

you can login using:

http://www.autoitscript.com/forum/index.php?showtopic=84133

it requires some work, but if you know how to do it i think its a lot faster then what you are doing right now.

Share this post


Link to post
Share on other sites
Juvigy

For now the speed issue is not so pressing - i thought inetgetsource can be easily used...

Share this post


Link to post
Share on other sites
Tvern

For now this is not an option - i will have to rewrite a lot of the script.

Any other ideas?

I don't know what actions you are using on the IE window, but usually embedding it doesn't require much of a rewrite at all. Are you sure this is not an option?

Share this post


Link to post
Share on other sites
Juvigy

I don't know what actions you are using on the IE window, but usually embedding it doesn't require much of a rewrite at all. Are you sure this is not an option?

A lot needs to be rewritten - i use tabs and a lot of IE actions so the GUI will be too complicated to bother just for some speed improvement.For now i will live with this. 10x for the help.

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  

×