From 15ceb3e6ae0c552c04db79dcb74422a0733e390d Mon Sep 17 00:00:00 2001 From: thisObedience <76443690+thisObedience@users.noreply.github.com> Date: Sat, 18 Feb 2023 02:12:33 +0800 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 10d3923..e850898 100644 --- a/README.md +++ b/README.md @@ -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.

- +

+## 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