Skip to content

A script that enables autofire for a key. Enable it, press the key, and leave the computer away!

License

Notifications You must be signed in to change notification settings

murapa96/AutoFire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AutoFire

Python 3.6+ License: MIT GitHub issues GitHub last commit

autofire

A utility for automatically pressing keys at regular intervals.

Description

RapidFire is a simple auto key-press utility that simulates continuous key presses after you've pressed a key once. It's useful for scenarios where repeated key presses are needed, such as in games, form filling, or text repetition.

Features

  • Start auto-pressing by pressing any key once
  • Continue pressing at 1-second intervals (configurable)
  • Stop immediately with a key combination (Ctrl+Esc+W) (also configurable)
  • Lightweight with minimal dependencies

Installation

pip install -r requirements.txt

Usage

Run the script:

python rapid_fire.py
  1. Press any key to begin auto-pressing that key every second
  2. Press Ctrl+Esc+W to stop the auto-pressing functionality

Fallback CLI Mode

If the keyboard listener fails to initialize, the program will automatically switch to Command-Line Interface (CLI) mode. In this mode, you can use the following commands:

  • start <key> - Start auto-pressing a key (e.g., 'start a' or 'start space')
  • stop - Stop current auto-pressing
  • interval <seconds> - Change the press interval (e.g., 'interval 0.5')
  • exit or quit - Exit the program

Special Keys

For special keys, use these keywords:

  • space - Space key
  • enter - Enter key
  • tab - Tab key
  • esc - Escape key
  • ctrl - Control key
  • alt - Alt key
  • shift - Shift key

Advanced Configuration

You can modify the rapid_fire.py script to change:

  • Key press interval (default: 1 second)
  • Stop key combination (default: Ctrl+Esc+W)

Requirements

  • Python 3.6+
  • keyboard library (automatically installed via requirements.txt)

Note

This utility requires root/administrator privileges to run on most systems due to the keyboard library needing global keyboard access.

License

MIT

Author

Pablo Ramos Muras (@murapa96)

About

A script that enables autofire for a key. Enable it, press the key, and leave the computer away!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages