XKira 0 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 Share this post Link to post Share on other sites
jaberwacky 327 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: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Share this post Link to post Share on other sites
XKira 0 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 Share this post Link to post Share on other sites