On screen indicator

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
shurawi
Posts: 1
Joined: 10 May 2021, 14:45

On screen indicator

10 May 2021, 14:51

Hi! so i have this script

Code: Select all

#IfWinActive Enlisted

XButton1::
KeyDown := !KeyDown
If KeyDown
	SendInput {p down}
Else
	SendInput {p up}
Return




$x::

Send % "{x " (GetKeyState("x") ? "up" : "down") "}"

KeyWait, x

Return



~w Up::

Send {x up}

Return



Return
How can i make some type of indicator that will tell if the script is active? (is it pressing p button) I`ve tried to search for answers on internet but those solutions doesent seem to work for me. Thanks
User avatar
mikeyww
Posts: 27096
Joined: 09 Sep 2014, 18:38

Re: On screen indicator

10 May 2021, 15:48

Code: Select all

Gui, Font, s10
Gui, Color, F4CCCC
Gui, Add, Text, w300 Center, This script is officially active. I mean it!`n(Or check the tray icon. Hehe.)
Gui, Show, w320, About this script

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 146 guests