Mac::Files - Macintosh Toolbox Interface to the File and Alias Manager
Constants for vRefNum parameter of FindFolder().
previously was 0x8000 but that is an unsigned value whereas vRefNum is signed
Generally, the same as kOnSystemDisk, but it's clearer that this isn't always the 'boot' disk.
Folder Domains - Carbon only. The constants above can continue to be used, but the folder/volume returned will be from one of the domains below.
Read-only system hierarchy.
All users of a single machine have access to these resources.
All users configured to use a common network server has access to these resources.
Read/write. Resources that are private to the user.
Domain referring to the currently configured Classic System Folder
The ID of the last domain in the above list, used by the Folder Manager to determine if a given parameter should be treated as a domain or a volume...
Constants for createFolder parameter of FindFolder().
Folder Type Constants for FindFolder().
the system folder
the desktop folder; objects in this folder show on the desk top.
the desktop folder at the root of the hard drive, never the redirected user desktop folder
the trash folder; objects in this folder show up in the trash
the trash folder at the root of the drive, never the redirected user trash folder
the "empty trash" folder; Finder starts empty from here down
Print Monitor documents
Finder objects (applications, documents, DAs, aliases, to...) to open at startup go here
Finder objects (applications, documents, DAs, aliases, to...) to open at shutdown go here
Finder objects to put into the Apple menu go here
Control Panels go here (may contain INITs)
System control panels folder - never the redirected one, always "Control Panels" inside the System Folder
System extensions go here
Fonts go here
preferences for applications go here
System-type Preferences go here - this is always the system's preferences folder, never a logged in user's
temporary files go here (deleted periodically, but don't rely on it.)
New Constants
root folder of a volume
items deleted at boot
third-party items and folders
encoding tables
stationery
OpenDoc root
OpenDoc Shell Plug-Ins in OpenDoc folder
OpenDoc editors in Mac OS Folder
OpenDoc subfolder of Editors folder
OpenDoc libraries folder
CKH general editors folder at root level of Sys folder
CKH help folder currently at root of system folder
CKH internet plug ins for browsers and stuff
CKH modem scripts, get 'em OUT of the Extensions folder
CKH new folder at root of System folder for printer descs.
CKH new folder at root of System folder for printer drivers
CKH at root of system folder
CKH for general shared libs.
CKH macintalk can live here
CKH for control strip modules
SJF for Assistants (Mac OS Setup Assistant, etc)
SJF for Utilities folder
SJF for Apple Extras folder
SJF for Contextual Menu items
SJF for Mac OS ReadMes folder
EAS for Location Manager Module files except type 'thng' (within kExtensionFolderType)
EAS for Location Manager Preferences (within kPreferencesFolderType; contains kALMLocationsFolderType)
EAS for Location Manager Locations (within kALMPreferencesFolderType)
for ColorSyncª Profiles
for Theme data files
Favorties folder for Navigation Services
Internet folder (root level of startup volume)
Appearance folder (root of system folder)
Sound Sets folder (in Appearance folder)
Desktop Pictures folder (in Appearance folder)
Internet Search Sites folder
Find support folder
Find by content folder
Installer Logs folder
Scripts folder
Folder Actions Scripts folder
Launcher Items folder
Recent Applications folder
Recent Documents folder
Recent Servers folder
Speakable Items folder
Keychain folder
QuickTime Extensions Folder (in Extensions folder)
Display Extensions Folder (in Extensions folder)
Multiprocessing Folder (in Extensions folder)
Printing Plug-Ins Folder (in Extensions folder)
New Folder Types to accommodate the Mac OS X Folder Manager These folder types are not applicable on Mac OS 9.
The top-level of a Folder domain, e.g. "/System"
the Library subfolder of a particular domain
Contains ColorSync-related folders
ColorSync CMMs
ColorSync Scripting support
Contains Printing-related folders
Contains Speech-related folders
Contains Carbon-specific file
Contains Documentation files (not user documents)
Contains Developer Documentation files and folders
Contains Developer Help related files
Contains Internet Search Sites downloaded from the Internet
Contains temporary items created on behalf of the current user
Contains various cache files for different clients
Contains Mac OS X Framework folders
Contains Mac OS X Private Framework folders
Mac OS 9 compatible desktop folder - same as kSystemDesktopFolderType but with a more appropriate name for Mac OS X code.
Contains Mac OS X Developer Resources
Contains Mac OS X System Sound Files
Contains Mac OS X components
Contains QuickTime components for Mac OS X
Refers to the "CoreServices" folder on Mac OS X
Refers to the "Pictures" folder in a users home directory
Refers to the "Movies" folder in a users home directory
Refers to the "Music" folder in a users home directory
Refers to the "Sites" folder in a users home directory
Refers to the "Public" folder in a users home directory
Refers to the Audio support folder for Mac OS X
Refers to the Sounds subfolder of Audio Support
Refers to the Banks subfolder of the Sounds Folder
Refers to the Alert Sounds subfolder of the Sound Folder
Refers to the Plug-ins subfolder of the Audio Folder
Refers to the Components subfolder of the Audio Plug-ins Folder
Refers to the Kernel Extensions Folder on Mac OS X
Refers to the Directory Services folder on Mac OS X
Refers to the Directory Services Plug-Ins folder on Mac OS X
Refers to the "Receipts" folder in Mac OS X
Refers to the [domain]/Library/Filesystems folder in Mac OS X
Refers to the [domain]/Library/Filesystems/AppleShare folder in Mac OS X
Refers to the [domain]/Library/Filesystems/AppleShare/Authentication folder in Mac OS X
Refers to the MIDI Drivers folder on Mac OS X
Refers to the [domain]/Library/KeyboardLayouts folder in Mac OS X
Refers to the [domain]/Library/Indexes folder in Mac OS X
Refers to the [domain]/Library/Indexes/FindByContent folder in Mac OS X
Refers to the Managed Items folder for Mac OS X
Refers to the "StartupItems" folder of Mac OS X
More Folder Constants
PKE for Locales folder
Find By Content Plug-ins
"Users" folder, contains one folder for each user.
The folder for the currently logged on user.
The remote folder for the currently logged on user
The remote folder location for the currently logged on user
A Shared "Documents" folder, readable & writeable by all users
Volume specific user information goes here
Appleshare puts volumes to automount inside this folder.
The "Applications" folder, pre Mac OS 9.1
The "Installer Logs" folder, pre Mac OS 9.1
The "Assistants" folder, pre Mac OS 9.1
The "Utilities" folder, pre Mac OS 9.1
The "Apple Extras" folder, pre Mac OS 9.1
The "Mac OS ReadMes" folder, pre Mac OS 9.1
The "Internet" folder, pre Mac OS 9.1
The "Servers" folder, pre Mac OS 9.1
The "Stationery" folder, pre Mac OS 9.1
AppleTalk/GetAliasInfo Constants
Return AppleTalk zone name from GetAliasInfo.
Return AppleTalk server name from GetAliasInfo.
Return volume name from GetAliasInfo.
Return last component of target file name from GetAliasInfo.
Return name of enclosing folder from GetAliasInfo. This index value is 1. Higher indices will return folder names higher up the hierarchy.
Written by Matthias Ulrich Neeracher <neeracher@mac.com>. Currently maintained by Chris Nandor <pudge@pobox.com>.
2 POD Errors
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'ColorSyncª'. Assuming CP1252
Unknown directive: =include
To install Mac::Carbon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mac::Carbon
CPAN shell
perl -MCPAN -e shell install Mac::Carbon
For more information on module installation, please visit the detailed CPAN module installation guide.