speed_minixter Posted May 7, 2004 Share Posted May 7, 2004 som1 tell how to do it if its possible and not too complicated explications because im a bit noob to autoit!! Link to comment Share on other sites More sharing options...
dazzyreil Posted May 7, 2004 Share Posted May 7, 2004 you mean a bot that runs when your pc starts up ?? Link to comment Share on other sites More sharing options...
speed_minixter Posted May 7, 2004 Author Share Posted May 7, 2004 yes... when my pc starts up i want the bot to run. and i have another question i cant get the value that i write in my GUI $input_1 = GUISetControl("input","", 10,10, 290,40) $button_2 = GUISetControl("button", "Save", 180,150, 60,30) Case $msg1 = $input_1 Case $msg = $button_2 IniWrite( "Config.ini", "Config", "message", $msg1) IniWrite( "Config.ini", "Config", "nombre", $msg2) if i type hello it wont write in the INI like i would like it ot do... som1 got a solution? Link to comment Share on other sites More sharing options...
scriptkitty Posted May 7, 2004 Share Posted May 7, 2004 (edited) If you mean a script, put it in the startup folder, in the run or run once registry, etc etc. Bot usually is short for Robot, or non player controlled(character) or computer assisted player. You could have autoit start up a game, and start up a Bot. Please be a bit more specific in asking questions. AutoIt is not the best choice for Bot gaming, but it is great for having the computer do all your work for ya. We discussed a messenger bot for instance to autoreply, and even do tasks when commanded via a msg. Edited May 7, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
scriptkitty Posted May 7, 2004 Share Posted May 7, 2004 try $msg1 = GuiRead ($input_1) $msg2 = GuiRead ($button_2) IniWrite( "Config.ini", "Config", "message", $msg1) IniWrite( "Config.ini", "Config", "nombre", $msg2) case is used for select..case..endselect. Manual shows many examples AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
emmanuel Posted May 7, 2004 Share Posted May 7, 2004 wouldn't it be cool if someone wrote a game that was designed for only being played by people's scripted bots? making the real contest who can write the best code? "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
speed_minixter Posted May 7, 2004 Author Share Posted May 7, 2004 (edited) For my fisrt question yes i want it in the startup folder so it can start by himself after my computer is done booting. should i do a regwrite or move my script in th startup folder? when i write this command $msg1 = GuiRead ($Input_1) it give me what is in the second brackets $input_1 = GUISetControl("input","(here)", 10,10, 290,40) so how can i get the additional information that i write in my gui input box! Edited May 7, 2004 by speed_minixter Link to comment Share on other sites More sharing options...
dazzyreil Posted May 7, 2004 Share Posted May 7, 2004 RegWrite ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "someting", "REG_SZ", """C:\blabla.exe""") add this and the bot will run everytime you start ur pc up Link to comment Share on other sites More sharing options...
speed_minixter Posted May 7, 2004 Author Share Posted May 7, 2004 thx dude Link to comment Share on other sites More sharing options...
scriptkitty Posted May 7, 2004 Share Posted May 7, 2004 (edited) Normally I would put it in the startup folder, it is easy, and it loads after windows loads up. Registry Run loads first, and can cause a few issues if you have no delay on it. Up to you. Also if you don't know what you are doing, reg editing can be dangerous. So basically: Novice=Startup folder Intermediate=Registry Advanced=RunAsService of course knowing why and why not is 99% of the answer. So, even the most advanced users use Startup folder when it is the best solution. Edited May 7, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
dazzyreil Posted May 7, 2004 Share Posted May 7, 2004 yes start folder is good to with Registry you can put the .exe file where you want Link to comment Share on other sites More sharing options...
Valik Posted May 8, 2004 Share Posted May 8, 2004 yes start folder is good to with Registry you can put the .exe file where you want Never heard of putting a shortcut to the exe in the Startup folder? Link to comment Share on other sites More sharing options...
pekster Posted May 8, 2004 Share Posted May 8, 2004 For those that would like some of the more advanced ability without needing to know as much, check out the Startup Control Panel (CPL) on the linked page. This is a GUI based way to add, remove, and deactivate programs that start on boot in 5 different registry locations. I use it all the time when I wish to start tasks on boot. It also lets me run some administrator related services without appearing in the user's "startup" folder (where even a novice user could find and delete it.) [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
ghettochild Posted May 8, 2004 Share Posted May 8, 2004 there already is a scripted bot game but its in pbasic Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now