Tips for using iMacros for Chrome freeware

Discussions and Tech Support related to the iMacros Google Chrome extension.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:


Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Tips for using iMacros for Chrome freeware

by Marcia, Tech Support on Fri Dec 22, 2017 4:17 am

With the release of iMacros for Chrome 10, some of iMacros functionality is now only available in the licensed version. These are features we believe are most likely to be used in a business environment and should not affect hobby users of iMacros for Chrome.

Because we think there is still a lot of value in the freeware, we would like to give you a few tips to overcome some of the limitations, if you would like to keep using the freeware for your personal tasks.

1. Existing macro files can easily be copied to bookmarks through the clipboard: open the macro file in any text editor, copy its contents to the clipboard and paste over an existing bookmark macro which is open in the macro editor. If you do not have any bookmark macro, start recording to create one. Use SaveAs to save with a new name.

2. Long macros can be divided in smaller chunks and played one after the other. Just be aware that variables and macro settings are reset after each play.

3. To input data from CSV files, use an html file with a table where your data is displayed on a Chrome tab (see below.) Tag the table elements from that tab instead of reading from a file. Excel can save a worksheet (an imported CSV file) to html.

4. Besides the 3 user variables (!VAR1, !VAR2, and !VAR3), the !EXTRACT macro variable can also be used to "park" values. Or one can, as above, make use of an auxiliary html file loaded in a Chrome tab. A dummy form like in might be all you need.

Sample HTML page to load a local CSV file and display it as a table in the browser:
Code: Select all

            width: 100%
        .row .cell
            padding: 5px;           
            border: 1px solid black;
        window.onload = function () {
            var datasource = document.getElementById('datasource');
            datasource.addEventListener('change', function (e) {
                var csvFile = datasource.files[0];
                var fileReader = new FileReader();
                fileReader.onloadend = function (e) {
                    var table = document.getElementById('table');
                    var lines = fileReader.result.split(/\r?\n/);
                    var n = 0;
                    lines.forEach(function (line) {
                        var tr = document.createElement("tr");
                        tr.setAttribute("class", "row");
                        tr.setAttribute("id", "row_" + n);
                        var cells = line.split(/,/);
                        var m = 0;
                        cells.forEach(function (cell) {
                            var td = document.createElement("td");
                            td.setAttribute("id", "cell_" + n + "-" + m);
                            td.setAttribute("class", "cell");
                            var text = document.createTextNode(cell);
            }, false);

    Select CSV file:
    <input type="file" id="datasource" />
    <div>Table with loaded CSV file:</div>
    <table id="table" class=table></table>


Marcia, Tech Support
Posts: 1060
Joined: Thu Jan 29, 2009 6:10 am

Return to iMacros for Chrome

Who is online

Users browsing this forum: No registered users and 1 guest