Indicator if hotkeys are suspended Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ahumanbeing121
Posts: 1
Joined: 31 Jul 2021, 08:51

Indicator if hotkeys are suspended

31 Jul 2021, 09:08

is it possible to make a small always on top window indicator that shows whether this script is suspended?

Code: Select all

RShift::Suspend, Toggle
e::6
r::7
c::8
XButton1::e
User avatar
mikeyww
Posts: 26929
Joined: 09 Sep 2014, 18:38

Re: Indicator if hotkeys are suspended  Topic is solved

31 Jul 2021, 09:32

Code: Select all

Gui, -Caption +ToolWindow +Border +AlwaysOnTop
Gui, Font, s12
Gui, Add, Text, vttext Center, Script
Gui, Show, % "NoActivate x" A_ScreenWidth - 200 " y" A_ScreenHeight - 80
Status:
GuiControl,, ttext, % A_IsSuspended ? "Native" : "Script"
Gui, Color, % A_IsSuspended ? "FFDDDC" : "C1FFC1"
SoundBeep, 1000 + 500 * A_IsSuspended
Return

RShift::
Suspend
Gosub, Status
Return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], Xtra and 225 guests