aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2019-07-29 19:53:59 +0200
committerTeddy Wing2019-07-29 19:53:59 +0200
commit650d9b4a3ce33f93ccfd26b0dd251033d65bf08c (patch)
treea7766c3028ea3d0955e53b4b2c9361326e494dc9
parent677598c63a1ade2d01b0fa4f5c2797e67214794a (diff)
downloadAutoHotkey-Scripts-650d9b4a3ce33f93ccfd26b0dd251033d65bf08c.tar.bz2
Add hotkey to exit Notepad when it's inactive
Used for testing UFO.
-rw-r--r--AutoHotkey.ahk5
1 files changed, 5 insertions, 0 deletions
diff --git a/AutoHotkey.ahk b/AutoHotkey.ahk
index 22f167f..4b83823 100644
--- a/AutoHotkey.ahk
+++ b/AutoHotkey.ahk
@@ -22,3 +22,8 @@ Send {Tab}
Send {Space}
Send ^{Tab}
Send ^r
+
+; Exit Notepad when not active
+^#n::
+Send #6
+Send !fx