Sign in to follow this  
Followers 0
AndrewRenn

Need help with it selecting a window to be 'active'!

4 posts in this topic

Okay, I want it to when I run the script, it selects the specific window I tell it to select (Always the same title, of course)

Could I get some help, what would be the command to use?

Thanks :P

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hello, and welcome to the forums!

Opt("WinTitleMatchMode", 2)
WinActive("title")
Edited by SwiftBurns

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hello, and welcome to the forums!

Opt("WinTitleMatchMode", 2)
WinActive("title")
Thanks, and thanks :P

Yeah, I'll tell you, autoit is way better than AcTool lol, just a bit more complicated :(

Hmm, that code didn't seem to work actually,

I changed WinActive to WinActive("MyTitle"), was there anything else i was supposed to change?

Edited by AndrewRenn

Share this post


Link to post
Share on other sites

Also, I'm getting another problem.

On the game, it is set to do this (On the autoit)

set mouse coord blah blah

rightclick

sleep(300)

rightclick

sleep(300)

etc.., I konw the rightclick is wrong, but I have it right on the program :P

The problem is though, it waits like 15 seconds to right click again, how do I remove this delay?

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  
Followers 0