Jump to content
Sign in to follow this  
weedcrackrun

Mouse Clicking

Recommended Posts

Ok i made a script thats suppose to be a macro for a game. It's suppose to click in 2 different spots, but it doesnt work when its in the game. Its a full screen game, and it has a custom mouse. I know that it might now shot the mouse moving in the game, but it still doesnt do whats its supposed to. I have used scripts made by other people in games such as world of warcraft, and it does everything without you seeing the mouse move. I cant even get it to do what i want it to. What am i doing wrong? Do i need to run the game in windowed mode? It doesnt have windowed mode though so I would be screwed.

Share this post


Link to post
Share on other sites

I will try this and let you know if it works. I thought sleeping would have something to do with it.

Edit: doesnt work, heres my code (yes i know how long and complicated it is.)

WinWaitActive("window name")

sleep(1000)

MouseClick("left", 325, 714, 10)

sleep(100)

MouseClick("left", 325, 714, 10)

MsgBox(0, "Test", "Script Complete")

Edited by weedcrackrun

Share this post


Link to post
Share on other sites

I had problems using winwaitactive and controlsend with games, does the MsgBox work?


Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs

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...