IE_Wait not waiting

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
JonDubya
Newbie
Posts: 18
Joined: Thu Mar 20, 2008 6:32 pm

IE_Wait not waiting

Post by JonDubya » Fri Mar 21, 2008 9:12 pm

I thought that when this function was invoked it would wait for a "Done" result from IE. Is this not the case? When running my script it seems that it decided not to wait and just blew past a good 50 lines of script due to IE being busy submitting the previous form. This is talking to a printer, so it's not the fastest thing in the world. I know I can set a timer with Wait>x, but was hoping it would just auto wait.

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

Post by Marcus Tettmar » Fri Mar 21, 2008 9:20 pm

It does.

But you may have a page which does lots of asynchronous calls, or loads lots of items and goes from busy to done many times in a row. In which case on IE_Wait will only catch the first one ...
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

JonDubya
Newbie
Posts: 18
Joined: Thu Mar 20, 2008 6:32 pm

Post by JonDubya » Fri Mar 21, 2008 9:27 pm

When recording, it should catch all of those, right? Some wait periods do have several IE_Wait invocations, which align with what I see when it happens, but when the macro plays on its own, it skips 'em...guess I'll just try a timed wait.

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