/curPos

This is a Python script that uses the pyautogui and keyboard libraries to output the current position of the cursor whenever a specified key is pressed.

Primary LanguagePython

curPos

Simple Python program that grabs cursor position when selected button is pressed and displays it.

How to install

You will need to install following packages in order to use curPos:

  • pyautogui
  • keyboard

You can install them using:

pip install -r requirements.txt

Usage

  1. Run the script
  2. Input the key you want to get cursor position with
  3. Hover over the point you want to get position of
  4. Click previously selected key
  5. The results will be in the console

Author

Filip Rokita
www.filiprokita.com