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

diff-doc.js: Diffing with word 97 service release 2 does not work

From: ruedi_ger <ruediger.meyer_at_googlemail.com>
Date: Tue, 18 Nov 2008 00:56:06 -0800 (PST)

Hello,
in the script diff-doc.js, Number(word.Version) is used to check the
version of word. Unfortunatley, word.Version is "8.0b", and Number
returns a "NaN", because of the appended b. The script then assumes
Office XP (2002) or later.
I suggest using parseFloat instead of Number.

In addition,
word.ActiveDocument.Windows(1).Visible = 1;
does not seems to work with office 97:
this is the error message:
---------------------------
Windows Script Host
---------------------------
Skript: C:\Programme\TortoiseSVN\Diff-Scripts\diff-doc.js
Zeile: 184
Zeichen: 2
Fehler: Das Objekt unterstützt diese Eigenschaft oder Methode nicht.
Code: 800A01B6
Quelle: Laufzeitfehler in Microsoft JScript

---------------------------
OK
---------------------------

The same applies for the merge-doc.js script.
Regards,
Ruedi

TortoiseSVN 1.5.5, Build 14361 - 32 Bit , 2008/10/24 18:06:34
Subversion 1.5.4,
apr 1.2.12
apr-utils 1.2.12
berkeley db 4.4.20
neon 0.28.3
OpenSSL 0.9.8i 15 Sep 2008
zlib 1.2.3

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-11-18 09:56:46 CET

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

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