Categories
AppleScript Notes FlickrFan

Applescript – path to

The path to command now has the following new folder constants:

  • applications folder
  • documents folder
  • favorites folder
  • home folder
  • library folder
  • movies folder
  • music folder
  • pictures folder
  • public folder
  • shared documents
  • shared documents folder
  • sites folder
  • utilities folder

From the Applescript folks…

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/Folders.h

One reply on “Applescript – path to”