Automate iMacros (Windows Tutorial)

Using Windows Task Scheduler you can completely automate iMacros, you can setup your script to run whenever you want without having to manually start it. You can choose the time and day for the script to play plus you can have it play repeatedly for example daily, once a week, even have it play multiple times a day. No more starting scripts manually!

Follow these steps:

1. Create a .bat file on your desktop and paste the code in below. (Download .bat file)
**This file is a small program that will open firefox and play an imacros script. (.bat files only work on Windows)

@echo off
start firefox.exe -P default -no-remote imacros://run/?m=ADDMEFAST/AMF-Master.js

Notice the highlighted parts in the code:
First highlighted part put the name of the firefox profile to open, (Leave as default if you only have 1 profile)
Second part highlighted put the name of the iMacros script you want to play.

NOTE: If you are setting up multiple scripts on task scheduler then you should create a folder on your desktop and put your .bat files in there to keep things organized.

2. Click on Create Basic Task in Windows Task Scheduler, follow the steps and use the new .bat file you just created.

create imacros basic task

task scheduler bat file

3. Make sure the exit firefox option in script is marked as yes if you are using one of my scripts.

imacros exit firefox

NOTE: If you arent using one of my scripts then add code to the end of your script to close firefox if you plan on having task scheduler run your script more than once. Check cheatsheet for the code.

SUCCESS! Your script will now automatically play at the time and day you specified as long as your computer is on.


– Minimize Firefox

If you want the firefox browser to be minimized when scripts play automatically you can download the addon Minimize On Start and Close. This addon will automatically minimize the firefox browser on startup so that automated scripts don’t disturb you when you are using your computer.

After installing addon, click Options and set the settings as shown below.
minimize firefox