EAC hinzugefügt
This commit is contained in:
17
configs/autohotkey/OpenVSC.ahk
Normal file
17
configs/autohotkey/OpenVSC.ahk
Normal file
@@ -0,0 +1,17 @@
|
||||
#Requires AutoHotkey v2.0
|
||||
#Include Lib.ahk
|
||||
#NoTrayIcon
|
||||
;Mit Strg, Alt + P wird der aktuell Ordner im Terminal geöffnet.
|
||||
|
||||
!c::
|
||||
{
|
||||
HotIfWinActive "ahk_class CabinetWClass"
|
||||
{
|
||||
WinID := WinGetID("ahk_class CabinetWClass")
|
||||
Path := GetPath(WinID)
|
||||
code := A_AppData . "\Local\Programs\Microsoft VS Code\Code.exe"
|
||||
Run 'code "-n" Path'
|
||||
|
||||
}
|
||||
Return
|
||||
}
|
||||
Reference in New Issue
Block a user