Compare commits
No commits in common. "c5c5b53dddb7d3658670e17282ac1dac25a7fb83" and "446bd36b9199034b344dbcf51e571ff52c882c88" have entirely different histories.
c5c5b53ddd
...
446bd36b91
22
main.ahk
22
main.ahk
@ -19,28 +19,6 @@ DownloadYoutubeVideo(dataType)
|
||||
}
|
||||
OnClipboardChange DownloadYoutubeVideo
|
||||
|
||||
; Focus the web browser if there is one open.
|
||||
^!+#b:: ; Capslock+b to open a browser
|
||||
{
|
||||
browserID := WinExist("ahk_exe firefox.exe")
|
||||
|
||||
if (browserID) {
|
||||
WinActivate(browserID)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
; Focus VS Code if there is one open.
|
||||
; This may not work properly if there are more than one instances of VS Code running.
|
||||
^!+#v:: ; Capslock+v to open a browser
|
||||
{
|
||||
vscodeID := WinExist("ahk_exe code.exe")
|
||||
|
||||
if (vscodeID) {
|
||||
WinActivate(vscodeID)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
; Open a terminal over the currently focused VS Code window.
|
||||
; If there is an open Windows Terminal, use that, otherwise create a new one.
|
||||
|
Loading…
Reference in New Issue
Block a user