Ghoast 0 Posted May 29, 2012 Report Share Posted May 29, 2012 Signing up to Jigsy.com I want to be able to select a random theme out of the ones they give you to select.. I don't want to select the same one everytime.. Is there a way I can spin the 'click' command to make it chose different ones each time? I don't mind if it's choosing out of say 6 that I've preselected.. It just can't chose the same one each time.. Thanks! Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 29, 2012 Report Share Posted May 29, 2012 Click by offset. so if you were to drag over all 6 options.You will see there is an off set attribute. Now set these inside if else statements. first set a variableset #var $rand(0,5) this will set a random offset value. then you can have if (comparison(#var = 0){ click this layout} else if (comparison(#var = 1){ click this layoutetc etc.. Quote Link to post Share on other sites
JohnB 255 Posted May 29, 2012 Report Share Posted May 29, 2012 Try this: navigate("https://jigsy.com/account/signup", "Wait")wait(3)click(<src="/themes/image_preview/{$rand(227, 235)}/preview_small.png">, "Double Click", "Yes")wait(3)click(<innertext="Click Here to Continue">, "Left Click", "No") John Quote Link to post Share on other sites
Ghoast 0 Posted May 29, 2012 Author Report Share Posted May 29, 2012 Both good solutions - thanks! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.