MACSCRPT Archives

November 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"J.L. Slangen" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 8 Nov 2007 16:59:13 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
I have an iMac running OS X version 10.4.10 and an iBook running OS X  
version 10.3.9.
Office:Mac 2004 is running on both machines.
The following script produces different results.

set templatePath to "Volumes:Mac1HD:Home:Documents:MyTemplates:Memo.dot"
tell application "Microsoft Word"
	set memoDoc to make document
	set attached template of memoDoc to templatePath
end tell

On iMac the attached template of the new document is "Memo.dot" and  
on iBook the attached template is "Normal". The path contained in  
templatePath is ignored on the iBook. On the iMac there are two  
templates "Memo.dot" and "Normal".
I have no idea why this is so. Does anybody know a workaround?

Jef Slangen
Bilthoven
Netherlands

ATOM RSS1 RSS2