GithubHelp home page GithubHelp logo

igino-dedomenico / auto-click Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 22 KB

This Python script is designed to prevent your computer from going into standby mode by simulating key presses at regular intervals. This can be useful in situations where you need your computer to remain awake for a prolonged period of time, such as when running long-running tasks or processes.

Home Page: https://github.com/igino-dedomenico/auto-click

License: MIT License

Python 100.00%
auto-clicker-script preventing-sleep teams webex prevent-standby preventing-standby

auto-click's Introduction

Prevent Standby Script

Introduction

This Python script is designed to prevent your computer from going into standby mode by simulating key presses at regular intervals. This can be useful in situations where you need your computer to remain awake for a prolonged period of time, such as when running long-running tasks or processes.

Requirements

  • Python 3.x
  • pyautogui library

Installation

  1. Ensure you have Python 3.x installed on your system. If not, you can download and install it from the official Python website: https://www.python.org/downloads/
  2. Install the pyautogui library by running the following command in your terminal or command prompt: pip install pyautogui

Usage

  1. Clone or download this repository to your local machine.
  2. Open a terminal or command prompt and navigate to the directory where the script is located.
  3. Run the script using the following command: python auto-clicker.py <idle_time_seconds>

Replace <idle_time_seconds> with the desired idle time in seconds before a key press is simulated. For example, to prevent standby for 5 minutes (300 seconds), you would run:

python auto-clicker.py 300

  1. The script will start running and simulate key presses at regular intervals to prevent your computer from going into standby mode. You can stop the script manually when you no longer need to prevent standby.

Notes

  • Ensure that your system allows Python scripts to simulate key presses, as some operating systems or security settings may restrict this functionality.
  • Use this script responsibly and only for its intended purpose.

Contributing

If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

License

This script is licensed under the MIT License. See the LICENSE file for more details License

Security

Security Policy

Support Me

If you find my work helpful and want to support me, you can buy me a coffee! Click the button below to make a donation via PayPal.

Every donation is greatly appreciated and helps me to keep developing this project!

auto-click's People

Contributors

igino-dedomenico avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.