iMacros basic command

iim file


goto some web

URL GOTO=http://www.someweb.com

click 1st link written “Yes Sir”
TAG POS=1 TYPE=A ATTR=TXT:Yes<SP>Sir

copying all text inside third table
TAG POS=3 TYPE=TABLE ATTR=TXT:* EXTRACT=TXT

ignore errors
SET !ERRORIGNORE YES

save a complete (cpl) web page to folder “Z:\”
SAVEAS TYPE=CPL FOLDER=Z:\ FILE={{!NOW:ddmmyyyy_hhnnss}}

pauses as long as (variable called) “sec” second
WAIT SECONDS={{sec}}

text input
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:formName ATTR=NAME:textVar CONTENT={{gaji}}

click “send” button
TAG POS=1 TYPE=INPUT:SUBMIT FORM=METHOD:post ATTR=VALUE:Send

js file


play “file.iim” file which saved inside “folderName”
folder

iimPlay(“folderName/file”);

display extracted text or any text
iimDisplay(“what to display, or ” + jsVar);

put in a variable
iimSet(“iimVar”, jsVar);

copy extracted variable, into js variable
iimGetLastExtract(1);

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s