#pragma compile(Icon, 1.ico)
if HotKeySet("{F10}", "SendHK") = 0 Then
MsgBox(0, "", "Ошибка HotKeySet")
exit
endif
While 1
Sleep(100)
WEnd
Func SendHK()
IF WinActivate("Total Commander") Then
Send("^{ins}")
Sleep(333)
$FullPath = ClipGet()
MsgBox(0, "", $FullPath)
Else
MsgBox(0, "", "Окно не найдено")
endif
EndFunc