Jump to content

Adding a mouse ID for MouseGetCursor


 Share

Recommended Posts

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 by XKira
Link to comment
Share on other sites

This?

#include <Array.au3>

Global $mousePos[2]

$mousePos = MouseGetPos()

_ArrayDisplay($mousePos)

Post your code...

Edited by jaberwocky6669
Link to comment
Share on other sites

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 by XKira
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...