Hi all,
I noticed that Tumblr changed forms to insert pics and videos. So my Imacros script for autopost has to be done from scratch. I already did it and it works except for a problem: it opens the window from where upload the pic and it keeps opened while the script down still running and post. The problem is that I do not know how to close it automatically and if I start a script uploading about 300 post so 300 images I get 300 windows opened and that wouldn't be nice. I here attach the script. Make sure to change the directory from where to upload imgs if you want to try.
TAB T=1
TAG POS=2 TYPE=SPAN ATTR=CLASS:new_post_label_icon
TAG POS=1 TYPE=DIV ATTR=TITLE:Click<SP>to<SP>add<SP>photos<SP>or<SP>drag<SP>some<SP>from<SP>your<SP>desktop&&CLASS:drop_target
TAG POS=1 TYPE=INPUT:FILE FORM=NAME:NoFormName ATTR=IDhoto_file CONTENT=C:\directory\image.jpg
TAG POS=1 TYPE=B ATTR=CLASS:icon
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=NAMEost[three] CONTENT=urlsite
TAG POS=1 TYPE=DIV ATTR=DATA-TOKENost-plexi&&CLASSlexi<SP>active<SP>show
TAG POS=1 TYPE=DIV ATTR=TXT:Caption
TAG POS=1 TYPE=SPAN ATTR=CLASS:mceIcon<SP>mce_code
TAB OPEN
TAB T=2
FRAME F=0
TAG POS=1 TYPE=TEXTAREA FORM=NAME:source ATTR=ID:htmlSource CONTENT=test
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:source ATTR=ID:insert
TAB T=2
TAB CLOSE
TAB T=1
TAG POS=9 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=* CONTENT=tag<SP>
TAG POS=1 TYPE=DIV ATTR=CLASS:chrome<SP>blue<SP>options
TAG POS=1 TYPE=DIV ATTR=TXT:Add<SP>to<SP>queue
TAG POS=1 TYPE=BUTTON ATTR=TXT:Queue<SP>post
If you have any idea how to fix the problem I would be very grateful.
Thx
I noticed that Tumblr changed forms to insert pics and videos. So my Imacros script for autopost has to be done from scratch. I already did it and it works except for a problem: it opens the window from where upload the pic and it keeps opened while the script down still running and post. The problem is that I do not know how to close it automatically and if I start a script uploading about 300 post so 300 images I get 300 windows opened and that wouldn't be nice. I here attach the script. Make sure to change the directory from where to upload imgs if you want to try.
TAB T=1
TAG POS=2 TYPE=SPAN ATTR=CLASS:new_post_label_icon
TAG POS=1 TYPE=DIV ATTR=TITLE:Click<SP>to<SP>add<SP>photos<SP>or<SP>drag<SP>some<SP>from<SP>your<SP>desktop&&CLASS:drop_target
TAG POS=1 TYPE=INPUT:FILE FORM=NAME:NoFormName ATTR=IDhoto_file CONTENT=C:\directory\image.jpg
TAG POS=1 TYPE=B ATTR=CLASS:icon
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=NAMEost[three] CONTENT=urlsite
TAG POS=1 TYPE=DIV ATTR=DATA-TOKENost-plexi&&CLASSlexi<SP>active<SP>show
TAG POS=1 TYPE=DIV ATTR=TXT:Caption
TAG POS=1 TYPE=SPAN ATTR=CLASS:mceIcon<SP>mce_code
TAB OPEN
TAB T=2
FRAME F=0
TAG POS=1 TYPE=TEXTAREA FORM=NAME:source ATTR=ID:htmlSource CONTENT=test
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:source ATTR=ID:insert
TAB T=2
TAB CLOSE
TAB T=1
TAG POS=9 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=* CONTENT=tag<SP>
TAG POS=1 TYPE=DIV ATTR=CLASS:chrome<SP>blue<SP>options
TAG POS=1 TYPE=DIV ATTR=TXT:Add<SP>to<SP>queue
TAG POS=1 TYPE=BUTTON ATTR=TXT:Queue<SP>post
If you have any idea how to fix the problem I would be very grateful.
Thx