EAC hinzugefügt
This commit is contained in:
13
configs/autohotkey/Lib.ahk
Normal file
13
configs/autohotkey/Lib.ahk
Normal file
@@ -0,0 +1,13 @@
|
||||
#Requires AutoHotkey v2.0
|
||||
#NoTrayIcon
|
||||
|
||||
;Ermittelt den aktuellen Pfad
|
||||
GetPath(_hwnd)
|
||||
{
|
||||
for w in ComObject("Shell.Application").Windows
|
||||
if (w.hwnd = _hwnd)
|
||||
{
|
||||
path := StrReplace(w.LocationURL, "file:///")
|
||||
return StrReplace(path, "%20", " ")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user