Article View: comp.sys.mac
Article #46388Sub-Launching
From: Seth M Powsner
Date: Fri, 16 Feb 1990 17:29
Date: Fri, 16 Feb 1990 17:29
17 lines
1309 bytes
1309 bytes
I'd appreciate help with the problem of starting an application from another
under multi-finder (sys 6.0.4). I've used the info from Tech Memos 126, 180,
and 205. Translating the code in #126 to Mac Allegro Lisp worked fine.
My trouble began when I tried to skip using SFGetFile. I know
which application I want to start. So I used _OpenWD and _SetVol to try
to setup the working / default directory. It did part of the job. I could
execute _Launch and get the application going. But, the application acted
as if it were in the wrong default directory.
Now I've added code to set two globals mentioned in the SFGetFile info--
SFSaveDisk and CurDirStore. They're set with info from _HGetVol. Seems to
work. Anyone know if this is really what should be done?
Thanks in advance, Seth powsner.medinf@yccatsmtp.ycc.yale.edu
powsner@mcs.nlm.nih.gov
powsner@YaleMed.BITNET
Technical Details
Message-ID:
<11464@nlm-mcs.arpa>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!haven!ncifcrf!nlm-mcs!powsnerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!haven!ncifcrf!nlm-mcs!powsner From: powsner@nlm-mcs.arpa (Seth M Powsner) Newsgroups: comp.sys.mac Subject: Sub-Launching Keywords: MacOS Multi-Finder Sub-launching Message-ID: <11464@nlm-mcs.arpa> Date: 16 Feb 90 17:29:49 GMT Reply-To: powsner@nlm-mcs.UUCP (Seth M Powsner) Organization: Yale Univ Sch of Medicine Lines: 17