aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt.programs.explorer.ahk16
1 files changed, 16 insertions, 0 deletions
diff --git a/tt.programs.explorer.ahk b/tt.programs.explorer.ahk
index 3deb9d6..3bebd6d 100644
--- a/tt.programs.explorer.ahk
+++ b/tt.programs.explorer.ahk
@@ -104,6 +104,22 @@ if (GetKeyState("Shift"))
else
ShellApp.ShellExecute(i.path, "", "", "Edit", 1)
return
+
+; Copy file path
+
+^+c::
+e := Explorer()
+r := ""
+items := e.Document.SelectedItems
+if (items.Count() > 1)
+ for item in items
+ r .= """" item.path """ "
+else
+ for item in items
+ r := item.path
+if (r = "")
+ r := e.Document.Folder.Self.path
+clipboard := r
return
; Directory navigation