Find file/text from clipboard

Title Find
File Name Find.txt
Author Vochomurka
Parameters 0 - find file from clipboard, 1 - find text from clipboard
Plugins Called win, childwin
Version 3.0
Updated on 20.08.17
args F
local hwnd = win.handle("C=TTOTAL_CMD")
win.postmessage(hwnd, 0x400+51, 501, 0)
wait.for(1500, activewindow("c=TFindFile"))
*keys {del}
local Panel = win.handle("c=TFindFile")
local Target

if(F) do
	Target = childwin.handle(Panel, 23)
	win.sendmessage(Target, 0x00F5, 0, 0)
endif

*clip paste
Target = childwin.handle(Panel, 73)
win.sendmessage(Target, 0x00F5, 0, 0)

All Scripts Total Commander TotalCmd.net PowerPro