A simple desktop app that lets you record and replay mouse and keyboard actions on your computer.
This app helps you:
- Record mouse clicks and keyboard inputs
- Play them back exactly as you recorded them
- Save your macros to files so you can use them later
- Load your saved macros whenever you need them
Perfect for automating repetitive tasks, creating demos, or testing applications without writing a single line of code.
The app when first launched, ready to start recording your actions
The app while recording your mouse and keyboard actions
After recording, the app shows how many actions were recorded and is ready to play them back
- Simple Recording: Just hit record and do your thing - the app captures all your mouse clicks and keyboard presses
- Accurate Playback: Plays back your actions with the exact timing you recorded them
- Save & Load: Store your macros as JSON files and load them whenever you need
- Clean Interface: Simple, no-nonsense UI that shows you exactly what's happening
- Background Processing: Recording and playback happen in separate threads so the app stays responsive
- Make sure you have Python installed (version 3.6 or newer)
- Install the required packages:
pip install PyQt5 keyboard mouse
- Run the app:
python app.py
- Click the "Record" button
- Do whatever actions you want to record (mouse clicks, keyboard typing)
- Click "Stop" when you're done
- Click the "Play" button to replay everything
- Watch as your computer repeats exactly what you did
- You can stop playback anytime by clicking "Stop"
- Hit "Save" to store your macro to a JSON file
- Click "Load" to open a previously saved macro
The app uses:
- PyQt5 for the user interface
- Multi-threading to keep everything running smoothly
- The
keyboard
andmouse
libraries to capture and simulate inputs - JSON format for saving macros
- The app needs permissions to monitor and control your mouse and keyboard
- Some actions might not work in all applications due to security restrictions
- For best results, make sure windows are in the same position when recording and playing back
This project is licensed under the MIT License - see the LICENSE file for details.