Tumblr.com > Post Image

Automatically post a targeted image on tumblr with a click-through link.

This script is a Task
Author: @webDOMinator
#name:Post Image
#title:Automatically post a targeted image on tumblr with a click-through link.
//Auto-poster of image
//automatically posts one random image found on google
//uses user input of what image to search for
//Show options if not set before
if:empty:shared.tumblrimgsearch
showoptions:postimage
optionwait
shared:tumblrimgsearch=opt.imgsearch
shared:tumblrimgurl=opt.url
var:keywords=opt.imgsearch
var:url=opt.url
else
var:keywords=shared.tumblrimgsearch
var:url=shared.tumblrimgurl
endif
parse:var.keywords
parse:var.url
//Google Image Search
navigate:images.google.com
dom.input.q.value=var.keywords
click:dom.input.btnG
pagewait
click:dom.a.Large
pagewait
//Create list and gather properties for
list:imgurls
list.imgurls.identifier=imgurl=
list.imgurls.subfield=imgurl
list.imgurls.terminators=&
gatherto:imgurls
gather
navigate:http://www.tumblr.com/new/photo
click:dom.a.Use a URL instead
var:rnd=3
randomize:1;list.imgurls.count:var.rnd
dom.input.photo_src.value=list.imgurls.[var:rnd]
click:dom.a.Set a click-through link
dom.input.post[three].value=var.url
click:dom.button.save_button

Commands Used

Ask

No Questions Yet

Be the first to ask!

Log in

Create an Account

Fill in the fields below to create your webDOMinator account. We don't spam and we don't give away any of your information

Create webDOMbot.com Community Profile
I agree to the webDOMinator Terms of Service.
Your personal information is kept private. Privacy Policy