jakbur Posted May 2, 2009 Posted May 2, 2009 Hello, There's a browser game I'm trying to beat. I want to write an autoscript to detect when the cursor changes once it hover or select a subject. For example, the cursor is a fresh tomato, but turns into a rotten and shriveled tomato when hovering over something/or someone. So how is possible to detect when the change is made? I skimmed through the manual and found the only thing close to what I want is a MouseGetCursor function. There is more than a dozen values it can return. How do I find out which of the value ID is used in the said game?
jakbur Posted May 2, 2009 Author Posted May 2, 2009 Nevermind, I may have found the solution listed below: $cursor = MouseGetCursor() MsgBox(4096, "ID = " & $cursor, "Which means " & $IDs[$cursor]) Hello, There's a browser game I'm trying to beat. I want to write an autoscript to detect when the cursor changes once it hover or select a subject. For example, the cursor is a fresh tomato, but turns into a rotten and shriveled tomato when hovering over something/or someone. So how is possible to detect when the change is made? I skimmed through the manual and found the only thing close to what I want is a MouseGetCursor function. There is more than a dozen values it can return. How do I find out which of the value ID is used in the said game?
jakbur Posted May 2, 2009 Author Posted May 2, 2009 Unfortunately, it didn't work. Please help me see if there is a way. Thank you.
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