Page 1 of 1

User menu: Pass two filenames to external program

Posted: 24 Jan 2006, 15:10
by owilsky
Hi,

I use WinMerge (http://winmerge.sourceforge.net/) in my User Menu to compare two files, I use this quite frequently.

I want to select two files, press F9 and select "compare with WinMerge".

What I want is to pass the full filenames of both selected files as arguments to Winmerge, like this:

Arguments: "$(FullName1)" "$(FullName2)"

Is this possible?

Thanks,

Oliver

Posted: 24 Jan 2006, 15:52
by Jan Rysavy
It is not possible now. We will implement this feature (I hope to SS 2.5).

Moving this topic to Feature Requests.

Re: User menu: Pass two filenames to external program

Posted: 24 Jan 2006, 16:15
by KNUT
owilsky wrote:Arguments: "$(FullName1)" "$(FullName2)"
This would be very nice! And in addition $(FullPathLeft) and $(FullPathRight)...?

Re: User menu: Pass two filenames to external program

Posted: 24 Jan 2006, 17:35
by grymmjack
owilsky wrote:Hi,

I use WinMerge (http://winmerge.sourceforge.net/) in my User Menu to compare two files, I use this quite frequently.

I want to select two files, press F9 and select "compare with WinMerge".

What I want is to pass the full filenames of both selected files as arguments to Winmerge, like this:

Arguments: "$(FullName1)" "$(FullName2)"

Is this possible?

Thanks,

Oliver
I would like this too

WinMerge in User Menu

Posted: 27 Jan 2006, 17:50
by fioh
I just wanted to request the manner to drive Winmerge in a User menu but
Owilsky already asked for.
So I fully support his request.

Thanks

Posted: 28 Jan 2006, 03:24
by mazy
i vote not only for left / right panel differentiation, but also active / not active panel - something like $(FullName) for the active panel and $(FullNameOther) for the other one.

Posted: 28 Jan 2006, 08:48
by thomas_s
Hm, I've not sure, which one (fullPathLeft+fullPathRight vs. fullPath+fullPathOther) would be the better choice from the user's POV.
Generally, one just needs the current selected entry's path (-> fullPath). Only in a very few cases (e.g. external file compare), I could imagine to need the selected entry from the other panel (-> fullPathOther).
But especially in this particular case of a file (or directory) compare, it would be fine to keep the left/right orientation. E.g., if a file A.txt is selected on the left panel and B.txt on the right panel, than A.txt should occur on the left and B.txt on the right of the file compare, no matter, which Servant Salamander panel is currently focussed.

Tom

Posted: 29 Jan 2006, 19:24
by Ulrik S
I agree with thomas_s, Right/Left would be perfect for file compares. I would really like this in the next release. I'm using Beyond Compare for file and folder comparisons/synching.

Posted: 08 Mar 2006, 14:26
by Petr Solin
Please add your ideas to the same discussion here.

Locked.