Continue on timeout, possibly?

Discussions and Tech Support specific to the iMacros Firefox Add-on.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
judaman
Posts: 2
Joined: Sat Oct 31, 2009 9:04 pm

Continue on timeout, possibly?

Post by judaman » Tue Nov 03, 2009 2:38 am

So I have a macro that connects to several different websites and logs me in, one in each tab. A lot of the time, one of the 20+ logins times out and my whole macro script fails to continue to execute.

Is there a way I can have it continue even it one of the websites timesout?

I am using firefox plugin

Thanks you.
Hannes, Tech Support

Re: Continue on timeout, possibly?

Post by Hannes, Tech Support » Tue Nov 03, 2009 9:19 am

The bold solution would be using !ERRORIGNORE.

In order to skip the remainder of any macro that has a timeout, you must use a script to call the macros, cf. JavaScript Scripting Interface
nma1919
Posts: 28
Joined: Fri Apr 17, 2009 1:56 pm

Re: Continue on timeout, possibly?

Post by nma1919 » Tue Nov 03, 2009 5:03 pm

Hannes, iOpus wrote:The bold solution would be using !ERRORIGNORE.

In order to skip the remainder of any macro that has a timeout, you must use a script to call the macros, cf. JavaScript Scripting Interface
How can you put a typical .iim script language in javascript?

I would like to use the java script provided on this page to automatically stop the loading of a page after three seconds.
http://forum.imacros.net/viewtopic.php?f=11&t=6638

Code: Select all

    function keyPressHandler(e)
    {
          var kC  = (window.event) ?    // MSIE or Firefox?
                     event.keyCode : e.keyCode;
          var Esc = (window.event) ?   
                    27 : e.DOM_VK_ESCAPE // MSIE : Firefox
          if(kC==Esc)
             alert("Esc pressed")
    }
Hannes, Tech Support

Re: Continue on timeout, possibly?

Post by Hannes, Tech Support » Wed Nov 04, 2009 8:27 am

The iMacros solution is using the !TIMEOUT command.
Post Reply