MACSCRPT Archives

July 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Mime-Version:
1.0 (Apple Message framework v752.3)
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
"J.L. Slangen" <[log in to unmask]>
Date:
Sun, 15 Jul 2007 13:37:58 +0200
Content-Type:
text/plain; charset=US-ASCII; delsp=yes; format=flowed
Content-Transfer-Encoding:
7bit
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Parts/Attachments:
text/plain (18 lines)
I do not understand why Microsoft Word dies after running the  
following script.

tell application "Microsoft Word"
	set memoDoc to make document
	insert text "Begin" at end of text object of active document
	set docName to "myTestDoc"
	save as memoDoc file name docName file format format text
end tell

The document is made and saved as myTestDoc, but 1 sec thereafter  
Word quits.

Anyone a similar experience?
What could be the cause?

Jef Slangen

ATOM RSS1 RSS2