This script will automate the movement of mouse on the screen.
Make sure you have python installed in your System. If not you can visit to https://www.python.org/downloads/ Note: If you are using windows system make sure that python path is added in the PATH of Environment Variables.(If you don't know how to do the same follow this article https://www.pythoncentral.io/add-python-to-path-python-is-not-recognized-as-an-internal-or-external-command/ ) , we are also going to install one library for that we need to run the pip command which is inside Python/scripts folder , so make sure that has also be updated in the PATH variable.
1. Download the Script file from the repository.
2. Go to CMD in windows or shell and install "pyautogui" library package which we are going to use, type the following command "pip install pyautogui".
3. Now in windows or shell and navigate to the path where you have downloaded the file.
4. Now type the following command "python <name_of_your_file>" (in this case type "python mousemovement1.py" ) and press enter.
Now your script will be running successfully and you can see the movement of your mouse randomly which you can manage from the code. If you want to stop the script just enter CTRL+C in the CMD and it will stop running the script.