- Added support for commandbox (coldfusion) on Windows

This commit is contained in:
Ben Reaves
2020-11-11 13:02:20 -06:00
parent b6fb4ba828
commit 39f65c0e2b

View File

@@ -132,6 +132,7 @@ GroupAdd, terminals, ahk_exe WindowsTerminal.exe
GroupAdd, terminals, ahk_exe Hyper.exe GroupAdd, terminals, ahk_exe Hyper.exe
GroupAdd, terminals, ahk_exe mintty.exe GroupAdd, terminals, ahk_exe mintty.exe
GroupAdd, terminals, ahk_exe Cmd.exe GroupAdd, terminals, ahk_exe Cmd.exe
GroupAdd, terminals, ahk_exe box.exe
GroupAdd, terminals, ahk_exe Terminus.exe GroupAdd, terminals, ahk_exe Terminus.exe
GroupAdd, terminals, Fluent Terminal ahk_class ApplicationFrameWindow GroupAdd, terminals, Fluent Terminal ahk_class ApplicationFrameWindow
@@ -523,7 +524,7 @@ GroupAdd, intellij, ahk_exe idea64.exe
; Copy ; Copy
^c:: ^c::
If WinActive("ahk_exe cmd.exe"){ If WinActive("ahk_exe cmd.exe") OR WinActive("ahk_exe box.exe"){
Send {Enter} Send {Enter}
} }
else if WinActive("ahk_exe mintty.exe"){ else if WinActive("ahk_exe mintty.exe"){
@@ -537,7 +538,7 @@ GroupAdd, intellij, ahk_exe idea64.exe
return return
^c up:: ^c up::
If not WinActive("ahk_group cmd.exe"){ If not WinActive("ahk_group cmd.exe") OR WinActive("ahk_exe box.exe"){
SetKeyDelay -1 SetKeyDelay -1
Send {Blind}{c Up}{LShift Up} Send {Blind}{c Up}{LShift Up}
} }
@@ -555,6 +556,9 @@ GroupAdd, intellij, ahk_exe idea64.exe
else if WinActive("ahk_group posix"){ else if WinActive("ahk_group posix"){
Send {Blind}{Shift down}v{Shift up} Send {Blind}{Shift down}v{Shift up}
} }
else if WinActive("ahk_exe box.exe"){
SendEvent {RButton}
}
else{ else{
Send {Blind}v Send {Blind}v
} }