• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: alias is folder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: alias is folder?


  • Subject: Re: alias is folder?
  • From: John Delacour <email@hidden>
  • Date: Mon, 28 Apr 2003 11:04:05 +0100
  • Mac-eudora-version: 6.0a16

At 10:35 pm -0400 27/4/03, Christopher Nebel wrote:

Is there a similar way to ask if myAlias is a container?

Unfortunately, no. That would require the ability to express the idea of "is a kind of", which AppleScript hasn't got. (It should, mind you, but it doesn't.) The best you can do is check for all the concrete container types you know about and hope no new ones show up.

I guess that the pathname returned for any container will end in ":" and that therefore my previous solution will work for all containers.

JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: alias is folder? (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: TIDs and other questions
  • Next by Date: Re: Recording actions
  • Previous by thread: Re: alias is folder?
  • Next by thread: Re: alias is folder?
  • Index(es):
    • Date
    • Thread