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

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

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-07-08 20:49:47 CEST

Fernando P. Nájera Cano <tortoisesvn@fernandonajera.com> wrote on
07/08/2005 02:16:13 PM:

> Hi,
> Original script works too with several Office 2003. But...
> RM> 1) I moved the Word.Visible = True to the end of the
> RM> script because otherwise you get one Word window shortly
> RM> flashing.
> If you do that, in case of problems, you'll get an invisible instance
> of Word, which is not good. Users won't notice it, and they can end
> with a lot of Word.exe processes without knowing. I've got problems on
> normal.dot also when that happens.
> Maybe with better error handling it would be OK, but my vote is -1 for
> that change. I prefer Word flashing than a hidden Word instance until
> next reboot.

I agree. Although, I think that even with that line of code back in
their, if this crashes, you can still have that problem of Word not
showing. It really needs to remove all code that hides word.

This is a better version.

I have also attached a merge script. It shouldn't be included yet. I am
posting it to tap into the list's expertise.

1) I haven't figured out how to close one of the docs that I do not want
to leave open.

2) While the commands seem to work correctly, I think it sort of does
something bad to the document. The doc itself looks and behaves fine
within Word, but as an example, the compare script will never work on this
document again after the merge is saved. I suspect the problem has
something to do with the internal revision histories that Word keeps. It
is almost like you would not want Word to keep track of that anymore so
that instead you could use our compare/merge feature to do it on the fly.

Anyway, maybe someone will have an idea. I am pretty confident that the
compare script is fine and cannot do any damage.


Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

  • application/octet-stream attachment: merge.vbs
Received on Fri Jul 8 20:50:15 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.