Xenobiologist Posted March 28, 2006 Posted March 28, 2006 Hi, I´m trying to get the current systemCursor. They´re stored in HKEY_USERS\S-1-5-21-2041670533-618728785-1542849698-16223\Control Panel\Cursors on my system. How can I get the values, so that I can safe them? I know Gary made a SetSystemCursor func, maybe somebody has a GetSystemCursor func, too. Although this func doesn´t exist in msdn with this name. If you ask yourself why? I would like to change the cursor somehow, but if the script ends, it should restore the ones saved before. Thanks! So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
Thatsgreat2345 Posted March 28, 2006 Posted March 28, 2006 (edited) theres a tooltip that can get the current cursor ToolTip(mousegetcursor()) Edited March 28, 2006 by thatsgreat2345
Moderators big_daddy Posted March 28, 2006 Moderators Posted March 28, 2006 What about this MouseGetCursor()
Thatsgreat2345 Posted March 28, 2006 Posted March 28, 2006 (edited) o yeah and if its unkown u can always check this topic, one guy explains how to check the pixels if the peopel just used a cursor image http://www.autoitscript.com/forum/index.ph...wtopic=19961&hl Edited March 28, 2006 by thatsgreat2345
Xenobiologist Posted March 28, 2006 Author Posted March 28, 2006 (edited) What about this MouseGetCursor() HI, yeah, I knew that func. But I think, it will only returns the sort of cursor. While 1 sleep(10) ToolTip(mousegetcursor()) WEnd This will give me the nr. But I have to know the cur or ani file. So Long, Mega Edited March 28, 2006 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
Xenobiologist Posted March 28, 2006 Author Posted March 28, 2006 (edited) Nobody? Maybe someone can just show me how to get these regvalues. After 14 hours work and at 1 o´clock AM it is too hard now. Thanks! So long, Mega Edit: Deleted the pic after solving the prob. Edited March 28, 2006 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
Xenobiologist Posted March 28, 2006 Author Posted March 28, 2006 Thanks! I got it. I was easier as I thought. For $i = 1 To 100 $var = RegEnumKey("HKU", $i) If RegRead("HKEY_USERS\"&$var&"\Control Panel\Cursors", 'Arrow') = 0 And RegRead("HKEY_USERS\"&$var&"\Control Panel\Cursors", 'Arrow') <> "" Then MsgBox(0, "", RegRead("HKEY_USERS\"&$var&"\Control Panel\Cursors", 'Arrow')) Else ContinueLoop EndIf Next So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
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