earthlingj 13 Posted January 28, 2010 Report Share Posted January 28, 2010 Is it possible for the compiled bots to somehow autostart on execution? instead of having to push play. Quote Link to post Share on other sites
alcr 135 Posted January 28, 2010 Report Share Posted January 28, 2010 Not as far as I know, no. Quote Link to post Share on other sites
alcr 135 Posted January 29, 2010 Report Share Posted January 29, 2010 run it via command line:c:\path\to\ubotdevtool.exe "c:\path\to\bot.ubot" /autoAh, yeah that works.I thought he was asking if you could make them so that they start when you run the exe. Quote Link to post Share on other sites
earthlingj 13 Posted January 29, 2010 Author Report Share Posted January 29, 2010 Ah, yeah that works.I thought he was asking if you could make them so that they start when you run the exe. yeah... thats actually what i want... for it to auto RUN on execution. Quote Link to post Share on other sites
alcr 135 Posted January 29, 2010 Report Share Posted January 29, 2010 yeah... thats actually what i want... for it to auto RUN on execution. I don't think that makes sense actually. I wouldn't like downloading an .exe to try it out, run it, and then it just starts making stuff on the internet. Remember, UBot coooould also be used for bad stuff as well as good stuff. Quote Link to post Share on other sites
earthlingj 13 Posted January 30, 2010 Author Report Share Posted January 30, 2010 well i wasnt going to use it for anything malicious. the point of it would be an app where i dont have to do ANYTHING. no settings. no clicking buttons. i just open and itll go. thats what thinking. Quote Link to post Share on other sites
alcr 135 Posted January 30, 2010 Report Share Posted January 30, 2010 well i wasnt going to use it for anything malicious. the point of it would be an app where i dont have to do ANYTHING. no settings. no clicking buttons. i just open and itll go. thats what thinking.Yeah I know, but someone else might, right? But I think you can start it through a bat file/command prompt and make it autorun through there. Quote Link to post Share on other sites
Lino de Franca 0 Posted February 12, 2010 Report Share Posted February 12, 2010 Yeah I know, but someone else might, right? But I think you can start it through a bat file/command prompt and make it autorun through there. And Could I to pass parameters in the command line ??? Quote Link to post Share on other sites
some_guy 11 Posted February 13, 2010 Report Share Posted February 13, 2010 And Could I to pass parameters in the command line ??? No, I have requested this as would be really cool (like this guy ) Quote Link to post Share on other sites
Lino de Franca 0 Posted February 15, 2010 Report Share Posted February 15, 2010 run it via command line:c:\path\to\ubotdevtool.exe "c:\path\to\bot.ubot" /auto If I run it in this manner would not can be taken as if I was running my development license ? Need I to buy one license for each "/auto" execution ??? Quote Link to post Share on other sites
Lord Brar 107 Posted February 15, 2010 Report Share Posted February 15, 2010 If I run it in this manner would not can be taken as if I was running my development license ? Need I to buy one license for each "/auto" execution ??? No. You do not need multiple licenses if you are running it on the same machine. Quote Link to post Share on other sites
Lino de Franca 0 Posted February 16, 2010 Report Share Posted February 16, 2010 No. You do not need multiple licenses if you are running it on the same machine. Ok, Lord Brar. But I'm a solution developer and I would like to auto run bots in my clients' machines without the need of them to know the details. So... Quote Link to post Share on other sites
Lord Brar 107 Posted February 16, 2010 Report Share Posted February 16, 2010 Ok, Lord Brar. But I'm a solution developer and I would like to auto run bots in my clients' machines without the need of them to know the details. So... Then you need to either compile the bots as .exe files OR get a license for each client. You will need a license for each client only if you want to run the editor on their systems. Your own license can be installed on two machines and used only on one at the any time. Quote Link to post Share on other sites
theskinnys 1 Posted February 16, 2010 Report Share Posted February 16, 2010 Then you need to either compile the bots as .exe files OR get a license for each client. You will need a license for each client only if you want to run the editor on their systems. Your own license can be installed on two machines and used only on one at the any time. But if we compile the exe's then they won't be able to auto start the program right? And we can't have ubot files autostarting on too computers since the limit is using one at a time on up to two computers. Quote Link to post Share on other sites
AKprogrammer 7 Posted February 17, 2010 Report Share Posted February 17, 2010 But if we compile the exe's then they won't be able to auto start the program right? And we can't have ubot files autostarting on too computers since the limit is using one at a time on up to two computers. You can automate your automation. I already looked into this because I'm designing a .NET scheduler application for my UBots (and they need to be run while I'm afk). What I used was AutoIt3. It's pretty good at automating Winforms. The below AutoIt3 script takes a UBot .exe as a parameter, then it opens the UBot .exe, waits for the window to become active, then sends a TAB key press, then an ENTER key press... which will tab to the play button and then press it. I even compiled it with AutoIt3 (like UBot it also compiles to .exes) and you can download the .exe from my blog. Below is the code you could compile yourself if you downloaded AutoIt3. ;Basic script to AutoRun UBot - takes an .exe as parameter ;Directions: ;Put this .exe inside the same folder of the UBot .exe you want to AutoRun ;Call this script like this from console window or other app: ;AutoRunUBot.exe MyUbotExe.exe $totCommands = $CmdLine[0] If($totCommands <= 0) Then MsgBox(0, "Need parameter", "You didn't pass a UBot .exe to run."); Exit EndIf $param1 = $CmdLine[1] $windowName = StringSplit($param1, ".", 0) ;Run .exe and wait for window name to become active window Run($param1) WinWaitActive($windowName[1]) ;Tab and then enter will select play button and press it Send("{TAB}") Send("{ENTER}") 2 Quote Link to post Share on other sites
alcr 135 Posted February 17, 2010 Report Share Posted February 17, 2010 Nice done AKProgrammer! That will help a lot of people Quote Link to post Share on other sites
Lino de Franca 0 Posted February 17, 2010 Report Share Posted February 17, 2010 You can automate your automation. I already looked into this because I'm designing a .NET scheduler application for my UBots (and they need to be run while I'm afk). What I used was AutoIt3. It's pretty good at automating Winforms. The below AutoIt3 script takes a UBot .exe as a parameter, then it opens the UBot .exe, waits for the window to become active, then sends a TAB key press, then an ENTER key press... which will tab to the play button and then press it. I even compiled it with AutoIt3 (like UBot it also compiles to .exes) and you can download the .exe from my blog. Below is the code you could compile yourself if you downloaded AutoIt3. ;Basic script to AutoRun UBot - takes an .exe as parameter ;Directions: ;Put this .exe inside the same folder of the UBot .exe you want to AutoRun ;Call this script like this from console window or other app: ;AutoRunUBot.exe MyUbotExe.exe $totCommands = $CmdLine[0] If($totCommands <= 0) Then MsgBox(0, "Need parameter", "You didn't pass a UBot .exe to run."); Exit EndIf $param1 = $CmdLine[1] $windowName = StringSplit($param1, ".", 0) ;Run .exe and wait for window name to become active window Run($param1) WinWaitActive($windowName[1]) ;Tab and then enter will select play button and press it Send("{TAB}") Send("{ENTER}") Thank you very much AKProgrammer !!! I will try your suggestion... Thanks... Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted March 2, 2010 Report Share Posted March 2, 2010 I cant make this autoit thing work.. I tried to make a ubot compiled named ubottest.exe and put it in the same folder as the AutoRunUBot.exe but im always getting the "You didn't pass a UBot .exe to run." Do i need to modify the autoit file first???? I really need this... Quote Link to post Share on other sites
AKprogrammer 7 Posted March 3, 2010 Report Share Posted March 3, 2010 I cant make this autoit thing work.. I tried to make a ubot compiled named ubottest.exe and put it in the same folder as the AutoRunUBot.exe but im always getting the "You didn't pass a UBot .exe to run." Do i need to modify the autoit file first???? I really need this... You can't double-click it because it doesn't know what .exe to run, and takes the .exe name as a parameter. The reason it's setup like that is so I can tell the .exe what UBot to run on the fly from another program. But if you want something to double-click, you can open up Notepad and type in:AutoRunUBot.exe YOUR_UBOT.exe Then "Save As" - put it in the same folder as the other files, and name it: something.bat It doesn't matter what you name it - it just has to be a batch file (ending with .bat). Then you can double-click that and it will run the .exe with your ubot .exe as the parameter. Quote Link to post Share on other sites
eliquid 0 Posted March 8, 2010 Report Share Posted March 8, 2010 I actually did this as a test with winautomation back in Jan.. glad to see someone did it with AutoIt Quote Link to post Share on other sites
Net66 54 Posted May 2, 2010 Report Share Posted May 2, 2010 Thanks so much for this. This really adds to the potential of ubot. Andy Quote Link to post Share on other sites
Frank 177 Posted May 3, 2010 Report Share Posted May 3, 2010 Because of all the requests, maybe it's time to provide the feature in ubot instead of cobbling it on? Frank Quote Link to post Share on other sites
Luke 18 Posted May 3, 2010 Report Share Posted May 3, 2010 Because of all the requests, maybe it's time to provide the feature in ubot instead of cobbling it on? Seconded! Quote Link to post Share on other sites
UBotBuddy 331 Posted May 3, 2010 Report Share Posted May 3, 2010 I am okay with this as well. Yes, this is a VERY powerful tool but then so is a lot of tools out there that has the capacity for doing harm. It's like the Safety is on and I cannot turn it off even when i am fully justified in my own servers. One other thing while we are on it. How about adding the ability to change the opening URL. I love you guys but i want to promote my own page when I sell my executables and I do not want to give away how i developed my tool. Thanks! Buddy Quote Link to post Share on other sites
Frank 177 Posted May 5, 2010 Report Share Posted May 5, 2010 just trying the stir the pot (or should I say bot?)! But I think that it's a good idea. Especially when you combine automation outside of ubot. Frank 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.