Sign in to follow this  
Followers 0
FadetoGrey

How to identify unknown Cursor IDs?

9 posts in this topic

So say if you have an app that uses unknown Cursor IDs by AutoIt, is there a way you can tell AutoIt what IDs they are?

Share this post


Link to post
Share on other sites



So say if you have an app that uses unknown Cursor IDs by AutoIt, is there a way you can tell AutoIt what IDs they are?

Anyone?

Share this post


Link to post
Share on other sites

You can use GetClassLong with GCL_HCURSOR which might return one of the predefined cursor constants like IDC_ARROW or OCR_* but if it returns a handle it's difficult, you can search MSDN, maybe there is some function to get resource or .ico file from HICON.

Share this post


Link to post
Share on other sites

You can use GetClassLong with GCL_HCURSOR which might return one of the predefined cursor constants like IDC_ARROW or OCR_* but if it returns a handle it's difficult, you can search MSDN, maybe there is some function to get resource or .ico file from HICON.

Actually, now that you mention it, I do infact have the .ico file, would that make it easier?

Share this post


Link to post
Share on other sites

Mind to rephrase your question? Do you create the cursor in your application or it's from another application? ..and sorry, it's .cur not .ico ;]

Share this post


Link to post
Share on other sites

Mind to rephrase your question? Do you create the cursor in your application or it's from another application? ..and sorry, it's .cur not .ico ;]

Oh ye it is .cur isn't it? :) Ok I've got both .cur files that I want to work with.

Basically, I want AutoIt to execute a piece of code when the cursor in the app changes. Seeing as I have the normal cur. file for the general cursor, and a .cur file for the cursor that it changes to - how would I make that into a script?

Share this post


Link to post
Share on other sites

Oh ye it is .cur isn't it? :) Ok I've got both .cur files that I want to work with.

Basically, I want AutoIt to execute a piece of code when the cursor in the app changes. Seeing as I have the normal cur. file for the general cursor, and a .cur file for the cursor that it changes to - how would I make that into a script?

Still need help with this please thanks

Share this post


Link to post
Share on other sites

Still need help with this please thanks

BUUUUMMMPPPPPPP!!!!1!1!!!2!!

Share this post


Link to post
Share on other sites

BUUUUMMMPPPPPPP!!!!1!1!!!2!!

DURKA DUUUURRRRRR HURKA MDEEERRRRRRR THEY TOOK OUR JOOOBBBSSS!!! DURKA DUUUURRRRR!!!

On a side note: bump.

Share this post


Link to post
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
Sign in to follow this  
Followers 0