Skip to content

For educational purposes only. An efficient tool for capturing user interactions. Records keyboard and mouse events, takes periodic screenshots, and logs the data for review. Ideal for user behavior analysis and system monitoring.

Notifications You must be signed in to change notification settings

teapot2/mouse_and_key_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mouse and Keyboard Recorder/Player

This Python script allows users to record and play back mouse and keyboard movements while capturing screenshots at specified intervals.

For educational purposes only.

Features

  • Record mouse and keyboard movements.
  • Play back recorded sessions.
  • Capture screenshots at defined intervals during the recording process.
  • Utilizes a simple command-line interface.

Getting Started

Prerequisites

Installation

  1. Install the required packages:

    pip install -r requirements.txt

Usage

Record Mode

To record mouse and keyboard movements with screenshot capture, run the following command:

python main.py --mode record --ss-interval 2
  • --mode: Set to "record" to enter record mode.
  • --ss-interval: Set the screenshot capture interval in seconds (default is 2 seconds).

Recorded data will be saved in a file named recorded_data.json in the script's directory.

Play Mode

To play back a recorded session, use the following command:

python main.py --mode play
  • --mode: Set to "play" to enter play mode. The script will load the recorded data from recorded_data.json and replay the mouse and keyboard movements.

Contributing

Contributions are welcome! Feel free to open issues or pull requests.

About

For educational purposes only. An efficient tool for capturing user interactions. Records keyboard and mouse events, takes periodic screenshots, and logs the data for review. Ideal for user behavior analysis and system monitoring.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages