On Dec 21, 2006, at 10:51 AM, Michael Rebar wrote:
On 12/21/06 6:30 AM, "Lennox Jacob" <[EMAIL PROTECTED]> wrote:
Hello,
How do I detect a defective alias programatically?
Mac OS gives this message:
The alias „myApp‰ alias could not be opened, because the original
cannot be
found
I would like my app to be able to do that when I have a defective
alias.
Kindly advise.
Thanks.
Lennox
If folderItem.TrueChild for an existing alias returns nil you've,
likely got
a defective alias (depends a bit on your definition of defective
alias).
Almost -- TrueChild returns the file, unresolved. So I think he
would want to check to see whether Child is nil.
Charles Yeomans_______________________________________________
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>