aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2019-07-29 20:10:58 +0200
committerTeddy Wing2019-07-29 20:10:58 +0200
commit7c8a68d0b1a4aaa7f1dcfe2d507bf8d52c498045 (patch)
tree0e42caa00758957536f876d93cd74887a030197b
parent3ce13105be08ff4ec3bea2afb6518cdbc4da1fc4 (diff)
downloadAutoHotkey-Scripts-7c8a68d0b1a4aaa7f1dcfe2d507bf8d52c498045.tar.bz2
^#n: Delay before focusing current application
Otherwise it seems too quick, and can fail to focus the current application.
-rw-r--r--AutoHotkey.ahk1
1 files changed, 1 insertions, 0 deletions
diff --git a/AutoHotkey.ahk b/AutoHotkey.ahk
index 6bd18a1..f67af31 100644
--- a/AutoHotkey.ahk
+++ b/AutoHotkey.ahk
@@ -28,6 +28,7 @@ return
^#n::
Send #6
Send !fx
+Sleep, 200
Send !{Tab} ; Reactivate current application
return