Jump to content
Sign in to follow this  
Guest BlackDiablo110

Running Desktop File

Recommended Posts

Guest BlackDiablo110

What's your code? And no, it didn't work.

Share this post


Link to post
Share on other sites
Guest BlackDiablo110

OMG TY!!! YOURS WORKSSSSS

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
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?

Share this post


Link to post
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..

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites
Guest BlackDiablo110

Thanks emmanuel. I owe you one. =). WinSetState works.

Share this post


Link to post
Share on other sites

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

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

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...