Thanks Norman,
I think the 'adrp' type is an OSX application that accepts an file
drop on it's own icon. I know I've seen 'adrp' in something a while
back - maybe an AppleScript(?). Unfortunately this is the least of
my problems now as I can write another exception and include 'adrp'
as another application. I still need to find the proper way to get an
icon from T&C without knowing the folderitem. I would guess that
Launch Services is the proper way to handle type, creator, and icon
info, but I don't have a folderitem to use in calling Launch
Services. Poking around in packages and bundles I often find an file
called Info.plist, which contains a single eight character string
which is the type and creator info.
As for the Mac classic environment comment ... I'm not sure if you
are agreeing with me or not. I was way too cryptic with that
statement any. My point was in classic OS two files were represented
as a single unified file. Walk a directory and you get the info for a
single file. Yes you can assess either fork but in all aspects it was
a single file. Do the same thing in OSX and every time you hit a
package or bundle you end up with drilling down into the package/
bundle, when it should have just reported the item as a file/app with
all info of it's contents brought forward so as to make that info
readily available. I understand their would be times when this would
be desirable to access the content of a package and I think an
additional function to do this is unreasonable. Bottom line is, I
want it to be a transparent as it use to be. I apologize, this has
gone out of the realm of an RB topic.
Craig
On Jun 15, 2006, at 12:04 PM, realbasic-nug-
[EMAIL PROTECTED] wrote:
Message: 14
Subject: Re: File Type & Creator
From: Norman Palardy <[EMAIL PROTECTED]>
Date: Thu, 15 Jun 2006 12:49:04 -0600
On Jun 15, 2006, at 12:38 PM, Craig Hoyt wrote:
After walking a volumes directory and extracting as much info as
possible about each file/folder, I find many files have no type and
creator info. Bundles or packages report a folder type & creator
(rightly so as it is a folder - but still not correct). I'm using
this info to extract the true files icon.
I have two questions. How do I ensure I get the proper T&C for
every file (including bundles)? Since T&C info is Mac old-school is
there a new and improved way to determine the proper icon for a
file? I'm also finding some applications are not showing 'APPL' as
a type but 'adrp'. What's up with that? The Finder can do this -
how are mere mortals supposed to do this?
adrp is likely a package (possibly a bundle but I doubt it)
In those cases you probably have to look at something else inside the
package/bundle to get the icon
Since Apple in OSX wants to play these games with files and folders
to obfuscate the real identify them, it should properly report this
info. This type of thing never happened in the Mac classic
environment where two separate files were displayed as one
Sure did.
Packages existed there too and you would get different type and
creator code for varying kinds of "applications"
and all toolbox calls worked properly. Is this an Apple thing or
is RS to blame for not doing it right? Or both?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>