Re: Setting Mouse speed with Perl and Win32::API:

2002-03-17 Thread Jack
- Original Message - From: "Dax T. Games" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 17, 2002 5:44 AM Subject: Re: Setting Mouse speed with Perl and Win32::API: >I got it to work using the following code, thanks for the help. I need to ask

Re: Setting Mouse speed with Perl and Win32::API:

2002-03-17 Thread $Bill Luebkert
Dax T. Games wrote: > I got it to work using the following code, thanks for the help. I need to ask >though where did you find the documentation on the constants below. There is more I >need to do along these lines and it would be a great help if I new where to find this >info. > > This is

Re: Setting Mouse speed with Perl and Win32::API:

2002-03-17 Thread Dax T. Games
, I], N) || die; > ># I doubt you need to reference the array here, you don't have to do it >with scalars and Win32::API > >my $result = $SystemParametersInfo->Call(SPI_GETMOUSE, NULL, @mArray, >NULL); >print "SystemParametersInfo result: $result: " . >

Re: Setting Mouse speed with Perl and Win32::API:

2002-03-16 Thread $Bill Luebkert
Dax T. Games wrote: > Using the following code I believe I have successfully imported the > user32 function but I cannot make it work, I get errors. > > > > Start Code>>> > > > > use Win32::API; > > > > my $SystemParametersInfo = new Win32::API("user32", > "SystemParame

Re: Setting Mouse speed with Perl and Win32::API:

2002-03-16 Thread C. Church
"\n"; $mArray[1] = 10; my $next_result = $SystemParametersInfo->Call(SPI_SETMOUSE, NULL, @mArray, SPIF_UPDATEINIFILE); print "SystemParametersInfo result: $result: " . Win32::FormatMessage(Win32::GetLastError) . "\n"; HTH, !c (dolljunkie) ----- Original Message

Setting Mouse speed with Perl and Win32::API:

2002-03-16 Thread Dax T. Games
Using the following code I believe I have successfully imported the user32 function but I cannot make it work, I get errors.    Start Code>>>   use Win32::API;   my $SystemParametersInfo = new Win32::API("user32", "SystemParametersInfo", [P, P, P, P], N) || die;   @MouseSettings