XKira Posted April 26, 2010 Posted April 26, 2010 (edited) Hey, Im new here, but im not new to programming. Today I was coding for automations on a game, (local game, not ToS breaking) And I realized it would be so much easier if the games mouse was recognized so I made a script to get the cursor of the mouse in its current state, and the state I want to write on But both returned 0 So im wondering if theres any way to make this mouse have an ID? Edited April 26, 2010 by XKira
jaberwacky Posted April 26, 2010 Posted April 26, 2010 (edited) This? #include <Array.au3> Global $mousePos[2] $mousePos = MouseGetPos() _ArrayDisplay($mousePos) Post your code... Edited April 26, 2010 by jaberwocky6669 Helpful Posts and Websites: AutoIt Wiki | Can't find what you're looking for on the Forum? My scripts: Guiscape | Baroque AU3 Code Formatter | MouseHoverCalltips | SciTe Customization GUI | ActiveWindowTrack Toy | Monitor Configuration UDF
XKira Posted April 27, 2010 Author Posted April 27, 2010 (edited) This? #include <Array.au3> Global $mousePos[2] $mousePos = MouseGetPos() _ArrayDisplay($mousePos) Post your code... no sir, I know how to display it. I mean, the mouse Cursor that is being used in my situation, if you use MouseGetCursor it returns 0 But theres another mouse cursor in the game, im trying to script for the change to, But it also returns 0 so Im wondering if theres any way to make these cursors return something different. I cant really post it, because its simply $cus = MouseGetCursor() MsgBox(0, " ", "Your Cursor ID is " & $cus) But the game im playing the mouse cursors all return as 0 so I need a way to make them IDed so I script for when they change Edited April 27, 2010 by XKira
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