recycle Posted March 18, 2007 Posted March 18, 2007 (edited) I used to make a script for my game to run in window XP, the script as below, i try this in window Vista but it doesn't work well, it didn't activate the game window but just move the mouse around, can anyone help me please. WinActivate("game", "") Global $Paused HotKeySet("{PAUSE}", "move") HotKeySet("{ESC}", "Terminate") While 1 Sleep(100) WEnd Func move() $Paused = NOT $Paused While $Paused MouseMove(668, 170) MouseClick("left") Sleep(200) Send("!{p 2}") MouseMove(160, 554) MouseClick("left") Sleep(200) Send("!{p 2}") WEnd EndFunc Func Terminate() Exit 0 EndFunc Edited March 18, 2007 by recycle
MikeP Posted June 2, 2008 Posted June 2, 2008 Hi. I have the exact same problem as you... I made a nice working bot in XP and it works well on other people's XP computers. On Vista it doesn't.. apparently the pixelsearch is ok, the mousemove too I think.. but people report me that it doesn't send mouseclics... I've read stuff about putting #RequireAdmin directive so I'll try it but if you guys know more about Vista compatibility problems and what I should do to make that work under Vista feel free to share your experience on these issues. I don't post the code since it's about 2k lines and there's nothing fancy... just Autoit script working nice on XP.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now