Nothing has "turned out" as anything yet, Arturo. No one knows the cause of
your freezing problem, no one knows that a macro is involved, no one knows
that AppleScript is involved, no one knows if the the two things are
directly related. It's all pure speculation so far, with very little
evidence to go on as yet.
The fact that you have "Warn before opening a file that
contains macros" is checked (you only just told us, so don't blame anyone
for speculating otherwise) is pretty clear evidence that the cause is not a
macro in the files. So far, I have not heard of an "undetectable" macro that
starts working somehow without first being detected. I'm not saying that's
totally impossible, but it sure is unlikely, and I never heard of any such
thing.
"Apple Event timed out" usually indicates that an AppleScript is involved
somewhere or other, although it is certainly possible that Apple Events can
be run from other types of code. (However, other types of code usually don't
bother writing in raw Apple Events, at least not in OS X, since AppleScript
is easier.) I'm doubtful that anything in Word itself would use Apple
Events, so it's more likely to be an external script. (It's just barely
possible that some start-up procedure in the Office folder collection of
support files uses some AppleScript, but this is quite unlikely.) External
AppleScript files - unlike similar things over on Windows - cannot start up
by themselves - there are no self-executing programs on the Mac, and
certainly not AppleScript applications. It's just not possible. The user
(you) needs to launch them somehow.
The easiest way for a malicious program - if that's what this is (highly
unlikely) - to introduce itself as an AppleScript is by the simple device of
giving it a false extension. That way it appears with a false icon. So
someone could send you as an email attachment, or you could download from
the web, an AppleScript application that has had its ".app" extension
replaced by ".doc". Then it would look like a Word .doc file, with the
appropriate icon. When you double-clicked it, that would launch it, and it
could do any number of things. So it's always possible that you have one of
these, and in that case it's probably a good thing that Apple Event timed
out and couldn't do whatever it was trying to do.
Chances are much greater, however, that it's something completely different
going on, more benign. Just something nobody's thought of as yet, since
there really isn't much information to go on.
Make a new user in System Preferences/Accounts. Copy a few different Word
docs to the Mac HD/Users/Shared/ folder, both some docs you've made yourself
and a few of these ones you have suspicions of. Switch to the new user. Drag
the files from the Shared folder to the new desktop.
Launch Word. Any problems? Open a simple .doc file you made yourself. All
OK? Now try to open one of those suspicious files. Do you get a problem here
too?
One possibility is that the files might have been created in a version of
Word Windows containing something or other not available to Word 2004,
although I don't know what that might be if the files really do end in
".doc". Or do they perhaps have a ".docx" extension - might they have been
made in the brand new still officially beta Word 2007?
The "Apple Event timed out" error might be related to a secondary thing
that's supposed to happen when a file can't open - such as a message dialog
trying to appear, or maybe even the Microsoft Error Reporter not being able
to launch, or something like that. It's really not possible to tell at this
point. Try it in another user on your Mac.
--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <
http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <
http://macscripter.net/scriptbuilders/>
Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.
PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.