Saturday, March 21, 2009

Make iMacro as ETL util for Browser - Like Excel macros? You’ll love this..

Like Excel macros? You’ll love this..
http://blog.gobansaor.com/2007/07/17/like-excel-macros-youll-love-this/

July 17, 2007 by Tom Gleeson
Ads by Google
Windows Macro Recorder
Reliable & User-friendly macro
recorder for Windows. Download Now.
www.workspacemacro.com
Powerful Macro Recorder
Record Windows Macros and automate
any task in minutes. Free Download.
www.WinAutomation.com




One of the most used (and abused) features of Excel is its macro recording facility. How many mundane and repetitive actions have been automated using this feature? How many people found the courage to program in VBA by using the recorder as their training-wheels? Well now iMacros (from German company iOpus GmpH) a Firefox extension and an IE add-on brings macro recording to the web browser. Although Greasemonkey already enables JavaScript programmers to automate Firefox, iMacros offers the same power to non-programmers.

The macros can be saved as bookmarks and can also be shared with others (although I couldn’t get the sharing feature to work). I’ve already automated a number of tedious tasks and had hoped to use it with Google Spreadsheets, alas either the nature of Goggle’s JavaScript or inbuilt protection within Goggle Apps stopped the recorder for working. Pity, as there’s three things missing from Google Spreadsheets as it stands, pivot table support, offline ability and macro support. Google Gears will undoubtedly solve the offline problem, charts are essentially a graphical pivot so I guess a table pivot must be a possibility, iMacros or something like it could perform the duties that VBA provides to Excel. As with Office macros, security issues may well dampen the parade - iMacros allows access to the PC’s file system and a macro can be invoked from a bookmarklet camouflaged as a standard link - but I’ll not worry until (or if) the product goes mainstream.

From an ETL point of view iMacros can act as a powerful web scraping tool and as a automated form-filler. There’s also a commercial version of the product ($499.00) that exposes the tool via an ActiveX API which means Excel/VBA can be used as a web scraping/ form filling environment. If the price tag is too steep then the excellent scRUBTt is both free /open source and is ideal if you’re scraping a lot of data on a frequent basis while for small or once off tasks this equally free and open source Firefox extension is good enough.

No comments: