Is is possible to use php to move the cursor around on my screen.

I want to be able to do this from the command line, enter in the appropiate location for the cursor (ie, -128, 134) and have the mouse go there.

I have looked everywhere, but maybe I am searching for the wrong thing.

It will be a standalone program, so I can use the windows global variables if I new how to access them.

    The best PHP could do would be to generate some JavaScript that would then move the cursor (probably called from an onload event in the body tag), and I don't know if JS even supports such a function. (Remember that PHP runs on the server, not on the client.)

      Figured it out. Found a program called nircmd that allows me to move the moue from the command line. Thanks

        Write a Reply...