Hi everyone. Basically my problem is simple. I play a game named Xenimus and im creating a macro to level with. I have a working macro that does this already but it didnt use the mouse, I recently started making a macro that will be using the mouse and im not very intelligent when it comes to using it.

Problem: i used the MousePos and set the coordinates. the mouse will go to the proper coordinates on my desktop but when i tell it to open the game THEN do the coordinates the mouse WONT budge.

basically heres a example..

// Top Left
MousePos 199, 278
LeftClick

If i try using that it works fine pressing the "Start Macro" button.

// This line is necessary to select the proper window
SetActiveWindow Xenimus
Delay 5000
// Top Left
MousePos 199, 278
LeftClick


When setting it to activewindow of xenimus, thats when the mouse refuses to move..

Help with this problem?

thanks in advance:)