• 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: Path to syntax quest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path to syntax quest


  • Subject: Re: Path to syntax quest
  • From: Mark Walsh <email@hidden>
  • Date: Mon, 17 Nov 2008 18:58:34 -0500

>> Hi All
>>
>> I am sure this is really easy but I just can't make it work.
>>
>> What is the syntax to get the path to the current users "Documents"
>> folder?
>>
>> Thanks in advance.
>> Oakley

I came across this a while ago, don't know if it's common knowledge, so I
thought I'd share it here:

An additional tip about ³path to²: you don¹t need to wait for us to add an
explicit enumeration, since it can also take any four-character string
that¹s a  FindFolder selector. Get your hands on a copy of Folders.h (part
of the Master Interfaces) and go nuts.

Look here

/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/CarbonCore/Folde
rs.h


Found this at http://face.centosprime.com/macosxw/applescript-path-to/

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Path to syntax quest
      • From: Deivy Marck Petrescu <email@hidden>
  • Prev by Date: Re: Maths Calculation Problem
  • Next by Date: Re: Path to syntax quest
  • Previous by thread: Re: Is it a way to change the number of "recent folders" displayed id the Open Dialog
  • Next by thread: Re: Path to syntax quest
  • Index(es):
    • Date
    • Thread