From ceb12724c0d50d97eb2416c3f8fcd4dd65ab0e57 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 29 Jul 2019 19:54:43 +0200 Subject: Add `return` to the end of hotkey mappings Turns out this is required, otherwise statements in the following hotkey definition get executed too. See: https://www.autohotkey.com/docs/Hotkeys.htm#Intro --- AutoHotkey.ahk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AutoHotkey.ahk b/AutoHotkey.ahk index 4b83823..2354609 100644 --- a/AutoHotkey.ahk +++ b/AutoHotkey.ahk @@ -22,8 +22,10 @@ Send {Tab} Send {Space} Send ^{Tab} Send ^r +return ; Exit Notepad when not active ^#n:: Send #6 Send !fx +return -- cgit v1.2.3