Lib eingehängt
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#Requires AutoHotkey v2.0
|
#Requires AutoHotkey v2.0
|
||||||
|
#Include Lib.ahk
|
||||||
#NoTrayIcon
|
#NoTrayIcon
|
||||||
|
|
||||||
;Mit Strg, Shift + M wird ein leeres Textfile erzeugt.
|
;Mit Strg, Shift + M wird ein leeres Textfile erzeugt.
|
||||||
#HotIf ("ahk_class CabinetWClass")
|
#HotIf ("ahk_class CabinetWClass")
|
||||||
^+m::
|
^+m::
|
||||||
@@ -11,17 +13,6 @@
|
|||||||
}
|
}
|
||||||
#HotIf
|
#HotIf
|
||||||
|
|
||||||
;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", " ")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
;Schreibt die Datei
|
;Schreibt die Datei
|
||||||
CreateFile(path)
|
CreateFile(path)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user