Hi,
I would like to launch "compare by content" from another program (perforce). Is there any command that i can invoke from outside TC ?
Thanks,
NJ[/code]
Launch "compare by content" from another program
Moderators: Hacker, petermad, Stefan2, white
it would be more freedom if it were like this:
a single button for: start an external program for the left file.
a single button for: start an external program for the right file.
a single button for: start an external program for the left+right file.
additionally,
the definition of external programs could be very complex.
ie.
by extension
by name (with patterns)
by a list (manually defined by the user)
etc...
i support this :-)
a single button for: start an external program for the left file.
a single button for: start an external program for the right file.
a single button for: start an external program for the left+right file.
additionally,
the definition of external programs could be very complex.
ie.
by extension
by name (with patterns)
by a list (manually defined by the user)
etc...
i support this :-)
Was nützt der Löffel für die Weisheit, wenn man zu weit vom Suppentopf entfernt sitzt?
Mario
Mario
I think so too.I think you are talking about something completely different.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
now, that it read my and the first post again, i have to admit that you're correct ;-)Hacker wrote:versalzen,I think you are talking about something completely different. ;)
but anyhow, a good idea (my one)
Was nützt der Löffel für die Weisheit, wenn man zu weit vom Suppentopf entfernt sitzt?
Mario
Mario
Using TCStartWithCommand (*)njd wrote:I would like to launch "compare by content" from another program (perforce). Is there any command that i can invoke from outside TC ?
it could be as simple as this (e.g. in a batch file, using %1 and %2 for the paths)
to place the cursor left + right on the two specified files and then call the internal "Compare by content" tool.
Code: Select all
TCStartWithCommand.exe /O /T /P=L /L="d:\path\file1.ext" /R="d:\path\file2.ext" /X=cm_IntCompareFilesByContent
Unfortunately this way TC ignores the selected file in the inactive panel

and always compares the file selected on the left (active) panel against itself.
The same is the case when using just
Code: Select all
TCStartWithCommand.exe /O /X=cm_IntCompareFilesByContent
If the two files are marked (using space) before calling cm_IntCompareFilesByContent it works without a problem.
I guess a workaround (marking the files before calling compare) could be done using another script, having up to 3 external files in use for this function (+TC +Compare)...
Does somebody have an idea, why this is or even have a solution / workaround?
(*) TCStartWithCommand:
(german thread with current download link - for some english threads please search the forum for "TCStartWithCommand")
For installation just copy TCStartWithCommand.exe into TC's program directory.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!