title: Make iMacros script automatically continue after getting website timeout error (-802 error)
body: <p>I have an iMacros script (Firefox add-on) that runs during the night. I am also using a vpn. Occasionally I get a timeout error (-802 error) that pauses my iMacros script. I'm not sure if the vpn causes the timeout error, but that is a different issue. I have another script that logs the error to a google form. The form notifies me there was an error. Then I manually hit the continue button and the script goes on. Obviously this is a problem when I am asleep.</p>
  
  <p>Is there a way to automatically have the script continue after a timeout error? If not, is there another way to simulate the pressing of the continue button in the browser?</p>
  
  <p>Here is the code I use to notify me of an error:</p>
  
  <pre><code>var errorNotificationMacro;
  errorNotificationMacro = "CODE:";
  errorNotificationMacro += "URL GOTO=https://palemoon.stat.me/start \n"; // Removed r in start so the timeout error occurs
  errorNotificationMacro += "TAG POS=1 TYPE=IMG ATTR=SRC:https://start.me/favicon/youtube.com \n";
  errorNotificationMacro += "TAG POS=1 TYPE=SPAN ATTR=TXT:Trending \n";
  
  macroName = "errorNotificationMacro";
  returnCode = iimPlay(errorNotificationMacro);
  if (returnCode &lt; 0) {
      errorNotify(macroName, returnCode);
  }
  
  /* Utilties */
  
  // Here is the function we call when there is an error
  function errorNotify(macroName, errorCode) {
      iimDisplay("There was an error in the macro called " + macroName + " with this error code: " + errorCode);
      fillInTheErrorForm(macroName, errorCode);
  }
  
  function fillInTheErrorForm(macroName, errorCode) {
  
      formMacro = "CODE:";
      formMacro += "TAB OPEN \n";
      formMacro += "TAB T=2 \n";
      formMacro += "URL GOTO=[insert URL of Google form] \n";
      formMacro += "TAG POS=1 TYPE=INPUT:TEXT FORM=ID:mG61Hd ATTR=NAME:entry.457171507 CONTENT={{MACRONAME}} \n";
      formMacro += "TAG POS=1 TYPE=INPUT:TEXT FORM=ID:mG61Hd ATTR=NAME:entry.1604921625 CONTENT={{ERRORCODE}} \n";
      formMacro += "TAG POS=1 TYPE=CONTENT ATTR=TXT:Submit";
  
      iimSet("MACRONAME", macroName);
      iimSet("ERRORCODE", errorCode);
      macroName = "formMacro";
      returnCode = iimPlay(formMacro);
      if (returnCode &lt; 0) {
          errorNotify(macroName, returnCode);
      }
  }
  </code></pre>