Guest BlackDiablo110 Posted September 16, 2004 Share Posted September 16, 2004 What's your code? And no, it didn't work. Link to comment Share on other sites More sharing options...
Guest BlackDiablo110 Posted September 16, 2004 Share Posted September 16, 2004 OMG TY!!! YOURS WORKSSSSS Link to comment Share on other sites More sharing options...
emmanuel Posted September 16, 2004 Share Posted September 16, 2004 (edited) OMG TY!!! YOURS WORKSSSSS <{POST_SNAPBACK}>Well, g, my existance is now validated, at least in someone's eyes You're welcome. Edited September 16, 2004 by emmanuel "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
Guest BlackDiablo110 Posted September 16, 2004 Share Posted September 16, 2004 Ok here's my new, (and first) working script. StarcraftFunc() Func StarcraftFunc() Run('"C:\Program Files\Starcraft\starcraft.exe"','C:\Program Files\Starcraft') WinWaitActive("Brood War") Sleep (5000) Send ("!TAB") Sleep (5000) Run('"C:\Documents and Settings\Randall Degges\Desktop\Multihack\Damnation.exe"',"C:\Documents and Settings\Randall Degges\Desktop\MultiHack") Sleep (5000) WinKill("Damnation", "") Sleep (5000) WinActivate("Brood War", "") EndFunc BUT: 1 thing doesn't work. After I kill the Damnation window, it doesn't activate the Brood War window =(. Can someone tell me why? It should work... Hmm... Ideas? Link to comment Share on other sites More sharing options...
Guest BlackDiablo110 Posted September 16, 2004 Share Posted September 16, 2004 Actually, I just editied it a little, here's what it looks like now: StarcraftFunc() Func StarcraftFunc() Run('"C:\Program Files\Starcraft\starcraft.exe"','C:\Program Files\Starcraft') WinWaitActive("Brood War") Sleep (5000) Run('"C:\Documents and Settings\Randall Degges\Desktop\Multihack\Damnation.exe"',"C:\Documents and Settings\Randall Degges\Desktop\MultiHack") Sleep (5000) WinKill("Damnation", "") Sleep (5000) WinActivate("Brood War", "") EndFunc But it still won't bring up the Brood War window again.. Link to comment Share on other sites More sharing options...
emmanuel Posted September 16, 2004 Share Posted September 16, 2004 Send ("!TAB") <{POST_SNAPBACK}>is sending Alt-Shift-t (then) AB I'm guessing this has little to no effect on anything. you mean: Send ("!{TAB}") right? You also might want to try winsetstate instead of or along with winactivate. don't have or care about starcraft (actually did like it when I played it way back when) but figure helping is good karma, that and someday you may help me "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
Guest BlackDiablo110 Posted September 17, 2004 Share Posted September 17, 2004 Thanks emmanuel. I owe you one. =). WinSetState works. Link to comment Share on other sites More sharing options...
emmanuel Posted September 17, 2004 Share Posted September 17, 2004 Thanks emmanuel. I owe you one. =). WinSetState works. <{POST_SNAPBACK}>no problem... got any bright ideas about comparing date arrays? (see my recent post here) "I'm not even supposed to be here today!" -Dante (Hicks) 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