Jump to content

Regread Question


Recommended Posts

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

Link to comment
Share on other sites

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 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

Link to comment
Share on other sites

Nobody? :mellow:

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 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

Link to comment
Share on other sites

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

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...