Skip to content

Actively gathers screenshots based on specified time interval

License

Notifications You must be signed in to change notification settings

ngimb64/Screenshot-Assistant

Repository files navigation

Screenshot Assistant

☑️ Bandit verified  |  ☑️ Synk verified  | ☑️ Pylint verified 9.44/10

alt text alt text

Purpose

This is a simple, functional program designed automate gathering screenshots based on time interval.
It automates screenshots using a keyboard listener to control whether the program starts, stops, or exits.

License

The program is licensed under GNU Public License v3.0

Contributions or Issues

CONTRIBUTING

Prereqs

The program runs on Windows 10 and Debian-based Linux, written in Python 3.8 and updated to version 3.10.6

Installation

  • Run the setup.py script to build a virtual environment and install all external packages in the created venv.

Examples:
  - Windows: python setup.py venv
  - Linux: python3 setup.py venv

  • Once virtual env is built traverse to the (Scripts-Windows or bin-Linux) directory in the environment folder just created.
  • For Windows, in the venv\Scripts directory, execute activate or activate.bat script to activate the virtual environment.
  • For Linux, in the venv/bin directory, execute source activate to activate the virtual environment.
  • If for some reason issues are experienced with the setup script, the alternative is to manually create an environment, activate it, then run pip install -r packages.txt in project root.
  • To exit from the virtual environment when finished, execute deactivate.

How to use

  • Open up shell such as Command Prompt or Terminal
  • Enter directory with program and run it
  • Open the graphical file manager and go to path specified in program
  • Click on the open CMD and hit enter
  • Checkout the file manager and to visualize screenshots created every 5 seconds
  • If you want the program to pause hit Esc
  • If you want to start again hit enter again.
  • OR if you would like to exit hit Ctrl + C

Function Layout

-- screenshot_assistant.py --

on_press  -  Checks to see if the user hit the exit key (escape).

screenshots  -  Loop that actively takes screenshots.

get_time_interval  -  Gets the time interval integer from user and returns to main.

main  -  Facilitates listener thread and screenshot process.

print_err  -  Prints timed error message.

About

Actively gathers screenshots based on specified time interval

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages