iMacro to generate random text or random numbers for twitter -
i want tweet randomly won't message twitter saying tweeted that.
here code isn't working random text. how can add can enter random text/numbers tweet?
code:
version build=8961227 recorder=fx tab t=1 url goto=https://twitter.com/ wait seconds=1 event type=click selector="#tweet-box-home-timeline" button=0 wait seconds=2 events type=keypress selector="#tweet-box-home-timeline" chars="#twitter " wait seconds=2 event type=click selector="#timeline>div:nth-of-type(2)>div>form>div:nth-of-type(2)>div:nth-of-type(2)>button" button=0 wait seconds=4
if want random text set defined you, try this:
tab t=1 url goto=https://twitter.com/ wait seconds=1 event type=click selector="#tweet-box-home-timeline" button=0 wait seconds=2 ' define , add texts here set texts "['randomtext1', 'randomtext2', 'randomtext3']" set rndtext eval("var texts = eval('{{texts}}'); texts[math.floor(math.random()*(texts.length))];") events type=keypress selector="#tweet-box-home-timeline" chars={{rndtext}} wait seconds=2 event type=click selector="#timeline>div:nth-of-type(2)>div>form>div:nth-of-type(2)>div:nth-of-type(2)>button" button=0 wait seconds=4
Comments
Post a Comment