MACSCRPT Archives

January 2006

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:
Bill Steele <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 26 Jan 2006 11:42:36 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
this is weird, but mostly just annoying.

Two Mac G4 towers, both running OS 10.3.9.
Both running MS Word X for Mac v.X, installed from the same enterprise disk.
Both running Applescript 1.9.3, Script Editor 2.0 (v43.1)

On one this works:

tell application "Microsoft Word"
select text of document 1
end tell

The other gives an error.

On the first, the Word dictionary looks pretty much like always, and 
contains a document class, one of whose elements is "text."  On the 
other, the dictionary is very different, full of detailed stuff that 
looks like VBA commands, and includes "basic document," "basic 
window" and other such, none of which has a "text" element.

The second machine had a demo of Word on it before I installed, not 
sure what version, whatever came with the OS 10 disk, I guess. I 
trashed that, but could its dictionary still be hiding somewhere else?
-- 

Bill Steele
[log in to unmask]

ATOM RSS1 RSS2