Jump to content
Sign in to follow this  
AndrewRenn

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

Recommended Posts

AndrewRenn

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
TehWhale

Hello, and welcome to the forums!

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

Share this post


Link to post
Share on other sites
AndrewRenn

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
AndrewRenn

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.