mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Added new folder types
This commit is contained in:
parent
0ec0e63928
commit
7b7a2c2e11
1 changed files with 62 additions and 0 deletions
|
|
@ -28,3 +28,65 @@ kExtensionFolderType = 'extn' # Finder extensions go here
|
||||||
kFontsFolderType = 'font' # Fonts go here
|
kFontsFolderType = 'font' # Fonts go here
|
||||||
kPreferencesFolderType = 'pref' # preferences for applications go here
|
kPreferencesFolderType = 'pref' # preferences for applications go here
|
||||||
kTemporaryFolderType = 'temp'
|
kTemporaryFolderType = 'temp'
|
||||||
|
|
||||||
|
# Alias types
|
||||||
|
kContainerFolderAliasType = 'fdrp'
|
||||||
|
kContainerTrashAliasType = 'trsh'
|
||||||
|
kContainerHardDiskAliasType = 'hdsk'
|
||||||
|
kContainerFloppyAliasType = 'flpy'
|
||||||
|
kContainerServerAliasType = 'srvr'
|
||||||
|
kApplicationAliasType = 'adrp'
|
||||||
|
kContainerAliasType = 'drop'
|
||||||
|
# types for Special folder aliases
|
||||||
|
kSystemFolderAliasType = 'fasy'
|
||||||
|
kAppleMenuFolderAliasType = 'faam'
|
||||||
|
kStartupFolderAliasType = 'fast'
|
||||||
|
kPrintMonitorDocsFolderAliasType = 'fapn'
|
||||||
|
kPreferencesFolderAliasType = 'fapf'
|
||||||
|
kControlPanelFolderAliasType = 'fact'
|
||||||
|
kExtensionFolderAliasType = 'faex'
|
||||||
|
kExportedFolderAliasType = 'faet'
|
||||||
|
kDropFolderAliasType = 'fadr'
|
||||||
|
kSharedFolderAliasType = 'fash'
|
||||||
|
kMountedFolderAliasType = 'famn'
|
||||||
|
|
||||||
|
# New FindFolder constants
|
||||||
|
kExtensionDisabledFolderType = 'extD'
|
||||||
|
kControlPanelDisabledFolderType = 'ctrD'
|
||||||
|
kSystemExtensionDisabledFolderType = 'macD'
|
||||||
|
kStartupItemsDisabledFolderType = 'strD'
|
||||||
|
kShutdownItemsDisabledFolderType = 'shdD'
|
||||||
|
kApplicationsFolderType = 'apps'
|
||||||
|
kDocumentsFolderType = 'docs'
|
||||||
|
|
||||||
|
kVolumeRootFolderType = 'root'
|
||||||
|
kChewableItemsFolderType = 'flnt'
|
||||||
|
kApplicationSupportFolderType = 'asup'
|
||||||
|
kTextEncodingsFolderType = 'Ÿtex'
|
||||||
|
kStationeryFolderType = 'odst'
|
||||||
|
kOpenDocFolderType = 'odod'
|
||||||
|
kOpenDocShellPlugInsFolderType = 'odsp'
|
||||||
|
kEditorsFolderType = 'oded'
|
||||||
|
kOpenDocEditorsFolderType = 'Ÿodf'
|
||||||
|
kOpenDocLibrariesFolderType = 'odlb'
|
||||||
|
kGenEditorsFolderType = 'Ÿedi'
|
||||||
|
kHelpFolderType = 'Ÿhlp'
|
||||||
|
kInternetPlugInFolderType = 'Ÿnet'
|
||||||
|
kModemScriptsFolderType = 'Ÿmod'
|
||||||
|
kPrinterDescriptionFolderType = 'ppdf'
|
||||||
|
kPrinterDriverFolderType = 'Ÿprd'
|
||||||
|
kScriptingAdditionsFolderType = 'Ÿscr'
|
||||||
|
kSharedLibrariesFolderType = 'Ÿlib'
|
||||||
|
kVoicesFolderType = 'fvoc'
|
||||||
|
kControlStripModulesFolderType = 'sdev'
|
||||||
|
kAssistantsFolderType = 'astŸ'
|
||||||
|
kUtilitiesFolderType = 'utiŸ'
|
||||||
|
kAppleExtrasFolderType = 'aexŸ'
|
||||||
|
kContextualMenuItemsFolderType = 'cmnu'
|
||||||
|
kMacOSReadMesFolderType = 'morŸ'
|
||||||
|
kALMModulesFolderType = 'walk'
|
||||||
|
kALMPreferencesFolderType = 'trip'
|
||||||
|
kALMLocationsFolderType = 'fall'
|
||||||
|
kColorSyncProfilesFolderType = 'prof'
|
||||||
|
kThemesFolderType = 'thme'
|
||||||
|
kFavoritesFolderType = 'favs'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue