Skip to content

axel-magard/PyAutoGUI-Recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyAutoGUI-Recorder

Abstract

A recorder of mouse clicks to generate PyAutoGUI code with a GUI

Description

PyAutoGUI Recorder GUI

PyAutoGUI-Recorder records mouse clicks on the desktop and allows to write Python code to a file based on the pyautogui module. PyAutoGUI-Recorder also captures the delays between mouse clicks and generates the corresponding time.sleep statements in the Python code.

Recording button Use the Recording button to start recording

Stop button Use the Stop button to stop recording

Play button Use the Play button to replay previously recorded mouse clicks.

Download button Use the Download button to save Python code to a file

Synopsis

Usage: 
python3 PyAutoGuiRecorder.py OPTIONS


Options:
  -h, --help     show this help message and exit
  --delay=DELAY  Replay delay in seconds
  --recordMoves  Capture simply mouse moves
  
  • Option --delay can be used to specify a fixed delay between mouse clicks
  • Option --recordMoves can be used to in addition to mouse clicks periodically also capture mouse moves

Installation

Clone this git repo on your computer, then install missing Python modules:

pip3 install pyautogui
pip3 install pynput

Limitations

Due to a bug in pynput package this script only runs on Python up to version 3.9 !

Known problems

  • Hotkeys are not properly detected on Windows

About

A recorder of mouse clicks to generate PyAutoGUI code with a GUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages