Skip to content

Instantly share code, notes, and snippets.

@LeCoupa
Last active August 12, 2022 10:47

Revisions

  1. LeCoupa revised this gist Nov 10, 2017. No changes.
  2. Julien Le Coupanec revised this gist Aug 13, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions imacros-bootstrap.js
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    // iMacros Bootstrap.
    // Write your macros with JavaScript.
    // iMacros Bootstrap - Write your macros with JavaScript.
    // Be careful, you need to rename and set the extension of your macro to ".js".


    // 1. Variables Initialization.
  3. Julien Le Coupanec revised this gist Aug 13, 2014. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions imacros-bootstrap.js
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    // IMacros Bootstrap.
    // iMacros Bootstrap.
    // Write your macros with JavaScript.


    @@ -55,17 +55,18 @@ macro += "URL GOTO=https://gentlenode.com/" + "\n";

    macro += "URL GOTO=http://journal.gentlenode.com/" + "\n";

    macro += "WAIT SECONDS=5" + "\n";


    // 7. Clear Browser
    // 7. Clear Browser.


    macro += "WAIT SECONDS=1" + "\n";

    macro += "CLEAR" + "\n";


    // 8. Run The Macro
    // 8. Run the Macro.


    iimDisplay("iMacro is now running.");
  4. Julien Le Coupanec revised this gist Aug 13, 2014. 1 changed file with 73 additions and 1 deletion.
    74 changes: 73 additions & 1 deletion imacros-bootstrap.js
    Original file line number Diff line number Diff line change
    @@ -1 +1,73 @@
    //
    // IMacros Bootstrap.
    // Write your macros with JavaScript.


    // 1. Variables Initialization.


    var variable1, variable2, variable3;

    macro = "";

    variable1 = "";

    variable2 = "";

    variable3 = "";


    // 2. Built-in Variables & Macro Initialization.


    macro += "CODE:" + "\n";

    macro += "SET !TIMEOUT_STEP 2" + "\n";

    macro += "SET !TIMEOUT_TAG 2" + "\n";

    macro += "SET !TIMEOUT_PAGE 45" + "\n";

    macro += "SET !ERRORIGNORE YES" + "\n";


    // 3. Clear Cookies, Cache and Set a Proxy


    macro += "CLEAR" + "\n";

    macro += "PROXY ADDRESS=" + proxy + "\n";


    // 4. Action 1.


    macro += "TAB T=1" + "\n";

    macro += "TAB CLOSEALLOTHERS" + "\n";

    macro += "WAIT SECONDS=5" + "\n";

    macro += "URL GOTO=https://gentlenode.com/" + "\n";


    // 5. Action 2.


    macro += "URL GOTO=http://journal.gentlenode.com/" + "\n";



    // 7. Clear Browser


    macro += "WAIT SECONDS=1" + "\n";

    macro += "CLEAR" + "\n";


    // 8. Run The Macro


    iimDisplay("iMacro is now running.");

    iimPlay(macro);
  5. Julien Le Coupanec created this gist Aug 13, 2014.
    1 change: 1 addition & 0 deletions imacros-bootstrap.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    //