Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: Перейти к файлу, путь до которого находится в буфере обмена 
Author Message
sasha457



PostPosted: Wed Jun 06, 2012 21:51    Post subject: Reply with quote

Написал скрипт с помощью AutoHotkey:

Code:
GetActivePanel()
{
   ControlGetFocus, tcFocus
   If(   RegExMatch( tcFocus, "^TMyListBox1$" )   )
      return 1
   Else If(   RegExMatch( tcFocus, "^TMyListBox2$" )   )
      return 2
   Else
      return 0
}

#IfWinActive, ahk_class TTOTAL_CMD
vk46:: ; f
   if(GetActivePanel())
      Run, %A_ScriptDir%\\..\\totalcmd.exe /O /S "%Clipboard%"
   Else
      Send {vk46}
   Return
#IfWinActive
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group