Skip to content

MiguelMachado-dev/lean-spam-battlebit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AutoHotkey Script for Simulating Key Presses

This repository contains an AutoHotkey (AHK) script that simulates pressing and holding the "Q" and "E" keys when the left mouse button (LMB) is held down. The script can be toggled on and off using the F10 key.

Description

The script works as follows:

  1. When the left mouse button is pressed, if the script is active, it simulates the pressing and holding of the "Q" key for 0.5 second.
  2. It then pauses for 100 milliseconds.
  3. The script then simulates the pressing and holding of the "E" key for 0.5 second.
  4. It pauses again for 100 milliseconds before repeating the process as long as the left mouse button remains pressed.
  5. The F10 key is used to toggle the script on and off.

Getting Started

Prerequisites

You will need to have AutoHotkey installed on your computer. If you don't have it, you can download it from the official website at https://www.autohotkey.com/.

Running the script

There are two ways to run the script:

Using the provided executable

  1. Download the .exe file from the repository.
  2. Double-click the .exe file to run the script.

Building your own executable

If you prefer to build your own executable, you can follow these steps:

  1. Download the .ahk script from the repository.
  2. Install AutoHotkey if you haven't already.
  3. Right-click on your desktop or in the file explorer, then select "New" -> "AutoHotkey Script".
  4. Name the new script file, then right-click it and select "Edit Script".
  5. Delete any text in the new script file, then copy and paste the contents of the .ahk script from the repository into the new file.
  6. Save and close the script file.
  7. Right-click the script file and select "Compile Script". This will create a new .exe file in the same directory as the script file.
  8. Double-click the .exe file to run the script.

Using the script

To use the script, simply press and hold the left mouse button. As long as the script is active, it will simulate pressing and holding the "Q" and "E" keys. Press the F10 key to toggle the script on and off.

Please note that the use of this script can violate the terms of service of some games or applications. Always use this responsibly and in accordance with the rules of the software you are using.

Contributing

If you would like to contribute to this project, please fork the repository and make your changes, then submit a pull request.

License

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

Contact

If you have any questions or comments about this script, please open an issue in the repository.