Help with sending key action to alt-tabbed window

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
cem
Posts: 1
Joined: 21 Apr 2018, 10:47

Help with sending key action to alt-tabbed window

21 Apr 2018, 10:57

Hello. I found this script online and it is working as long as game window is active. I want it to continue to work when i alt-tab. Checked the tutorials and such but i am clueless. Can someone add the required lines for it along with where i am supposed to put the game's name.

This script makes space bar the be pressed but only when game window is active.

#Persistent
Toggle = 1
$Space::
if (Toggle = 1) {
Toggle = 0
send, {Space down}
}
else {
Toggle = 1
send, {Space up}
}
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: ArkuS, Chunjee, WAZAAAAA and 396 guests