[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] VBScript for comparing two MS Word documents

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-07-11 18:11:00 CEST

Molle Bestefich wrote:
> SteveKing wrote:
>>Molle Bestefich wrote:
>>
>>>The attached prototype doesn't rely on WSCRIPT nor CSCRIPT.
>>>Compiles with VS.Net.
>>>
>>>Usage: worddiff.exe <base> <modified>
>>
>>Even though this should work
>
> It does exactly the same as the VBS.
> In fact, the COM calls are stolen (copy/pasted) from the VBS.

No-one is questioning whether it works.

>>I prefer the vbs scripts.
>>They're easier to read
> Yeah.

>>, much smaller,
>
> I'll shrink the exe to 1/10th of the VBS size, if that's a problem.

Ah, you have that program which shrinks any file down to one byte ... ;-)

>>users can 'translate' them (the strings/error messages) if they want,
>
> The .exe version could easily make use of tortoise.pot, I seriously
> doubt that the .VBS have an advantage here.

It has the advantage of any scripted language - just change with a text
editor and run. If you just want to translate the messages from english
to german, the only expertise you need is reading english and writing
german.

I don't have VS.net either. I have VC++, but not the IDE, so I would
have to mess about with makefiles, find the missing libraries and all
that junk.

>>they can easily change/improve/adjust them, ...
>
> That'll be the day :-).

It happened already ... after Mark submitted the first script Rainer
changed it.

>>But if you prefer to have the wscript.exe to be removed from your
>>windows installations, you're free to use those exe's yourself.
>
> Ouch. That's what I get for trying to contribute :-p.

Now let this be a lesson to you! Any more of this 'contribution'
nonsense and you'll be off to see the headmaster!

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jul 11 18:12:19 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.