[comp.sys.mac.hypercard] Opening word doc's from stacks

nevius@amc-gw.UUCP (John Nevius) (08/10/89)

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