Start software from button bar in respect to actual dir

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Process Hacker also allows setting duration (w/o time limitation) but if a process exits immediately, it may sneak in between refresh ticks even in fast refresh mode.

Just try executing cmd /c echo hello from TC command line and look how your task manager overlooks it.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

sqa_wizard wrote:BTW: Concerning WinMerge you may use it directly as default compare tool.
Just add a line to your wincmd.ini file:

Code: Select all

CompareTool=D:\portable\WinMergePortable\WinMergePortable.exe
This will compare files if they are in different or even selected in the same panel.
Some day or one or two weeks ago I think everything was in order. Now I cannot get making it working.

wincmd.ini:
CompareTool=%Commander_Path%\Tools\WinMergePortable\WinMergePortable.exe

Button:
Command: %COMMANDER_PATH%\Tools\WinMergePortable\WinMergePortable.exe
Parameters: no
start path: %COMMANDER_PATH%\Tools\WinMergePortable\
Iconfile: %COMMANDER_PATH%\Tools\WinMergePortable\WinMergePortable.exe

Even with the code and parameters here:
http://ghisler.ch/board/viewtopic.php?p=308165#308165
"... compare files if they are in different or even selected in the same panel ..." is not working for me.

Please help.

---
TC 9.0ß2 64 bit, Win10 Pro x64
User avatar
Stefan2
Power Member
Power Member
Posts: 4159
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

2tuska

Do your path to \Tools\ do, by change, contain spaces?

Anyway, you could always quote your paths.




 
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

Stefan2 wrote:2tuska
Do your path to \Tools\ do, by change, contain spaces?
Anyway, you could always quote your paths.
No, path is OK - I have copied the path from wincmd.ini and checked the folders again.

WinMerge is loaded, but does not compare two selected files in the same panel (this was done some time ago).

I now have used the button with parameters and get the following:
> Right panel: Two marked files => this is the active panel
I:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Tests\TC-Forum_zitieren_quote='Stefan2'.txt
I:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Tests\TC-und-Windows-Versionen.txt (Cursor is on file)
> Left panel: One file with cursor marked => this is the inactive panel
D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\NO.br1

Result:
Winmerge compares on left side:
I:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\Tests\TC-und-Windows-Versionen.txt
with:
D:\Daten\Programme\TotalCommander\TCD_USB-Stick\TC32-64USB\NO.br1
on right side!?

With a second test without parameters only WinMerge is loaded and nothing compared.

---
WinMerge Version 2.14.0.0 - Deutsch Unicode
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

tuska: It is not that hard to do but pretty simple:

1. add a line with CompareTool to your wincmd.ini file [done]
2. mark 2 files (either in same or opposite panel)
3. Use menu "Files - Compare by content" or press a button with "cm_CompareFilesByContent" (no parameter, no start path)

=> WinMerge opens with selected files
#5767 Personal license
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

Ahh, I tricked myself with two buttons.

1st button - for WinMerge to start separately
2nd button - directly next to it: with "cm_CompareFilesByContent"
I erronously used the first one and then searched for a solution.

Thank you very much!

Edit:
PS: I have now adjusted tooltip for 1st button :-)

Kind regards,
Karl
Post Reply