Jump to content

Need help with WinActivate


Recommended Posts

How can that if I prees button like "$Button_1" then it will do the things I want in the window I selected...

I want something like this:

If $msg = $Button_1 Then
In Window "The window's name":
MouseClick ("Bla Bla")
Send ("Bla")

Hope you understand me and help.

Link to comment
Share on other sites

How can that if I prees button like "$Button_1" then it will do the things I want in the window I selected...

I want something like this:

If $msg = $Button_1 Then
In Window "The window's name":
MouseClick ("Bla Bla")
Send ("Bla")

Hope you understand me and help.

Do you know more about what you want to click, besides "Bla Bla"? That's not a valid control name, but...

If $msg = $Button_1 Then
     ControlClick("The window's name", "", "Bla Bla")
     Send("Bla")
EndIf

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

???

I'm telling you it's not working.

Can't you help instead of spamming this thread?

You can't get any help if you can't tell us what you are working with... which makes your nym pretty hilariously ironic.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Alright, it's like this:

I want to do basic things like MouseClick and Send in a game.

But the curser is only moving in the desktop, and not in the game.

What I need to do?

BTW:

NeoTroniX, I wasn't talking to you =\

Edited by Info
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...