You are here: iOpus > iMacros > Support > IM Tutorial: Command Line Interface 

Tutorial: Batch Files 

Prerequisites:  iMacros Pro or Scripting Edition  

Goal: Automate the IM Web browser with the iMacros Command line interface and batch files.

The iMacros Command Line Interface is an easy way to automate your web browsing tasks. It can be called from batch files, the task scheduler, directly from the Windows run box or from any windows program.
 
echo Example iMacros Batch File *TRAY MODE*
REM Tip: You may have to adjust the path names to YOUR installation directory of iMacros

"[programpath]" -macro Demo-FillForm -tray
"[programpath]" -macro merge-data-example -datasource lunch.txt -tray

Rem If you want to run the software WITHOUT tray icon, use "-silent" instead of "-tray"

"[programpath]" -macro merge-data-example -datasource dinner.txt -silent

echo Batch file completed
pause