hi,
In TC8.52, I use Synchronize Directories very often. Many times I need to check diffs in lots of files. It would be great if I could get Return key to do the same as C-F3 or double-click, that is, compare Left/Right files.
But I could not find any way, do you guys know of something?
thanks.
shortcut on Synchronize Directories
Moderators: Hacker, petermad, Stefan2, white
Assign a keyboard shortcut to a TC internal command:
Synchronize Directories:
c:\totalcmd\TOTALCMD.INC
[________________Tools________________]=0
cm_FileSync=2020;Synchronize directories
How to find and use TCs' internal command
How to use a TC internal command
Assign a keyboard shortcut to that command:
>>> http://ghisler.ch/board/viewtopic.php?p=289931#289931
HTH?
c:\totalcmd\TOTALCMD.INC
[________________Tools________________]=0
cm_FileSync=2020;Synchronize directories
How to find and use TCs' internal command
How to use a TC internal command
Assign a keyboard shortcut to that command:
>>> http://ghisler.ch/board/viewtopic.php?p=289931#289931
HTH?
thanks Stefan2 and MVV for at least trying.
I finally got a ahk script working, in case somebody finds it useful:
I finally got a ahk script working, in case somebody finds it useful:
Code: Select all
#IfWinActive, ahk_class TCmpForm
Enter::
;only do it when focus is on the file list (not on buttons for instance
ControlGetFocus, OutputVar, A
;if ErrorLevel
;MsgBox, The target window doesn't exist or none of its controls has input focus.
;else
; MsgBox, Control with focus = %OutputVar%
if ("TBkGndListBox1" = OutputVar)
{
Send ^{F3}
}
else
{
Send {Enter}
}
Return
#IfWinActive