Skip to content

vihrom/screenshot_saver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot Taker & Saver

A simple Rust program that listens for the "PrintScreen" key and captures screenshots when pressed. The screenshots are saved with timestamps in a specified directory.

Features

  • Captures screenshots of all connected screens.
  • Saves each screenshot with a timestamp in the specified directory.
  • Allows for custom directory specification via command-line arguments.
  • Default directory is screens.

Requirements

  • Rust programming language (use rustup to install Rust).
  • External dependencies:
    • chrono - for working with dates and times.
    • rdev - for capturing keyboard events.
    • screenshots - for capturing the screen.

Installation

  1. Clone the repository:

    git clone https://github.com/vihrom/screenshot_saver.git
  2. Navigate to the project directory:

    cd screenshot_saver
  3. Build the project using Cargo:

    cargo build --release

Usage

Run the program:

After building the project, you can run the compiled executable from the target/release directory.

You can also run the program without building it by using the following command:

cargo run

Example usage with a custom directory:

cargo run -- "custom_screenshots"

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages