Demo Macros & Scripts

Examples for using iMacros efficiently.


All macros and scripts listed here are included in the default installation of iMacros. The example batch files and scripts can be found at "iMacros\Examples" folder, under your Documents if you selected the default installation directory during installation.

Demo Macro  Browser Demo Content & Remarks Demo Pages
Microsoft Internet Explorer Firefox Google Chrome
Detect-Javascript-Errors YES Detects scripts errors using the ONSCRIPTERROR command. Detect Script Errors
DirectScreen-Click YES Automates Java calculator applet. Direct Screen
Downloads YES YES Download files automatically Downloads
Drag Drop Tree YES This script automates an AJAX tree view, using drag & drop Drag Drop tree
Draw YES Record mouse clicks and movements using the DS (DirectScreen) technology. Draw
Eval YES YES YES Test for value and time ranges in your macro and anything else that can be done with Javascript. Eval (Javascript)
Extract YES YES YES Extract text, HTML code, links and tables. Extract
ExtractAndFill YES YES YES Save extracted data to internal variables and use them to directly fill the fresh data into a web form. Data Extraction
ExtractRelative YES YES YES Use relative positioning for more easy extraction. Extract
Extract-Table YES YES YES Extract complete table with one command and save data to text file. Exchange Rates
FileUpload YES YES Fill in the tricky file upload fields automatically. File Upload
FillForm YES YES YES Fill forms automating input boxes, drop down selections, checkboxes, radiobuttons, etc. Testform1
FillForm_XPath YES YES YES Use XPath to navigate through elements and attributes in an XML document. Testform1
Filter YES YES Filter pictures for faster page loading. Image Filter
Flash YES This macro demonstrates the use of the DS commands to handle interactions on a Flash website. Flash
Frames YES YES YES IIM works well with framed pages. Frames
Image Download YES YES Download all images on a page automatically. Uses LOOP button. Gallery
Image Recognition YES This macro demonstrates the use of the Image Recognition commands to handle interactions on a Flash website. Flash
Javascript Dialog YES YES Click and fill Javascript dialogs. Javascript Dialogs
Keyword-Assert YES Asserts that a specific keyword appears on a web page. KeywordAssert
Loop-Csv-2-Web YES YES YES Demonstrates automatic data entry with the LOOP button: Reads Data a simple text file in CSV format and submits it to a web site. Enter Address Data
Print YES Print web pages and PDF documents Print
SaveAs YES YES YES Save Website in various formats. SaveAs
SavePDF YES YES This macro opens a PDF file in the browser and uses SAVEITEM to download it. SavePDF
SaveTargetAs YES YES Use the TAG command to select individual web page elements for download. SaveTargetAs
Screenshot YES YES Use the SCREENSHOT command to save a screenshot of the complete web page or of the browser window. Screenshot
Slideshow YES YES YES Loop through thumbnails. Images
Stopwatch YES YES YES Measure detailed website response times with the STOPWATCH command. Stopwatch
Tabs YES YES Control the tabbed browser interface. Popups
TagPosition YES YES YES Use the TAG position parameter to handle HTML elements that have an identical code. TagPosition
WebPageDialog YES YES Using the ONWEBPAGEDIALOG command, iMacros handles the browser's modal and modeless pop-up dialogs. HtmlDialogs

Special Pages: