GoClippedFile

Title GoClippedFile
File Name GoClippedFile.txt
Description Move the cursor to the file whose name is in the clipboard
Author Vochomurka
Parameters -
Plugins Called win, clip
Icon
Version 1.1
Updated on 15.03.2010
local hwnd = win.handle("c=TTOTAL_CMD")
local Str = clip.get
if(not validpath(Str)) do
	messagebox ("ok", "Invalid path: " ++ Str, "GoClippedFile")
	quit
endif

local Quote = esc(?+\"+, ?+\+)
local Exepath = win.exepath(hwnd)
do(Exepath,"/O /S /L=" ++ Quote ++ Str ++ Quote)

Main Page Total Commander PowerPro