Sign in to follow this  
Followers 0
topten

IE freezing

6 posts in this topic

I am using IE to navigate to website. It navigates it and visually I understand that it loads the whole website to the end and after that the script  is supposed to do other actions, but I get this in console --> IE.au3 T3.0-1 Warning from function _IEAttach, $_IEStatus_NoMatch. It continues freezing until I manually close IE. When I close it- the script continues. Is there any way out of this "freezing situation"?

Share this post


Link to post
Share on other sites



Can you post your script, so that we can take a look? :)


Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites

It is very standard, look. Btw- I dint mention- My connection is very slow (mobile modem)

Global $oIE = _IECreate("http://www.google.com", 1, 1)
; HERE it opens the page and loads it continuously
; And only when I close the IE manually- it would conitnue on
Local $sHTML = _IEDocReadHTML($oIE)
MsgBox (0, "",  $sHTML)

Share this post


Link to post
Share on other sites

try this:

Global $oIE = _IECreate("http://www.google.com", 0, 1)
; HERE it opens the page and loads it continuously
; And only when I close the IE manually- it would conitnue on
Local $sHTML = _IEDocReadHTML($oIE)
MsgBox (0, "",  $sHTML)

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites

Ah, great thanx! Now it works. What is "0"- there responsible for?

Share this post


Link to post
Share on other sites

My pleasure. ;)

[optional] specifies whether to try to attach to an existing window
    0 = (Default) do not try to attach
    1 = Try to attach to an existing window

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

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  
Followers 0