uRobot 1 Posted July 4, 2016 Report Share Posted July 4, 2016 Hello, Sorry to be a pain in the $#%... but I wanted to ask a new tip/advice again... how do you manipulate a variable? for example: $list total> #total output 101 basically... the variable #total gives out 101... and I only wanted it to be 100? i would have used the command set total 0 to get a total of 100... but I cannot get exbrowser to click the first button if I set the variable to 0... I have to set it to 1... but then again this makes the #total to 101 and not 100... I hope my explanation makes sense... thanks a lot in advance! Quote Link to post Share on other sites
pash 504 Posted July 4, 2016 Report Share Posted July 4, 2016 use $subtract alert($subtract(101,1)) 1 Quote Link to post Share on other sites
HelloInsomnia 1103 Posted July 4, 2016 Report Share Posted July 4, 2016 Xpath starts at 1 not 0 which may be why you're having issues with getting it to click the button. As for the 101 bit, just do 99 loops? Hard to say without seeing what you are doing. 1 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.