• 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: Sun, 27 Apr 2003 01:58:34 +0100
  • Mac-eudora-version: 6.0a16

At 5:34 pm -0700 26/4/03, Paul Berkowitz wrote:

tell application "Finder" to (kind of item (someAlias as Unicode text) is
"Folder")


Why do you need to do the coercion to text and then the coercion to item? You can work directly with the alias as in:


tell app "Finder" to kind of (path to "cusr") is "Folder"
-- => true

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.

  • Follow-Ups:
    • Executing an AppleScript on a networked computer
      • From: Doug McNutt <email@hidden>
    • Re: alias is folder?
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: alias is folder? (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Scripting Terminal.app
  • Next by Date: Re: alias is folder?
  • Previous by thread: Re: alias is folder?
  • Next by thread: Re: alias is folder?
  • Index(es):
    • Date
    • Thread