
This article is for you if:
- You want to save time by automating tasks you repeat every day.
- You work in SEO and want to automate workflows, publish more efficiently, or understand the link-building automation and link wheels used at the time.
- You’re familiar with tools such as Bookmarking Demon, SENuke X, Scrapebox, and other black-hat SEO software, but find that their US-focused workflows don’t fit your needs.
- You’re patient, enjoy experimenting, and want a custom solution for your SEO workflow.
Prefer to see it in action? There are two practical videos at the end of the article.
Instead of sharing every macro I spent days or weeks building, I want to show you what iMacros could do.
What is iMacros?
iMacros lets you record browser actions and repeat them in a loop. At the time of this tutorial, it was available as a dedicated browser and as a browser extension for Firefox, Chrome, and Internet Explorer. I used the Firefox extension, which I found the most stable for my needs.
Here are a few examples, starting with the simplest:
- Fill out forms automatically.
- Extract a price list from a table into a CSV file.
- Like your girlfriend’s Facebook photos without even looking at them.
- Open your webmail accounts and sign in with one click.
- Automate account creation on websites, webmail services, or blogging platforms.
The basics of using iMacros

Useful commands
- CLEAR: Clears the browser cache and cookies.
- CLICK: Clicks the element at the specified X/Y coordinates. For example:
CLICK X=128 Y=344 CONTENT=Click<SP>here<SP> - EXTRACT: Extracts data to export to a CSV file or reuse later in the macro.
- ONDOWNLOAD: Sets how a file download is handled. For example:
ONDOWNLOAD FOLDER=C:\images\ FILE=image.jpg - PROXY: Configures a proxy for the macro’s browser connection.
- SAVEAS: Saves information to a file. Available formats included:
CPL: a complete web page with separate resource files; MHT: a complete page in one archive; HTM: HTML without images; TXT: plain text; EXTRACT: extracted values in CSV format; and BMP or PNG: a screenshot.
Example:
SAVEAS TYPE=EXTRACT FOLDER=C:\iMacros\Datasources\ FILE=my-output.csv - TAB: Selects the browser tab. To return from tab 3 to tab 1 by closing tabs 3 and 2:
TAB CLOSE
TAB CLOSE
To leave them open and switch to tab 1:
TAB T=1
To select tab 1 and close all the others:
TAB T=1
TAB CLOSEALLOTHERS
To open a new tab:
TAB OPEN - TAG: Selects an element on the page.
Here is the original example for entering a name in a form field:<input type="nom1" class="text" size="30" value="" id="nom3" name="nom2">
TAG POS=1 TYPE=INPUT:nom1 FORM=NAME:nom2 ATTR=ID:nom3 CONTENT=Your<SP>name
The tutorial also used an anchor match with a wildcard:
TAG POS=1 TYPE=A ATTR=HREF=http://www.domaine.com/param?q=*&lang=FR&&TXT:LIEN
The changing value q=456456 is replaced with q=*. The identifiers in this historical example are kept as written. - WAIT: Inserts a pause, for example to let a page load.
WAIT SECONDS=10waits ten seconds.
Useful variables
- !DATASOURCE: Specifies the data file the macro will read. For example:
SET !DATASOURCE profile.csv - !DATASOURCE_COLUMNS: Specifies the number of columns in the data source.
- !DATASOURCE_LINE: Selects the row to use in the data source, for example when reading contacts from a CSV file.
- !ERRORIGNORE: Controls whether the macro continues after an error.
SET !ERRORIGNORE YESallows it to continue when a command fails. - !EXTRACT: Holds extracted data. To extract text from a table cell, for example:
TAG POS=1 TYPE=TD ATTR=* EXTRACT=TXT - !LOOP: Tracks the loop iteration. To start at iteration 6, skipping the first five:
SET !LOOP 6 - !TIMEOUT: Sets the timeout in seconds: how long the macro will wait for an operation. The default described here was 60 seconds.
To change it, use a command such as:
SET !TIMEOUT 181 - !TIMEOUT_STEP: Sets how long iMacros should wait for a particular element to appear after the page has loaded.
SET !TIMEOUT_STEP 100
TAG POS=1 TYPE=* ATTR=TXT:Example<SP>text - !URLCURRENT: Contains the current page URL.
- !VAR1, !VAR2, and so on: Store values to reuse in the macro.
To save the current URL, open another tab, and visit that URL there:
SET !VAR1 {{!URLCURRENT}}
TAB OPEN
TAB T=2
URL GOTO={{!VAR1}}
Here is a more involved example:
‘ Store the currency label
SET !VAR1 euros
‘ Extract a price from the fifth table cell
TAG POS=5 TYPE=TD ATTR=* EXTRACT=TXT
‘ Store the extracted value
SET !VAR2 {{!EXTRACT}}
‘ Insert the currency and price into a field
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:* ATTR=* CONTENT={{!VAR1}}{{!VAR2}}
The full list of commands and variables was available in the iMacros wiki. (The original link is no longer available.)
How do you create a macro?
Start by breaking the task into steps. The historical example here was creating three Digg accounts.
- Step 1: Create an email address using registration data – name, username, password, and so on – from a CSV file.
- Step 2: Create the Digg account and sign out.
- Step 3: Return to webmail, open the confirmation email, and sign out.
- Step 4: Repeat.
Once you’ve mapped out the steps, build the first one, then the next. Inspect the page markup and refresh the page a few times to see which attributes change. The iMacros recorder can provide a starting point that you then edit and improve. Once each step works, combine them.
Two examples from my personal projects
1. Automated Yahoo.fr email account creation
Overview:
- Fill out the registration form.
- Handle the CAPTCHA step.
- Extract the account details.
- Export those details to a CSV file.
- Sign out.
2. Automated WordPress blog creation
Overview:
- Fill out the blog registration form using data from a CSV file.
- Save the login details to a CSV file: blog URL, username, password, and email address.
- Sign out of WordPress.
- Verify and activate the blogs using confirmation emails sent to addresses created in the earlier macro.
- Clear the cache and cookies.
- Change the proxy.
- Repeat the workflow.
I hope this gives you a useful introduction to the tool.
An AI-assisted workflow with human review
An example of AI-assisted article preparation. Each step leaves something concrete for a person to review.
01
Define the task
Start with a reader’s question. Write a brief that defines what to cover, which sources to consult, and what to leave out.
02
Prepare
Use AI to explore angles and sketch an outline. Check its sources and claims yourself.
03
Review
A person checks the facts, links, originality, relevance, and readability before publication.
04
Measure
Track search queries, readership, and the actions you want readers to take. Keep a record of anything that needs correcting.




