[comp.sys.mac.system] System 7 Aliases

long@mcntsh.enet.dec.com (Rich Long) (04/29/91)

 I installed System 7.0fc2 on my 6.0.7 hard disk, after removing the System
 and Finder from the 6.0.7 folder.

 In playing with System 7.0fc2, I've discovered the following irritating
 things about aliases:

 1.	I can't successfully alias the "After Dark Files" folder from my
 System 6.0.7 folder to my System 7 folder. After Dark sees none of the files.
 Double-clicking the alias in the Finder works as expected.

 2.	Aliasing preference files, such as Word Settings (4), does not work.
 Word gets an error when it tries to write the prefs. This is also true for
 the data file of an Address DA that I use.

 So, what is the point of aliases? Are these bugs? Sorry if this has been
 discussed.

 Thanks,

Richard C. Long | long@mcntsh.enet.dec.com            | Selfware: If you like
--------------- | ...!decwrl!mcntsh.enet.dec.com!long | this program, send
A First Edition | long%mcntsh.dec@decwrl.enet.dec.com | yourself five bucks!

gourdol@imag.imag.fr (Gourdol Arnaud) (04/30/91)

> 1.	I can't successfully alias the "After Dark Files" folder from my
> System 6.0.7 folder to my System 7 folder. After Dark sees none of the files.
> 2.	Aliasing preference files, such as Word Settings (4), does not work.
> Word gets an error when it tries to write the prefs. This is also true for
> the data file of an Address DA that I use.
>
> So, what is the point of aliases? Are these bugs? Sorry if this has been
> discussed.
>Richard C. Long | long@mcntsh.enet.dec.com            | Selfware: If you like
>--------------- | ...!decwrl!mcntsh.enet.dec.com!long | this program, send
>A First Edition | long%mcntsh.dec@decwrl.enet.dec.com | yourself five bucks!

Yes those points have been discussed.

No this is not a bug.

Aliases do not work with preference files for now.
Let me explain (our sysadmin insists on sending messages longer
than those we receive):

When you are opening a document or file from the Finder or from
the standard open dialog box, the alias is resolved by
the Finder or the standard open dialog box. That is, the
application gets the file the alias is pointing to, not
the alias. So, to benefit from alias, applications
generally don't have to be modified.
However, when an applications access directly to a file, 
such a prefrence file or the After Dark files, it gets the
alias, and not the file it was expecting, so this does
not work for now. 
To make it work, the application just have to call ResolveAlias
before calling FSpOpen or whichever numerous variant of Open
it wants. New releases coming with the System Seven will
probably include this (and hopefully, much more). Be patient.
System Seven is not yet available.

BTW, no, this is not brain dead stupid to have made it
like this rather than having Open resolving the alias.


Arno.
-- 
   /======================//==========================================/
  / Arnaud Gourdol.      // On the Netland:         Gourdol@imag.fr  /
 /                      // Via AppleLink: Gourdol@imag.fr@INTERNET# /
/======================//==========================================/

) (05/15/91)

I don't know all you did with your After Dark Files folder, but it all works
normally if you throw the whole files folder into the control panel  folder
with the After Dark application.

Chuck



--  
Chuck Fiterman !!!! - via FidoNet node 1:105/14
    UUCP: ...!{uunet, reed}!glacier!busker!343!31!Chuck.Fiterman.!!!!
INTERNET: Chuck.Fiterman.!!!!@f31.n343.z1.FIDONET.ORG