17 lines
353 B
AutoHotkey
17 lines
353 B
AutoHotkey
#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
|
|
} |