Skip to main content
Home Browse Development Path From Fsspec Pas.Txt
Path From Fsspec Pas.Txt
Path From Fsspec Pas.Txt icon

Path From Fsspec Pas.Txt

Filenamepath-from-fsspec-pas.txt
Size3.2 KB (3259 bytes)
Downloads4
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
About
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:
File Info

This file is part of the MacTrove archive. See the Thank You page for the upstream mirrors we rely on. You may need The Unarchiver or a classic Mac emulator to open it.

mp.ls