Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ilvon authored Feb 17, 2023
1 parent f142b1a commit 15ceb3e
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,30 @@ A simple script written by AutoHotKey_v2.0 (AHK) for AFK in GTA V Online or any

This script will repeatedly send keystrokes with at a certain interval.
<p align="center">
<img width="252" height="312" src="https://user-images.githubusercontent.com/76443690/218305456-fe8383a3-b29a-402c-81dd-ae4677bdbc9c.png">
<img width="252" height="362" src="https://user-images.githubusercontent.com/76443690/219728687-055ed6ba-5ba7-4c09-99ec-a5f93c8a57e5.png">

</p>

## Modes
1. Active Mode
- sends keystrokes to the active (the top window that you are focusing)
- the target window **MUST BE the TOP window**
2. Inactive Mode
- sends keystrokes to any window you have chosen
- the target window **CAN be minimized**
- if the GTAV is the target widnow, this mode **WILL** shortly interrupt for your current task on the active window (losing focus, GTA pops up and minimized repeatedly when keystrokes sent)
- longer press interval recommended

## How To Use
1. Run the executable / Download [AHK_v2](https://www.autohotkey.com/)
2. Select the game that you want to AFK and place it as the top window
2. Select the mode of the script and start AFK

## Remarks
- The close button of the executable of this script *DOES NOT* kill the script but just close the GUI
- Apart from the `Exit` button, you can use keyboard hotkey `Win+ESC` to kill the script
- You can use hotkey `Win`+ ` to reopen the GUI
- Key1 & Key2 cannot be set as special keys like `Ctrl`, `Shift` etc.
- For GTAV, probably there is some mechanism has been deployed to avoid external automated keystrokes by scipt, the inactive mode is not using `ControlSend` function, but using `Send` instead, which cause the forementioned interruption



0 comments on commit 15ceb3e

Please sign in to comment.