Please help me for Pause Script and send key

Get help with using AutoHotkey and its commands and hotkeys
Jack R
Posts: 2
Joined: 04 Oct 2018, 21:53

Please help me for Pause Script and send key

05 Oct 2018, 00:34

I need help to pause script and CapsLock On and when resume script CapsLock Off only on one hotkey
please help me
my key is below

Home:: Pause
but how can I add CapsLock On/Off with same (Home) kyes
WingbtZ
Posts: 22
Joined: 09 Aug 2018, 04:41

Re: Please help me for Pause Script and send key

05 Oct 2018, 04:42

Try something like this

Code: Select all

~CapsLock::
state := GetKeyState("Capslock", "T")
if state = 1
{
msgbox, Caps on ;pause
}
else
{
msgbox, Caps off ;not pause
}

Return to “Ask For Help”

Who is online

Users browsing this forum: Bar_Dres, Bing [Bot], LeonAskin, Spawnova, XMCQCX and 48 guests