This program automatically takes screenshots when specific events occur on your Mac:
- Mouse clicks
- Enter key presses
- Make sure you have Python 3.x installed on your system
- Install the required dependencies:
pip install -r requirements.txt- Run the program:
python screen_capture.py- The program will start monitoring for events and save screenshots to the
screenshotsdirectory - Each screenshot will be saved with a timestamp in the filename
- To stop the program, press Ctrl+C
- You may need to grant screen recording permissions to your terminal/IDE when running the program for the first time
- Screenshots are saved in PNG format
- The program adds a small delay (0.1s) before taking each screenshot to ensure the captured change is included