Continue on timeout, possibly?

Discussions and Tech Support related to the iMacros Firefox Add-on.

Moderators: Marcia, iOpus, Hannes, iOpus, Tech Support, Tom, iOpus

Continue on timeout, possibly?

Postby judaman on Mon Nov 02, 2009 7:38 pm

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.
judaman
 
Posts: 2
Joined: Sat Oct 31, 2009 2:04 pm

Re: Continue on timeout, possibly?

Postby Hannes, iOpus on Tue Nov 03, 2009 2: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
Hannes, iOpus Support
Hannes, iOpus
 
Posts: 1838
Joined: Thu Sep 21, 2006 6:27 am

Re: Continue on timeout, possibly?

Postby nma1919 on Tue Nov 03, 2009 10:03 am

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.
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")
    }
nma1919
 
Posts: 26
Joined: Fri Apr 17, 2009 6:56 am

Re: Continue on timeout, possibly?

Postby Hannes, iOpus on Wed Nov 04, 2009 1:27 am

The iMacros solution is using the !TIMEOUT command.
Hannes, iOpus Support
Hannes, iOpus
 
Posts: 1838
Joined: Thu Sep 21, 2006 6:27 am


Return to iMacros for Firefox

Who is online

Users browsing this forum: No registered users and 3 guests