[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I need help with an odoc problem.
- To: email@example.com
- Subject: I need help with an odoc problem.
- From: firstname.lastname@example.org (Rob Browning)
- Date: Tue, 29 Mar 1994 15:02:26 -0600
I'm trying to send an open doc apple event from lisp to a fortran program.
The fortran program accepts these events fine when I open the document from
the finder. However, when I send them from MCL, the fortran program
complains that the file cannot be found:
I thought the problem was that I was passing an invalid filestring to the
code so I used choose-file-dialog and mac-namestring to make sure that I
a valid string.
This is the piece of lisp code demonstrating the call:
(ccl::create-signature-target optimizer :Y666)
(ccl::with-aedescs (open-params reply)
(ccl::create-odoc open-params optimizer
(list (mac-namestring (choose-file-dialog))))
(ccl::send-appleevent open-params reply :reply-mode :no-reply)))