RE: How to programmatically make registry changes take effect

2002-04-19 Thread Dax T. Games
Oh, and it also turns off Mouse Trails, and Snap to Default Button. Dax *** REPLY SEPARATOR *** On 4/19/2002 at 11:57 AM Dax T. Games wrote: >Darin, > > >Here's the Perl code, this is what I use and it works very well. > >Dax, > >use Win32::API; > ># ># Import Win32 functions

RE: How to programmatically make registry changes take effect

2002-04-19 Thread Dax T. Games
Darin, Here's the Perl code, this is what I use and it works very well. Dax, use Win32::API; # # Import Win32 functions # $SystemParametersInfo = new Win32::API("User32", "SystemParametersInfo", [I, I, P, I], N) || die; # # Valid Values for $GS_MouseSpeed: 0, 1, 2, 3 # SetMouseSpeed($GS_Mo

RE: How to programmatically make registry changes take effect

2002-04-19 Thread Todd_Hemsell
I do not know Perl, I just read the list trying to pick it up. I know that when you are on the mouse property sheet you must hit apply in order for your changes to take affect. >From what I have read it looks like you need to set the value, then Query the value. This will make the driver query th

Re: How to programmatically make registry changes take effect

2002-04-19 Thread Dax T. Games
Darin, Just curious, why do you want to do this adjustment to the mouse driver? I also 'had' this need and found out how to do it with Perl not only by editing the registry but in real time. I don't have my code handy but you do it with Win32::API and you import a function call from user32.dl

RE: How to programmatically make registry changes take effect

2002-04-17 Thread Wening Andreas
Title: How to programmatically make registry changes take effect Hi,   Only an idea, try the following: - Run your script (the changes are not active) - Open Task manager -  End all explorer.exe processes the last one is your current environment - In Task manager start a new explorer.exe