Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!nsc!voder!apple!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.sys.mac.programmer Subject: Re: Sys7.0 aliases and MPW Keywords: System 7.0, MPW aliases Message-ID: <12829@goofy.Apple.COM> Date: 29 Mar 91 23:25:24 GMT References: <1991Mar29.010609.6355@lynx.CS.ORST.EDU> Organization: Apple Computer, Inc. Lines: 29 In article <1991Mar29.010609.6355@lynx.CS.ORST.EDU> curreyr@argus.UUCP (Robert W. Currey) writes: > >How does one have mpw invoke System 7.0 aliases? > >I want to be able to put aliases to my favorite apps into >my MPW tools folder and be able to invoke them as an MPW An alias file is simply a normal file that contains information about the thing to which it refers. It is up to the application to resolve the alias. Once exception is that Std File automatically resolves the alias, so the application only sees the "real file". You can always define MPW aliases that refer to the real files (e.g. alias ResEdit Foo:Bar:Apps:ResEdit) and not use System 7 aliases. If you want to deal with System 7 aliases, you would need an MPW tool that resolves the alias, using the appropriate ROM call. Then you could do `ResolveAlias "ResEdit Alias"`. (Or combine the 2 approaches: alias ResEdit '`ResolveAlias "ResEditAlias"`'.) I wrote a tool that resolves aliases, although it's not as polished as the normal MPW tools. I'll post it to comp.binaries.mac, along with a couple other MPW/System 7 goodies. -- Larry Rosenstein, Object Specialist Apple Computer, Inc. 20525 Mariani Ave, MS 3-PK Cupertino, CA 95014 AppleLink:Rosenstein1 domain:lsr@Apple.COM UUCP:{sun,voder,nsc,decwrl}!apple!lsr