Jump to content

Running Desktop File


Guest BlackDiablo110
 Share

Recommended Posts

OMG TY!!! YOURS WORKSSSSS

<{POST_SNAPBACK}>

Well, g, my existance is now validated, at least in someone's eyes :(:ph34r:

You're welcome.

Edited by emmanuel

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
Share on other sites

Guest BlackDiablo110

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

Guest BlackDiablo110

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

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 :ph34r:

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...