Jump to content

Recommended Posts

Posted

This is the first time I have ever done any type of coding and scripting, so please forgive my newbiness.
I currently have this:

While(1)

MouseClick('left')

Sleep(5000)

WEnd

It essentially is a very simple autoclicker that works ever 5 seconds and loops continuously.

Now I want it to switch to another window, send a few buttons, then switch back to the original window.

The problem I am having is that the window is exactly the same as the original window (running two instances of the same game), so I have no way to distinguish between the two. How would I use the command winactivate?

Another issue is that it is a game, and requires me to press "alt" key in order for mouse to actual be usable in game.

Again, I am a complete newb at this, and would just like some simple and clear instructions on how to do this.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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