Hi guys, this imacros script extract images from tumblr blogs, add tags and post them in your tumblr blog, remember that the limit is 75 post for day.
Instructions:
1.Change the word tag in the url for the tag that you want for example "movies"."
"
2.Change the word "yourtumblrurl" for your tumblr blog name.
3. Change the word "tag" after "content=" for the tag that you want .
4.Copy the code and save like a .js file.
The script will stop after 75 posts
Instructions:
1.Change the word tag in the url for the tag that you want for example "movies"."
Code:
hxxp://tumblr.com/tagged/tag
2.Change the word "yourtumblrurl" for your tumblr blog name.
3. Change the word "tag" after "content=" for the tag that you want .
4.Copy the code and save like a .js file.
The script will stop after 75 posts
Code:
macro1="CODE:";
macro1+="SET !TIMEOUT 45\n";
macro1+="TAB T=1\n";
macro1+="URL GOTO=hxxp://tumblr.com/tagged/tag\n";
macro2="CODE:";
macro2+="SET !TIMEOUT 45\n";
macro2+="SET !REPLAYSPEED MEDIUM\n";
macro2+="SET !ERRORIGNORE YES\n";
macro2+="TAB T=1\n";
macro2+="wait seconds=5\n";
macro2+="TAG POS={{loopcounter2}} TYPE=IMG ATTR=CLASS:image EXTRACT=HREF\n";
//
macro2+="TAB OPEN\n";
macro2+="TAB T=2\n";
macro2+="SET !VAR1 {{!EXTRACT}}\n";
//
macro2+="URL GOTO=hxxp://tumblr.com/blog/yourtumblrurl/new/photo\n";
macro2+="TAG POS=1 TYPE=A ATTR=TXT:Use<SP>a<SP>URL<SP>instead\n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:photo_src CONTENT={{!VAR1}} \n";
//
//
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag1, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag2, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag3, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag4, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag5, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag6, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag7, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag8, \n";
macro2+="SET !REPLAYSPEED FAST \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag10, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag11, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag12, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag13, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag14, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag15, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag16, \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag17, \n";
//
//
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:post_source_url CONTENT=hxxp://yourtumblrurl.tumblr.com\n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:post_three CONTENT=hxxp://yourtumblrurl.tumblr.com\n";
macro2+="TAG POS=1 TYPE=BUTTON ATTR=ID:save_button\n";
macro2+="wait seconds=1\n";
macro2+="TAB T=2\n";
macro2+="TAB CLOSE\n";
macro2+="TAB T=1\n";
macro3="CODE:";
macro3+="SET !TIMEOUT 45\n";
macro3+="SET !ERRORIGNORE YES\n";
macro3+="TAB T=1\n";
var e;
var f;
var g;
for(g=1; g<=15; g++)
{
for(e=1; e<=1; e++)
{
iimSet("loopcounter1", e);
iret = iimPlay(macro1);
for(f=1; f<=5; f++)
{
iimSet("loopcounter2", f);
iret = iimPlay(macro2);
}
}
iimSet("loopcounter3", g);
iret = iimPlay(macro3);
}