🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #14409

Re: MPW Tools Stand-Alone (?)

#14409
From: dgold
Date: Wed, 11 Feb 1987 22:00
27 lines
1684 bytes
In article <451@iscuva.UUCP> boba@iscuva.UUCP (Bob Alexander) writes:
>My question:  Is there a fairly simple way to make programs written as
>MPW tools stand alone?
>
>It appears that MPW console i/o is capable of running stand-alone.  The
>main problem is getting the program loaded and passing parameters to
>it.
Getting the program loaded is no problem:  just option-command double-click
on it in the Finder.  This signals the Finder to launch the program
regardless of the file type not being APPL.  Of course, it had better be
able to run as an application, which MPW tools can if launched in this
fashion.

Parameters are fairly hopeless.  You will have to detect the fact that you
are not running under the MPW Shell (there's a way of doing this, but it
escapes me for the moment) and put up a dialog or use some other means
(as a last resort, console I/O) to get your parameters.


-- 
David Goldsmith
Apple Computer, Inc.
MacApp Group

AppleLink: GOLDSMITH1
UUCP:  {nsc,dual,sun,voder,ucbvax!mtxinu}!apple!dgold
CSNET: dgold@apple.CSNET, dgold%apple@CSNET-RELAY
Technical Details
Message-ID: <467@apple.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!pyramid!voder!apple!dgold
References: <451@iscuva.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!pyramid!voder!apple!dgold
From: dgold@apple.UUCP
Newsgroups: comp.sys.mac
Subject: Re: MPW Tools Stand-Alone (?)
Message-ID: <467@apple.UUCP>
Date: Wed, 11-Feb-87 17:00:31 EST
Article-I.D.: apple.467
Posted: Wed Feb 11 17:00:31 1987
Date-Received: Thu, 12-Feb-87 22:45:46 EST
References: <451@iscuva.UUCP>
Reply-To: dgold@apple.UUCP (David Goldsmith)
Organization: Apple Computer Inc., Cupertino, USA
Lines: 27
Keywords: Can MPW tools run stand alone ?