FadetoGrey Posted May 10, 2009 Share Posted May 10, 2009 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? Link to comment Share on other sites More sharing options...
FadetoGrey Posted May 11, 2009 Author Share Posted May 11, 2009 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? Link to comment Share on other sites More sharing options...
Authenticity Posted May 11, 2009 Share Posted May 11, 2009 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. Link to comment Share on other sites More sharing options...
FadetoGrey Posted May 11, 2009 Author Share Posted May 11, 2009 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? Link to comment Share on other sites More sharing options...
Authenticity Posted May 11, 2009 Share Posted May 11, 2009 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 ;] Link to comment Share on other sites More sharing options...
FadetoGrey Posted May 11, 2009 Author Share Posted May 11, 2009 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? Link to comment Share on other sites More sharing options...
FadetoGrey Posted May 12, 2009 Author Share Posted May 12, 2009 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 Link to comment Share on other sites More sharing options...
FadetoGrey Posted May 13, 2009 Author Share Posted May 13, 2009 Still need help with this please thanksBUUUUMMMPPPPPPP!!!!1!1!!!2!! Link to comment Share on other sites More sharing options...
FadetoGrey Posted May 13, 2009 Author Share Posted May 13, 2009 BUUUUMMMPPPPPPP!!!!1!1!!!2!!DURKA DUUUURRRRRR HURKA MDEEERRRRRRR THEY TOOK OUR JOOOBBBSSS!!! DURKA DUUUURRRRR!!!On a side note: bump. Link to comment Share on other sites More sharing options...
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