aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-12-21 20:47:37 +0100
committerJohn Ankarström <john@ankarstrom.se>2020-12-21 20:47:37 +0100
commitb46e5356790175bea342fa67bcf3690b086eb8b4 (patch)
treef964c692d73ccd59a0826682b9b8f52d7cb99bee
parent5a7422ffe48c3183d3a534591fda346991eae245 (diff)
downloadahk-b46e5356790175bea342fa67bcf3690b086eb8b4.tar.gz
programs: Add Photoshop hotkeys
-rw-r--r--tt.programs.ahk10
1 files changed, 10 insertions, 0 deletions
diff --git a/tt.programs.ahk b/tt.programs.ahk
index e64cb46..d7b5d02 100644
--- a/tt.programs.ahk
+++ b/tt.programs.ahk
@@ -126,3 +126,13 @@ SendInput, {Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpa
return
#IfWinActive
+
+#IfWinActive ahk_class Photoshop
+
+MButton::
+SendInput, {Space Down}{LButton Down}
+KeyWait, MButton
+SendInput, {Space Up}{LButton Up}
+return
+
+#IfWinActive