Ive been up all night trying to get my script to work, i have searched for answers for a several hours without any luck, now to my problem.
I want the mousecursor to spam rightclick in a sertain position and in the meanwhile i want to be able to do other things on my pc as watching movies, surf the web ect.
My current script work fine when im ingame, but i want to be able to tab out and have the script still running in the World of Warcraft window.
WinWait, World of Warcraft,
IfWinNotActive, World of Warcraft, , WinActivate, World of Warcraft,
WinWaitActive, World of Warcraft,
MouseClick, right, 968, 704,World of Warcraft
What im i doing wrong?