home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!lai
- From: lai@Apple.COM (Ed Lai)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Apple Event driven psychosis
- Message-ID: <71850@apple.Apple.COM>
- Date: 31 Aug 92 16:30:40 GMT
- References: <5573@omphalos.bug.co.jp>
- Organization: Apple Computer Inc., Cupertino, CA
- Lines: 26
-
- In article <5573@omphalos.bug.co.jp> tague@omphalos.bug.co.jp (Tague Griffith ) writes:
- >In the application I'm writing, I want the user to be able to select a document
- >from a standard file dialog, and then have my application open that document
- >in the application program that created it. Right now I'm trying to send an
- >OpenSelection apple event to the finder (for other reasons this application
- >must run under system 7) and have the finder send an 'odoc' to the proper
- >application. Anyway, I've been unable to get this code to work so, if anyone
- >could mail me (no FTP capibility :-( or give me pointers to some code that
- >performs this function I would greatly appreciate it. (or if there is a
- >simpler means of accomplishing the same thing - I already tried the PPCLaunch
- >function and it didn't work). As always, thanks in advance.----------------------------------------------------------------------------
-
- Why don't you just send an 'odoc' directly to that application.
-
- If the problem is that the application is not open, then lanuch the application
- with the 'odoc' event as the appParam.
-
-
- /* Disclaimer: All statments and opinions expressed are my own */
- /* Edmund K. Lai */
- /* Apple Computer, MS37-UP */
- /* 20525 Mariani Ave, */
- /* Cupertino, CA 95014 */
- /* (408)974-6272 */
- zW@h9cOi
-
-