PathName from FSSpec (pascal code)

Hello everybody.

After request from few peoples, I'm proud to release today the "Painted
Black 0.91beta source Kit".
Huh, what is it ? It is just the _Copyrighted_ C sources of a small
screensaver I have written few month ago.
It is probably buggy, but it works and does not crash the machine !! Don't
worry, I'll update the application (but perhaps not the source, I'll see).
Include project for CodeWarrior 6 and 7 and original application.

Read the "read me" included.

Note to archivists :
-this package should go to the /sources directory of the archive
-the original Painted Black 0.91beta has already been posted.
Note to others :
-feel free to have fun.

Hub

#### TEXT path-from-fsspec-pas.txt ****

Date: 9 Sep 92 00:21:34 GMT

I spent the long weekend cursing at the AppleEventManager
trying to get the finder to open a control panel. Anyway,
one of the things I discoverd was that the alias manager will
give you a path name if you ask for it. Since my program needed to
display the path name, I wrote a function that will return a full
path name in a handle (not in a str255 so you it won't crash with long
path names) when you give it a fsspec.

I also figured out how to get the finder to open a control panel.
You need to send an open selection event. I finally found an example that
worked and ported it to pascal. If you would like to see that code I can
post it here also. Its a direct copy of C.K Han's C code that is on the
developers CD.

Here is the code:

Path: /www/exparrot/files.tidbits.com/info-mac/dev/src/painted-black-091b-c.hqx

AttachmentSize
File painted-black-091b-c.hqx41.53 KB
Architecture: 
File Type: 
License: 
Year: 
Archive: