Franciscotorresny 0 Posted January 31, 2014 Report Share Posted January 31, 2014 So how do i get the script to run in /auto in ubot 5 ??? Looks like is not working and since i don't have PRO i can use the scheduler any help ? Quote Link to post Share on other sites
Edward_2 85 Posted February 1, 2014 Report Share Posted February 1, 2014 There's This ui stat monitor("<script type=\"text/javascript\"> window.setTimeout(function() \{ ubot.runScript(\'onload()\') \}, 500)</script>", "")define onload { navigate("google.com", "Wait")} Quote Link to post Share on other sites
Franciscotorresny 0 Posted February 1, 2014 Author Report Share Posted February 1, 2014 uhmmm thats not working!! Quote Link to post Share on other sites
Martin C 6 Posted March 11, 2014 Report Share Posted March 11, 2014 /auto doesn't work in Version 5 - you are meant to instead now use the in built scheduler. You can use Onload, that works for me but it won't close the procedure once it is finished, you will probably have to play around with .bat files to try and kill the process that way. Personally, I find not having the /Auto in version 5 a serious problem, I have a lot of applications that need to fire off Ubots based on events not schedule time so version 5's scheduler isn't the answer, (its a nice addition but not an alternative). I could use the Onload command but could really do with a terminate procedure function to go with it, better still just bring back the /auto command as that worked perfectly. I'm having to keep a version 4 installation around - is this progress - hmm, not sure, one step forward comes to mind. Quote Link to post Share on other sites
UBotDev 276 Posted March 11, 2014 Report Share Posted March 11, 2014 /auto doesn't work in Version 5 - you are meant to instead now use the in built scheduler. You can use Onload, that works for me but it won't close the procedure once it is finished, you will probably have to play around with .bat files to try and kill the process that way. Personally, I find not having the /Auto in version 5 a serious problem, I have a lot of applications that need to fire off Ubots based on events not schedule time so version 5's scheduler isn't the answer, (its a nice addition but not an alternative). I could use the Onload command but could really do with a terminate procedure function to go with it, better still just bring back the /auto command as that worked perfectly. I'm having to keep a version 4 installation around - is this progress - hmm, not sure, one step forward comes to mind. There was a free plugin which allows you to close UBot with UBot command, so no need for batch. Same here, I hope they add /auto asap! Quote Link to post Share on other sites
rapt0r 3 Posted April 11, 2014 Report Share Posted April 11, 2014 window.setTimeout(function() \{ ubot.runScript(\'onload()\') \}, 500)What is the "500" value for? Quote Link to post Share on other sites
UBotDev 276 Posted April 11, 2014 Report Share Posted April 11, 2014 500 is the delay before which the UBot command is executed, after you open the software. Quote Link to post Share on other sites
blumi40 222 Posted April 11, 2014 Report Share Posted April 11, 2014 http://www.w3schools.com/jsref/met_win_settimeout.aspGoogle is your friend Quote Link to post Share on other sites
rapt0r 3 Posted April 12, 2014 Report Share Posted April 12, 2014 Thanks I was thinking that what it was for. Just wanted to make sure I had to increase that value to 5000 because ubot takes to long to open up and then it gets stuck because its trying to do stuff before its fully loaded. Now it works fine. 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.