https://github.com/filiprokita/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.
https://github.com/filiprokita/curpos
automation cursor-position cursor-position-grabber cursor-position-tracking desktop-application keyboard mouse position productivity pyautogui python python3 simple utility
Last synced: 3 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/filiprokita/curpos
- Owner: FilipRokita
- Created: 2021-12-03T22:40:25.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T12:23:43.000Z (almost 3 years ago)
- Last Synced: 2025-03-24T21:34:09.616Z (7 months ago)
- Topics: automation, cursor-position, cursor-position-grabber, cursor-position-tracking, desktop-application, keyboard, mouse, position, productivity, pyautogui, python, python3, simple, utility
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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