iMacro Help

jmcs23

Regular Member
Joined
Mar 3, 2009
Messages
386
Reaction score
58
Hello,

I'm working on an iMacros script in FireFox, however I need some assistance...

I have a set of commands, then I want iMacros to stop and wait for the current page to load before proceeding to the next step.

How can I make iMacros stop and wait for the page to load before moving on to the next step?

I tried the SET !WAITPAGECOMPLETE YES code, but I got the error BadParameter: Unsupported variable !WAITPAGECOMPLETE, line 8 (Error code: -911)


Thanks in advance!
 
Last edited:
Thank you for the reply! The only problem with setting a specific timeout is that each time the 120 seconds may or may not be long enough. Sometimes it may be too long and other times it may be too short. In other words, the page may or may not be done loading within 120 seconds. Therefore, I need to be able to set iMacros to actually wait until the page is loaded, whether it take 5 seconds or 5 minutes.
 
Thank you for the reply! The only problem with setting a specific timeout is that each time the 120 seconds may or may not be long enough. Sometimes it may be too long and other times it may be too short. In other words, the page may or may not be done loading within 120 seconds. Therefore, I need to be able to set iMacros to actually wait until the page is loaded, whether it take 5 seconds or 5 minutes.
If you set the timeout of a page, it doesn't mean that iMacros will wait every time that long to continue with the macro. The default timeout is 60 seconds, does iMacros always wait 60 seconds for loading a page before continuing with the next step? No, iMacros continues when the page is fully loaded, if you set a high enough number for the page timeout, it should do the trick. You don't need to know the number, just set it to an hour for instance, so the page will load surely in that time frame.

One more thing: that line of code which causes you the error in Firefox, it's happening because, that command is only supported in IE or in the standalone iMacros browser, even though this is not specified in the iMacros wiki.
 
Last edited:
If you set the timeout of a page, it doesn't mean that iMacros will wait every time that long to continue with the macro. The default timeout is 60 seconds, does iMacros always wait 60 seconds for loading a page before continuing with the next step? No, iMacros continues when the page is fully loaded, if you set a high enough number for the page timeout, it should do the trick. You don't need to know the number, just set it to an hour for instance, so the page will load surely in that time frame.

One more thing: that line of code which causes you the error in Firefox, it's happening because, that command is only supported in IE or in the standalone iMacros browser, even though this is not specified in the iMacros wiki.

Thank you for the information! I was unaware that iMacros would automatically continue when the page is fully loaded regardless of what the !TIMEOUT_PAGE is set to. I took your advice and now I'm good to go. :fing26:
 
Back
Top