slideawayz Posted January 30, 2009 Share Posted January 30, 2009 i saw some program that when i run it, it will exact to 2 process. example i have script name "robot.exe" when i run it, i see "attack.exe" and "loot.exe" in task manager how i do this in autoit, i would really appreciate some help Thank you ps.sorry for my bad english Link to comment Share on other sites More sharing options...
nfaustin Posted January 30, 2009 Share Posted January 30, 2009 Just run the exe if you have other exe to run, like: Run("name.exe") [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font] Link to comment Share on other sites More sharing options...
slideawayz Posted January 30, 2009 Author Share Posted January 30, 2009 Just run the exe if you have other exe to run, like:Run("name.exe")thank you , nfaustinbut like some script i see it have only 1 script in directory but when run it become 2 or 3i want to make script like this becuase i go to public my nostale bot, but it wouldn't cool if it has many exe in directory Link to comment Share on other sites More sharing options...
nfaustin Posted January 30, 2009 Share Posted January 30, 2009 i want to make script like this becuase i go to public my nostale bot, but it wouldn't cool if it has many exe in directory I don't get your point here.. [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font] Link to comment Share on other sites More sharing options...
slideawayz Posted February 3, 2009 Author Share Posted February 3, 2009 Ok I got the example programwhen you run it, you will see 2 process in task manager(Pinnacle.exe And SndBot1.7.exe).. that what I want 1 script that make 2 process http://www.thaigamesv.com/SndBot1.7.rar Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 3, 2009 Moderators Share Posted February 3, 2009 slideawayz,One simple method to achieve what you want is to use FileInstall().Create your 2 .exe files using separate scripts. Then create a third script and FileInstall the 2 .exe files. Your third script will be able to extract these .exes, run them and then exit.Voila - 2 processes created by a single script (and a bit of lateral thought!)M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
nfaustin Posted February 3, 2009 Share Posted February 3, 2009 Ok.Try read this if it would help you. [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font] Link to comment Share on other sites More sharing options...
BrettF Posted February 3, 2009 Share Posted February 3, 2009 You are all thinking very complicated Why not just use the same script with command line parameters? Look for them in the helpfile! Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
slideawayz Posted February 5, 2009 Author Share Posted February 5, 2009 (edited) Ok. Try read this if it would help you. i had tried this udf but it doesnt work here is my script test.exe#AutoIt3Wrapper_useupx=n #AutoIt3Wrapper_run_after=C:\ResHacker.exe -add %out%, %out%, file1.exe, rcdata, TEST_BIN_1, 0 #AutoIt3Wrapper_run_after=upx.exe --best --compress-resources=0 "%out%" #include "res.au3" _ResourceSaveToFile("C:\file1.exe", "TEST_BIN_1", 0, 0, 1) file1.exewhile 1 tooltip("I love you",0,0) sleep(1000) wend when I run "test.exe" it execute "file1.exe" instead of copy it to C:/ Edited February 5, 2009 by slideawayz Link to comment Share on other sites More sharing options...
jvanegmond Posted February 5, 2009 Share Posted February 5, 2009 slideawayz, you can't have one process have multiple names. What it probably does is mentioned above, it writes a new process and then launches that. This is, for simple projects, never required. You shouldn't be doing this in multiple processes, just learn to code everything in one script. And while you are it, learn to type English. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 5, 2009 Moderators Share Posted February 5, 2009 (edited) slideawayz,And your example does work if you use the correct datatype (because I have just tried it!):#AutoIt3Wrapper_run_after=C:\ResHacker.exe -add %out%, %out%, file1.exe, rcdata, TEST_BIN_1, 0_ResourceSaveToFile("C:\file1.exe", "TEST_BIN_1", 10) ; $RT_RCDATA = 10M23 Edited February 5, 2009 by Melba23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
slideawayz Posted February 5, 2009 Author Share Posted February 5, 2009 slideawayz,And your example does work if you use the correct datatype (because I have just tried it!):#AutoIt3Wrapper_run_after=C:\ResHacker.exe -add %out%, %out%, file1.exe, rcdata, TEST_BIN_1, 0_ResourceSaveToFile("C:\file1.exe", "TEST_BIN_1", 10) ; $RT_RCDATA = 10M23Thank you, Melba23I got it to working now Thank you to all of you for helping me Link to comment Share on other sites More sharing options...
Fend Posted February 10, 2009 Share Posted February 10, 2009 I would be interested to look at your nostale bot code...I have spent some time writing code for nostale. I like cookies? 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