• 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: Creating a folder on the desktop (recap)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a folder on the desktop (recap)


  • Subject: Re: Creating a folder on the desktop (recap)
  • From: Dave Lyons <email@hidden>
  • Date: Fri, 9 Sep 2005 16:03:48 -0700

On Sep 9, 2005, at 2:45 AM, patrick machielse wrote:
--    this works
...
--    this doesn't, no surprise
tell application "Finder" to get folder "~/.."

From the Finder's point of view, that "works" perfectly, though it doesn't do what you want. I created a folder on my desktop named "~/..", and the result is:


tell application "Finder" to get folder "~/.."
--> folder "~/.." of folder "Desktop" of folder "dlyons" ... of application "Finder"


Finder scripting doesn't have any support for POSIX style paths; if any is added in the future, it couldn't use the above syntax (because that would introduce ambiguity).

Cheers,

--Dave

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Creating a folder on the desktop (recap) (From: patrick machielse <email@hidden>)
 >Re: Creating a folder on the desktop (recap) (From: "Mark J. Reed" <email@hidden>)
 >Re: Creating a folder on the desktop (recap) (From: patrick machielse <email@hidden>)

  • Prev by Date: Re: Need help from a Filemaker Ninja...
  • Next by Date: Re: Creating a folder on the desktop (recap)
  • Previous by thread: Re: Creating a folder on the desktop (recap)
  • Next by thread: Re: Creating a folder on the desktop (recap)
  • Index(es):
    • Date
    • Thread