Jump to content
Sign in to follow this  
yyfy105

The GUI script seems hang after launch a IE browser to visit a url

Recommended Posts

yyfy105

Hello.

I am trying this GUI script with following IE function

_IECreate ($someIP)

Sleep(3000)

Send($username)

Send("{TAB}")

Send($passwd)

Send("{ENTER}")

Winwaitactive("Security Alert")

Controlclick("Security Alert", "" , "Button1")

Winwaitactive("Security Alert")

Controlclick("Security Alert", "" , "Button1")

Steps:

1. clicking a IP in the Listbox control:

2. I close the first IE after successful visit.

3. Something wrong occurs:

The script will no work after clicking another IP in Listbox control again. Seems hangs.

I am trying to end the running. With following information:

Process failed to respond; forcing abrupt termination...

Is someone meet this issue before?

Thanks for any more information. :-)

Edited by yyfy105

Share this post


Link to post
Share on other sites
DaleHohm

Try SciTe debug mode (see my sig) to see where it is stopping.

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites
yyfy105

Hello, Dale

Can you tell more detail about the debug mode.

I just know this:

Add the _IEErrorHandlerRegister()

and any other detail step to set the debug mode? Need to add this: #AutoIt3Wrapper_run_debug_mode=Y ?

How can I do if want to set the debug result to console, use ConsoleWrite() ?

Thank you.

And I think debug mode should be a part of the FAQ. :-)

Try SciTe debug mode (see my sig) to see where it is stopping.

Dale

Share this post


Link to post
Share on other sites
DaleHohm

Put this in your code

#AutoIt3Wrapper_run_debug_mode=Y

and run in SciTe... that's all that's needed.

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

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.