turbolapp 5 Posted January 7, 2010 Report Share Posted January 7, 2010 okay, I'm trying to set up a task scheduler to run a script for me every morning. if I compile the bot, then I can get task scheduler to open the .exe, but then the script doesn't start. is it still true that task scheduler will only run .exe's and that ubot.exe's won't accept command line parameters? Also, can I have more than one script in a bot and designate which script to run through the command line parameters? Or is there something that i have to put into my script so that it will run when the command line sends the /auto command? Quote Link to post Share on other sites
emp 2 Posted January 8, 2010 Report Share Posted January 8, 2010 As far as I know, Seth is working on that. Right now, you can't start an uBot script via command line. ::emp:: Quote Link to post Share on other sites
turbolapp 5 Posted January 8, 2010 Author Report Share Posted January 8, 2010 Then I'm really confused. What was this about? http://www.ubotblog.com/3-11008-new-command-line-parameters-run-node/ Quote Link to post Share on other sites
1nspire 5 Posted January 8, 2010 Report Share Posted January 8, 2010 That is interesting Turbo but from my understanding when the term command line is used it is referring to DOS. Now if someone would be so kind as to show us what the command line would look like to run a bot automatically that would be badass. Quote Link to post Share on other sites
turbolapp 5 Posted January 8, 2010 Author Report Share Posted January 8, 2010 I'm getting more and more lost as this thread goes on :-/ So can I or can't I run task scheduler to open AND run a bot? Quote Link to post Share on other sites
Aaron Nimocks 19 Posted January 8, 2010 Report Share Posted January 8, 2010 Yes you can get it to run a .ubot For a scheduler you would enter something like. c:\ubot\ubotname.ubot /play or c:\ubot\ubotname.ubot /auto Play will just play it while auto will close when done. You can use the windows scheduler to do this or you can download a free one. Quote Link to post Share on other sites
turbolapp 5 Posted January 8, 2010 Author Report Share Posted January 8, 2010 okay, if i run c:\ubot\ubotname.ubot /auto, then does my ubotname.ubot have to only contain one script so that ubot knows which script to run when it opens or do i do something in the bot to designate which script to run on open? Quote Link to post Share on other sites
Aaron Nimocks 19 Posted January 8, 2010 Report Share Posted January 8, 2010 okay, if i run c:\ubot\ubotname.ubot /auto, then does my ubotname.ubot have to only contain one script so that ubot knows which script to run when it opens or do i do something in the bot to designate which script to run on open? What it will do is open the bot and hit play. So whatever happens when you open your .ubot and hit play is what it will do. I only have 1 script per .ubot file so I really wouldn't have your issue and I doubt you can tell it which one to run by the command line. You can always program it in the .ubot on where to start. Quote Link to post Share on other sites
turbolapp 5 Posted January 11, 2010 Author Report Share Posted January 11, 2010 What it will do is open the bot and hit play. So whatever happens when you open your .ubot and hit play is what it will do. I only have 1 script per .ubot file so I really wouldn't have your issue and I doubt you can tell it which one to run by the command line. You can always program it in the .ubot on where to start. I can't get this to work at all. I'm running 64bit vista. i only have one script in my bot. (the bot, ofcourse, works when i open it manually and then click play.) but I can't get my bot to run from the command line.. I'm clicking Start, Run, then typing in: C:\ubots\bots\mybot.ubot /auto the bot opens, but doesn't start running. what am I doing wrong here? Quote Link to post Share on other sites
Guest Jim Posted January 11, 2010 Report Share Posted January 11, 2010 Try this instead: C:\wherever\ubot\is\ubotdevtool.exe "C:\wherever\your\bot\is\botname.ubot" /auto Quote Link to post Share on other sites
turbolapp 5 Posted January 12, 2010 Author Report Share Posted January 12, 2010 Try this instead: C:\wherever\ubot\is\ubotdevtool.exe "C:\wherever\your\bot\is\botname.ubot" /auto Well that worked (of course) Jeez I would have never come up with that in a million years. Good thing we have a forum aye? Thanks, Jim. Quote Link to post Share on other sites
1nspire 5 Posted January 12, 2010 Report Share Posted January 12, 2010 Anybody have any luck with Win 7? 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.