yyfy105 Posted July 26, 2008 Share Posted July 26, 2008 (edited) 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 July 26, 2008 by yyfy105 Link to comment Share on other sites More sharing options...
DaleHohm Posted July 26, 2008 Share Posted July 26, 2008 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 Link to comment Share on other sites More sharing options...
yyfy105 Posted July 28, 2008 Author Share Posted July 28, 2008 Hello, DaleCan 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 Link to comment Share on other sites More sharing options...
DaleHohm Posted July 28, 2008 Share Posted July 28, 2008 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now