Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!sumax!amc-gw!nevius
From: nevius@amc-gw.UUCP (John Nevius)
Newsgroups: comp.sys.mac.hypercard
Subject: Opening word doc's from stacks
Message-ID: <634@amc-gw.UUCP>
Date: 10 Aug 89 00:33:18 GMT
Reply-To: nevius@amc-gw.UUCP (John Nevius)
Distribution: na
Organization: Applied Microsystems Corporation, Redmond, WA.
Lines: 30

Sorry if this question has be asked before. . .

I'm modifying my phone address stack and would like to add a link to 
a MS word file where I keep a log of whom I talked to, when, what it
was about, action items, etc. etc.

I created a field that holds the company name (company) and a button with
the following script:

on mouseUp
  put background field "company" into tempCompany
  open tempCompany with Microsoft Word
end mouseUp

When I try this some strange things happen:

If word is not running.  The appropriate document opens and all is well.

If Word is running (I use Multifinder), I get the menu bar, but nothing else.

If I don't get a document name match (this sometimes occurs even though the field
company and the word document name are _exactly_ the same), I get dumped back
to my home stack to the document path card.

Any help would be most appreciated.


Thanks,

John Nevius