AHK Scripts repariert.

This commit is contained in:
2023-04-18 18:39:01 +02:00
parent a36255e7df
commit 2a8fb28d7f
2 changed files with 9 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
#Requires AutoHotkey v2.0
#Include Lib.ahk
#NoTrayIcon
;Mit Strg, Alt + P wird der aktuell Ordner im Terminal geöffnet.
;Mit Alt + C wird der aktuell Ordner im Terminal geöffnet.
!c::
{
@@ -9,8 +9,8 @@ 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'
code := "C:\Users\" . A_UserName . "\Appdata\Local\Programs\Microsoft VS Code\Code.exe"
run '"' code '" -n "' Path '"'
}
Return