rberq Posted August 26, 2009 Report Share Posted August 26, 2009 I have the following logic inside a Repeat loop. There's a web site address in variable T5. If IE is not already running, the line after Else starts IE and goes to the web site and waits for the page to load. On subsequent Repeat passes IE is already running, so the macro highlights the address line with Alt-d and types in a new site id and we go to the site. Works fine every time with IE6. With IE7, Wait for Web Page never completes, it just hangs forever, regardless of whether IE is running or not when the macro starts. Ideas, anyone??? // Start IE if not running, go to site. // If it is running then ALT-d to highlight // and paste in the site address and go to it. If Window Title "Internet Explorer" is running Activate Window: "Internet Explorer" Wait for Web Page: "" Text Type: <ALTD>d<ALTU> Wait Text Playback Wait for Web Page: "" Text Type: %T5% Wait Text Playback Wait for Web Page: "" Text Type: <ENTER> Wait for Web Page: "" Else Web Site: %T5% [internet Explorer - Wait to load] End If // Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.