The iMacro code below will hit a vanilla liferay install at http://localhost:8080, log in as Bruno (the admin), go to control panel, web content, add web content, fill out the web content form, and save and approve it.
VERSION BUILD=6650406 RECORDER=FX URL GOTO=http://localhost:8080/web/guest TAG POS=1 TYPE=A ATTR=TXT:Sign<SP>In TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:_58_fm ATTR=NAME:_58_login CONTENT=bruno@7cogs.com SET !ENCRYPTION NO TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:_58_fm ATTR=ID:_58_password CONTENT=bruno TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:_58_fm ATTR=VALUE:Sign<SP>In WAIT SECONDS=2 TAG POS=1 TYPE=A ATTR=TXT:Control<SP>Panel TAG POS=1 TYPE=A ATTR=TXT:Web<SP>Content TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:_15_fm ATTR=VALUE:Add<SP>Web<SP>Content WAIT SECONDS=2 TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:_15_fm1 ATTR=ID:_15_title CONTENT=MACRO_CONTENT_ARTICLE_NAME FRAME F=2 TAG POS=72 TYPE=TD ATTR=* TAG POS=1 TYPE=TEXTAREA ATTR=* CONTENT=SOME<SP>HTML<SP>SOURCE WAIT SECONDS=2 FRAME F=0 TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:_15_fm1 ATTR=VALUE:Save<SP>and<SP>Approve(Auto Liferay CMS)
Once you get the hang of the various commands available in iMacros, you can create a macro template that will fill out any article (with any structure) you can create. Add perl OLE and Mechanize into the mix, and you can retrieve HTML (.XLS, .XML, .CSV, .PDF, or virtually any other) content, generate dynamic macro scripts (to import, edit, and normalize this content), and run them with minimal assistance.
Note the blue lines. The first selects the source button of the FCKEditor, which is located in multiple embedded iframes. This process sometimes takes a couple seconds, so the next line pauses the script to make sure the DOM is ready for our content to be added.

