Web pages: loading time variable

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
zopita
Newbie
Posts: 19
Joined: Wed Feb 18, 2009 5:45 pm
Location: Spain

Web pages: loading time variable

Post by zopita » Mon Aug 10, 2009 7:58 am

Hi

I must download 157 pages from a web-site. Then, for each one select all the text, copy and paste in a Word document.
I was make the macro but there is a problem: sometimes a page needs long time to load.

All the web pages have the same bar title (CVC Foros - Microsoft Internet Explorer) and the same URL (http://cvc.cervantes.es/foros/resultados.asp).

The only text different in each page is: Page: 1/147; Page 2/147 and so on. When the page is loading it appears "Loading page..." at the corner down left and when the page is loaded the message is "Ready". Can Scheduler use this change to "know" when de page is loaded?

I was read Joe's question (http://www.mjtnet.com/forum/viewtopic.php?t=5601) who had a difficult like mine but I just beggin work whit Macro Scheduler and the functions with "%"... I'm beggin to study (super Help file) but...

I thanks your help.

User avatar
Marcus Tettmar
Site Admin
Posts: 7385
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon Aug 10, 2009 9:08 am

WebRecorder has the IEWait function which waits until IE is ready - uses the same internal property which is linked to the Ready/Busy status bar. Or use VBScript. See:

http://www.mjtnet.com/forum/viewtopic.php?t=1511
http://www.mjtnet.com/forum/viewtopic.php?t=1461
http://www.mjtnet.com/forum/viewtopic.php?t=4660

Or use Image Recognition or Screep Text Capture to monitor the status bar directly.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

zopita
Newbie
Posts: 19
Joined: Wed Feb 18, 2009 5:45 pm
Location: Spain

Thanks!

Post by zopita » Mon Aug 10, 2009 12:09 pm

:)

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts