Imacros SHARED code scripts

Yahoo: Email Signup

Because you can never get enough email addresses.
Just change the items in Red.

Code:
URL GOTO=https://edit.yahoo.com/registration?.intl=us
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:firstname CONTENT=[COLOR=Red]firstname[/COLOR]
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:secondname CONTENT=[COLOR=Red]lastname[/COLOR]
'm for male, f for female, keep the %
TAG POS=1 TYPE=SELECT FORM=NAME:regFormBody ATTR=ID:gender CONTENT=%[COLOR=Red]m[/COLOR]
'month is a number, ex. 2 for February
TAG POS=1 TYPE=SELECT FORM=NAME:regFormBody ATTR=ID:mm CONTENT=%[COLOR=Red]month[/COLOR]
'birthday day is a number
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:dd CONTENT=[COLOR=Red]birthday_day[/COLOR]
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:yyyy CONTENT=[COLOR=Red]year[/COLOR]
'country: us is united states, uk is united kindom
TAG POS=1 TYPE=SELECT FORM=NAME:regFormBody ATTR=ID:country CONTENT=%[COLOR=Red]us[/COLOR]
'zip code: 5 numbers
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:postalcode CONTENT=[COLOR=Red]ZIP
[/COLOR]'choose the yahoo ID here, the stuff that goes in front of @yahoo.com
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:yahooid CONTENT=[COLOR=Red]YahooID[/COLOR]
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:regFormBody ATTR=ID:password CONTENT=[COLOR=Red]password[/COLOR]
WAIT SECONDS=2
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:regFormBody ATTR=ID:passwordconfirm CONTENT=[COLOR=Red]password[/COLOR]
WAIT SECONDS=4
'alternate email address, this doesn't need to be real
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:altemail CONTENT=[COLOR=Red][email protected][/COLOR]
'custom question can be left as is, sometimes these change
TAG POS=1 TYPE=SELECT FORM=NAME:regFormBody ATTR=ID:secquestion CONTENT=%custom
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody 
'this question can be anything, keep the quotation marks
ATTR=ID:customsecquestion1 CONTENT="[COLOR=Red]What is your favorite movie?[/COLOR]"
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:secquestionanswer CONTENT=[COLOR=Red]Answer1[/COLOR]
'Better to keep it custom, question 2
TAG POS=1 TYPE=SELECT FORM=NAME:regFormBody ATTR=ID:secquestion2 CONTENT=%[COLOR=Red]custom
[/COLOR]TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:customsecquestion2 CONTENT="[COLOR=Red]What is your favorite rock band?[/COLOR]"
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:secquestionanswer2 CONTENT=[COLOR=Red]Answer2[/COLOR]
PROMPT Enter<SP>Captcha !VAR1
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:cword CONTENT={{!VAR1}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:regFormBody ATTR=ID:IAgreeBtn
WAIT SECONDS=2
'continue button
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:regConfirmBodyFrm ATTR=ID:ContinueBtn
WAIT SECONDS=2
'signout so the next signup is ready
TAG POS=1 TYPE=A ATTR=TXT:Sign<SP>Out
'this wait time can be taken out if your connection is good enough
WAIT SECONDS=5
 
Hi, guys! Is it possible in iMacros to extract some text from the page, if this text is not in a text element(like textarea), if the text locate in the body of page? Any thoughts?
 
i have hundreds new pages everyday, i can saves those links in csv.
i want to request imacros script to ping all those links automated in http://pingler.com/

thanks.

@terucha

why Imacro ?

I found one free desktop tool to ping all your urls

you can add/edit ping list or urls

blogpinger20.zip

use BHW search you will find it. if you are not able to... then pm me I will search it for you..
 
Does anyone know how to get imacros to go to a different set of instructions if it errors out on the first set. Ok say i have imacros set up to go to multiple chat rooms. So it goes to the first chat room and says a few things i want it to say and then goes onto the second chat room. If that chat room is full and u have set !errorignore yes on then it will continue running thru those instructions. I need a command that will send it to a third chat room if the second chat room is full and so on and so on. Is it possible to get imacros to go another task if your first set cant complete the task.
 
Does anyone know how to get imacros to go to a different set of instructions if it errors out on the first set. Ok say i have imacros set up to go to multiple chat rooms. So it goes to the first chat room and says a few things i want it to say and then goes onto the second chat room. If that chat room is full and u have set !errorignore yes on then it will continue running thru those instructions. I need a command that will send it to a third chat room if the second chat room is full and so on and so on. Is it possible to get imacros to go another task if your first set cant complete the task.
Delete the Errorignore line and use the following:

Code:
SET !ERRORMACRO NextMacroName

You must create separate macros for each chat room you wanna post.
 
Yeah i knew it was possible to do it that way i was just hoping there was a way to do it within a single macro.
 
If it is something that you can increment, perhaps you can write a VB script that will just run the macro for 1 chat room, but then does some sort of FOR/WHILE loop (or something of that sort) that will make it visit the next incremental chat room? That way, if it does error out, it will just hit the next iteration of the loop.

Don't rely JUST on iMacros; it's a great tool, but it sure as heck can't do everything, and iOpus will be the first ones to admit that to you. That's why they talk about VB scripting so much on their website/forums.
 
Yeah I will check into VB script. I was hoping there was an easier way but oh well thanks for the help anyways. :D
 
Going nuts today guys. I am trying to run this code to comment on WP blogs and it will not work.
Code:
VERSION BUILD=6650406
TAB T=1     
'TAB CLOSEALLOTHERS  
'URL GOTO=http://www.iopus.com/imacros/demo/v6/f1/form.asp  
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:TestForm ATTR=ID:author CONTENT=[COLOR=DarkRed]Firstname<SP>secondname[/COLOR]
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:TestForm ATTR=ID:Email CONTENT=[COLOR=DarkRed][email protected][/COLOR]
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:TestForm ATTR=ID:url CONTENT=[COLOR=DarkRed]http://myurl.com[/COLOR]
TAG POS=1 TYPE=TEXTAREA FORM=NAME:TestForm ATTR=ID:comment CONTENT=[COLOR=DarkRed]My non spam comment[/COLOR]
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:commentform ATTR=ID:submit
WAIT SECONDS=5

Error message is
Code:
RuntimeError: element INPUT specified by ID:author was not found, line: 5
Any ideas as to what could be wrong?
 
You have to change the coding:
Change all FORM=NAME:TestForm to FORM=*

and its work....>>:)

Going nuts today guys. I am trying to run this code to comment on WP blogs and it will not work.
Code:
VERSION BUILD=6650406
TAB T=1     
'TAB CLOSEALLOTHERS  
'URL GOTO=http://www.iopus.com/imacros/demo/v6/f1/form.asp  
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:TestForm ATTR=ID:author CONTENT=[COLOR=DarkRed]Firstname<SP>secondname[/COLOR]
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:TestForm ATTR=ID:Email CONTENT=[COLOR=DarkRed][email protected][/COLOR]
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:TestForm ATTR=ID:url CONTENT=[COLOR=DarkRed]http://myurl.com[/COLOR]
TAG POS=1 TYPE=TEXTAREA FORM=NAME:TestForm ATTR=ID:comment CONTENT=[COLOR=DarkRed]My non spam comment[/COLOR]
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:commentform ATTR=ID:submit
WAIT SECONDS=5
Error message is
Code:
RuntimeError: element INPUT specified by ID:author was not found, line: 5
Any ideas as to what could be wrong?
 
Thanks for that :)
I also had to change "Email" to "email" if anyone else is using this.
These Imacros are great when they work!
 
ok i didnt notice that some one has problem with wordpress comment spammer

I created another thread for that imacro
I think all imacros should be in one place for everyone to see it and use it.

here you go
Code:
VERSION BUILD=6600217 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !ERRORCONTINUE YES 
SET !EXTRACT_TEST_POPUP NO  


