[Feature Request] Compare by Content - Edit feature

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
Hacker
Moderator
Moderator
Posts: 13073
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

jb,
Until now I considered the Start Menu an odd thing and did not pay attention to it.

Neither did and still do I, actually.


definitions should be independent of a visible menu

I never tried it, but maybe they work even if you remove STARTMENU from wcmd_eng.mnu.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

oblomov wrote:Of course, it would be very nice if the file comparison tool could be configurable to use an external program
Yes, it would be very nice, especially from Synch Dirs tool.
oblomov wrote:so that I could use gvimdiff in all the contexts, and with the same ease, as I can use the internal diff tool ...
You can achieve almost identical behaviour (and surely far better than the simple button suggested above) with JackFoo's plugin called lst2str. You can find the link to download it on this forum, or on any TC-related web site (www.ghisler.com, for example :)).

Then add the Start Menu entry:
Command: c:\path\to\lst2str\lst2str.exe
Parameters: /X:"c:\path\to\your\favourite\comparator.exe" /L:"%L" /F:%T%M /N:2 /W:M

And finally you can assign any keyboard shortcut to this command as Hacker described. For example, I use Ctrl+1 to call TC's internal comparator, and Ctrl+Shift+1 to call external one.
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 16-06-2003 10:58:40 +0000 Hacker wrote:

H> The Command is cm_usermenuX where X is the number
H> of the entry in the Start Menu.

You can call it anyhow, but its number would be 700 plus "the number of the entry in the Start Menu".[/face]
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 17-06-2003 14:02:51 +0000 Hacker wrote:

H> I never tried it, but maybe they work even if you remove
H> STARTMENU from wcmd_eng.mnu.


They do.

__________transmission_from_HISTORY.TXT___________

30.07.02 Fixed: User-defined hotkeys didn't work with RestrictInterface=1 (turning off the start menu)

_______________end_of_transmission________________[/face]
User avatar
Hacker
Moderator
Moderator
Posts: 13073
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

H> The Command is cm_usermenuX where X is the number
H> of the entry in the Start Menu.

its number would be 700 plus "the number of the entry in the Start Menu".


Well, it actually isn't.

__________transmission_from_TOTALCMD.INC_________

cm_usermenu1=701;Start first menu item in Start menu
cm_usermenu2=702;Second item
cm_usermenu3=703;Third item
cm_usermenu4=704;etc.
cm_usermenu5=705;
cm_usermenu6=706;
cm_usermenu7=707;
cm_usermenu8=708;You can add more
cm_usermenu9=709;custom user menu ids
cm_usermenu10=710;in totalcmd.inc!

_______________end_of_transmission________________

The default command names are as I described them - cm_usermenuX where X is the position of the command in the Start menu. The command numbers are 700 + position.

:)

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 23-06-2003 12:48:01 +0000 Hacker wrote:

H> Well, it actually isn't.

What exactly, Jedi?

H> cm_usermenu1=701;Start first menu item in Start menu
[^Y]
H> cm_usermenu10=710;in totalcmd.inc!

Well, just add this string to your TOTALCMD.INC

cm_usermenu1=710

and tell me what happens... %)

H> The default command names are as I described them -
H> cm_usermenuX where X is the position of the command
H> in the Start menu.


Jedi, command names are nothing, you should knew that as certain utility author. Only (hexadecimal) numbers do matter %).

H> The command numbers are 700 + position.

Sorry, this is what I told, actually:

BD> its number would be 700 plus "the number of the
BD> entry in the Start Menu"


Or does "position" differ somehow from "number of the entry"? %)
[/face]
User avatar
Hacker
Moderator
Moderator
Posts: 13073
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Oh, now I got you. I thought you were referring to the X number in cm_usermenuX I was talking about. Sorry for the misunderstanding.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply