nathan546 Posted January 21, 2004 Share Posted January 21, 2004 run/runwait isnt working Ex: Runwait("Diablo II.exe", "C:\Program Files\Diablo II.exe", @SW_MAXIMIZE) why wont it work. Link to comment Share on other sites More sharing options...
Developers Jos Posted January 21, 2004 Developers Share Posted January 21, 2004 run/runwait isnt working Ex: Runwait("Diablo II.exe", "C:\Program Files\Diablo II.exe", @SW_MAXIMIZE) why wont it work.what about this one ?? Runwait("C:\Program Files\Diablo II.exe", "C:\Program Files", @SW_MAXIMIZE) by the way... are you sure about the path "C:\Program Files" ? isn't it something like : Runwait("C:\Program Files\Diablo II\Diablo II.exe", "C:\Program Files\Diablo II", @SW_MAXIMIZE) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
nathan546 Posted January 21, 2004 Author Share Posted January 21, 2004 Is there a simpler way and I could just put Run("C:\Program Files\Diablo II\Diablo II.exe") if so please tell me and about a ini file how would this work. $path = IniRead("Config.ini", "Diablo II Path", "Path", "Path not found") then in Run("I would put what here $path?") ini looks like this [Diablo 2 Path] Path=C:\Program Files\Diablo II\Diablo II.exe Link to comment Share on other sites More sharing options...
Developers Jos Posted January 21, 2004 Developers Share Posted January 21, 2004 Is there a simpler way and I could just put Run("C:\Program Files\Diablo II\Diablo II.exe") if so please tell me and about a ini file how would this work.Sorry but I don't understand this question...pls explain.. to read the path&Program from your ini, you could code it like this: $Path = IniRead("Config.ini", "Diablo 2 Path", "Path", "Path not found") run($Path) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
nathan546 Posted January 21, 2004 Author Share Posted January 21, 2004 i mean can i just use a simple run command like Run("C:\Ect\Ect\Ect.exe") Link to comment Share on other sites More sharing options...
Developers Jos Posted January 21, 2004 Developers Share Posted January 21, 2004 ok.... yes should work too. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
nathan546 Posted January 21, 2004 Author Share Posted January 21, 2004 I figured out how to make a config on my own and I couldnt figure out run lol more questions to come(most likely). Thanks for the help. Link to comment Share on other sites More sharing options...
nathan546 Posted January 21, 2004 Author Share Posted January 21, 2004 more question on this game there is a character login screen and the characters are setup like 1 2 3 4 5 6 7 8 How would i make a 8 way config so it would be something like $character = IniRead("Config.Ini", "Setup", "character", "Gamestart not Found") then 1 presses left arrow down ect to move around to it but how would i make 1-8 do something differnt so they all wouldnt goto 1 character? Link to comment Share on other sites More sharing options...
nathan546 Posted January 21, 2004 Author Share Posted January 21, 2004 (edited) nevermind I had to do something like If $character = 1 Then Send("{ENTER}") If $character = 2 Then Send("{RIGHT}") Heres another stupid question how do I send 2 things in 1 send like Send("{RIGHT}", "{LEFT}") EDIT: Havnt used autoit in like 4 months it was Send("{RIGHT}{LEFT}") Edited January 21, 2004 by nathan546 Link to comment Share on other sites More sharing options...
spt Posted January 21, 2004 Share Posted January 21, 2004 go read the autoit v3 help file. Might help a bit ~~ Safeguarding The Land ~~ 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