Computer Awake - v1.0-sunrise
computer_awake,py
is a Python script that automates key presses at a specified interval for a defined duration.
Getting Started
-
Download and install the latest version of Python 3.
-
Clone the repository:
git clone https://github.com/matt-wigg/computer-awake.git
-
Install the
keyboard
library:pip install keyboard
Usage
Run the script using the following command in the project's root directory:
python computer_awake.py
or
python3 computer_awake.py
To specify command line arguments:
python computer_awake.py start --interval <interval> --run-time <run_time> [--key <key>]
<interval>
: Time (in seconds) between key presses.<run_time>
: Duration (in seconds) for the script to run.<key>
: The key to press; defaults to "shift".
To stop the script:
CTRL + C
Full Changelog: https://github.com/matt-wigg/computer-awake/commits/v1.0-sunrise