CMDLINE !DATASOURCE BLOGCOMMENTS.CSV
SET !DATASOURCE_COLUMNS 5
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO={{!COL1}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:* ATTR=ID:author CONTENT={{!COL2}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:* ATTR=ID:email CONTENT={{!COL3}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:* ATTR=ID:url CONTENT={{!COL4}}
TAG POS=1 TYPE=TEXTAREA FORM=ACTION:* ATTR=ID:comment CONTENT={{!COL5}}
'>>>>>>>>>>> Section Divider <<<<<<<<<<<
'PAUSE -- ENTER CAPTCHA AND THEN 
'PRESS ANY KEY TO CONTINUE

SET !SINGLESTEP YES
SET !SINGLESTEP NO

TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:commentform ATTR=ID:submit


BLOGCOMMENTS.CSV
Code:
blogurl-to-post-comment.com,Anchor-text,email,ur-website, Comment<SP>to<SP>post<SP>incomment<sp>area.

now the question is can we create auto email verification? for yahoo mail..

and second thing which i also want is yahoo search data extraction

Code:
http://search.yahoo.com/search?n=100&ei=UTF-8&va_vt=any&vo_vt=any&ve_vt=any&vp_vt=any&vd=all&vst=0&vf=all&vm=p&fl=0&fr=moz35&p=wordpress&vs=
extracting urls from this page result...

can anyone help with this?
 
Does anyone have an Imacros command to extract the embed code from a Youtube video??
I used to be able to extract it but with the new changes it seems impossible.
 
Hi Timbo ..

you have to do it with javascript or vb script because imarco have no
substring function ..

Enjoy this :-)

Code:
var MyMacroCode;
var jsNewLine="\n";

MyMacroCode = "CODE:";
MyMacroCode = MyMacroCode+"VERSION BUILD=5200814" + jsNewLine;
MyMacroCode = MyMacroCode+"SET !EXTRACTADD {{!URLCURRENT}}" + jsNewLine;

retcode = iimPlay(MyMacroCode);

if (retcode < 0) {              // an error has occured
        errtext = iimGetLastError();
        alert (errtext);
}

url = iimGetLastExtract();
id = url.substring(31);

eb = "<object width\"480\" height=\"385\"><param name=\"movie\" value=\"http://www.youtube.com/v/" + id +
     "&hl=de_DE&fs=1&\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\">" + 
     "</param><embed src=\"http://www.youtube.com/v/"+ id +"&hl=de_DE&fs=1&\" type=\"application/x-shockwave-flash\"" + 
     "allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"480\" height=\"385\"></embed></object>";

alert (eb);
 
Code to get a random number.

Code:
URL GOTO=http://www.graphpad.com/quickcalcs/randomN1.cfm
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:low CONTENT=1
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:hi CONTENT=9
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:CFForm_1 ATTR=NAME:Random
TAG POS=18 TYPE=TD ATTR=TXT:* EXTRACT=TXT

Edit the low and hi values to the range you want the number to be from and put {{!EXTRACT}} in your script where you want the number to be.
 
a simple ping fm poster, this could be enhanced to choose a random profile and delay a certain period of time but its posted a starting point

Code:
VERSION BUILD=6240709 RECORDER=FX
TAB T=1
URL GOTO=http://ping.fm/
SET !DATASOURCE c:\pingfm.csv
SET !DATASOURCE_COLUMNS 3
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
SET !ERRORIGNORE YES
TAG POS=1 TYPE=A ATTR=TXT:Login
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:login ATTR=NAME:email CONTENT={{!COL1}}
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:login ATTR=NAME:password CONTENT={{!COL2}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:login ATTR=VALUE:Login
TAG POS=1 TYPE=TEXTAREA ATTR=ID:message CONTENT={{!COL3}}
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=ID:postbtn
TAG POS=1 TYPE=A ATTR=TXT:Logout<SP>({{!COL1}})

the csv file will be of the format

email address,password, message you want posted
 
pingler

Code:
VERSION BUILD=6240709 RECORDER=FX
SET !ERRORIGNORE YES
TAB T=1
SET !DATASOURCE c:\mysites.csv
SET !DATASOURCE_COLUMNS 3
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO=http://pingler.com/
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://pingler.com/services.php ATTR=NAME:domain_name CONTENT={{!COL1}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://pingler.com/services.php ATTR=NAME:domain_url CONTENT={{!COL2}}
TAG POS=1 TYPE=SELECT FORM=ACTION:http://pingler.com/services.php ATTR=NAME:category CONTENT={{!COL3}}
PROMPT Please<SP>Enter<SP>Captcha<SP>Code: !VAR1
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://pingler.com/services.php ATTR=NAME:captcha CONTENT={{!VAR1}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://pingler.com/services.php ATTR=VALUE:Ping<SP>My<SP>Site!
WAIT SECONDS=#DOWNLOADCOMPLETE# 
'New page loaded

mysites csv file format is

Code:
name or title of site,url of website,category

The category is not essential but is basically a number representation of the category you select, so for example <option value="1">Automotive</option> . Category would be 1.

I had 3 sites in my csv file and set the max to 3, selected Play(loop) and it worked fine. You need to enter the captcha code manually.
 
Back
Top