Compare Tool Files as Tool Parameter Macros $File1 $File2

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
houckgte
Posts: 1
Joined: Fri Jun 29, 2012 4:56 am

Compare Tool Files as Tool Parameter Macros $File1 $File2

Post by houckgte »

I want to use the ExamDiff Pro visual compare utility from a TextPad Tool, but it requires two files to compare, and I'd rather not be prompted for them, as some suggestions here have provided. I am assuming I am going to have the two (or more) files open in TextPad already. What might be useful is having access to the two filenames that the TextPad Compare Tool uses (last two files you selected within the editor), then I could select in sequence the tabs of the two files I want to compare -- or select them in the Document Selector -- then fire off my Tool (calling ExamDiff Pro), passing it something like: $File1 and $File2 ... the same two files that would have been compared by the TextPad Compare Tool. Or, if anyone can think of a way to emulate this, without prompting, I would really appreciate it. Or, even better, maybe I already have this capability and just don't know it yet.
Thanks,

houckg
gevens
Posts: 1
Joined: Fri Aug 17, 2012 1:25 pm
Location: South Africa

Passing two file name parameters

Post by gevens »

Hi,

Did you have any luck passing 2 x filename parameters to your Textpad tool for compare ?

I just happen to have the same problem come up today ... ?

Would be very glad to hear if you solved it.
User avatar
Drxenos
Posts: 209
Joined: Mon Jul 07, 2003 8:38 pm

Post by Drxenos »

What I do is I have a shortcut that will copy the name of the current file into the clipboard. I then select the second file, and click on my tool to diff. It uses this file, and prompt for the other. A simple ctrl-v and diff has both files names.
Post Reply