Skip to content

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.

Notifications You must be signed in to change notification settings

FilipRokita/curPos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages