immy786 Posted December 26, 2005 Report Share Posted December 26, 2005 I'm having problem with this command "Wait for mouse cursor: arrow" In Firefox it works fine, as the web page loads the cursor is displayed as a hour glass, when it is finished loading the cursor turns into the arrow and the macro knows when it continue.. However in Internet Explorer this doesn't work because the cursor never changes when the webpage is loading. I cannot use wait for webpage to load because the pages are dynamic and internal. any ideas? Quote Link to comment Share on other sites More sharing options...
joe Posted December 27, 2005 Report Share Posted December 27, 2005 I cannot use wait for webpage to load because the pages are dynamic and internal. I am lost as to how a web page being "dynamic and internal" presents a problem with the Wait for Web Page command. What is happening that makes the command unusable? Quote Link to comment Share on other sites More sharing options...
immy786 Posted January 6, 2006 Author Report Share Posted January 6, 2006 Because the command ASKS for a webpage in the properties where as I want it to use whatever webpage currently in the window. Quote Link to comment Share on other sites More sharing options...
lemming Posted March 15, 2006 Report Share Posted March 15, 2006 Because the command ASKS for a webpage in the properties whereas I want it to use whatever webpage currently in the window. I see the problem. Perhaps this script may work for you. It just reads whatever url is in the IE address bar, then plugs it into the Wait for Web Page command. However, it will only work if the url in the address bar is correct. If your site is very slow, the script may retrieve a blank (no data) or it may retrieve the previous url. Either way, the Wait for Web Page command will get wrong info. To test this script: 1) load any slow web page in IE. 2) while the page is still loading, make sure its url is in the address bar, and press Ctrl-Keypad5. 3) If the script works, you will get a "Page loaded" text box the moment it is finished loading. Delay 10 Milliseconds // Get the address bar control Get Control %C1% (Internet Explorer: Edit) // retrieve url in address bar Variable Get Control Text: %C1% to %T1% Delay 10 Milliseconds // wait 30 sec for web page Wait for Web Page: "%T1%" Text Box Display: Page loaded! Wait_for_any_web_page.mex Quote Link to comment Share on other sites More sharing options...
kevin Posted March 15, 2006 Report Share Posted March 15, 2006 I guess I missed this back in January. Sorry about that. Here is another thing you might want to try. You can do a Wait for Web Page command and leave the url blank. This will return when Internet Explorer is no longer busy. In most cases that indicates that the page has finished loading. For some pages with many advertisements and links to other servers you may need to use the macro suggested by lemming. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.