Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7b7a2c2

Browse files
committed
Added new folder types
1 parent 0ec0e63 commit 7b7a2c2

1 file changed

Lines changed: 62 additions & 0 deletions

File tree

Mac/Lib/MACFS.py

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,65 @@
2828
kFontsFolderType = 'font' # Fonts go here
2929
kPreferencesFolderType = 'pref' # preferences for applications go here
3030
kTemporaryFolderType = 'temp'
31+
32+
# Alias types
33+
kContainerFolderAliasType = 'fdrp'
34+
kContainerTrashAliasType = 'trsh'
35+
kContainerHardDiskAliasType = 'hdsk'
36+
kContainerFloppyAliasType = 'flpy'
37+
kContainerServerAliasType = 'srvr'
38+
kApplicationAliasType = 'adrp'
39+
kContainerAliasType = 'drop'
40+
# types for Special folder aliases
41+
kSystemFolderAliasType = 'fasy'
42+
kAppleMenuFolderAliasType = 'faam'
43+
kStartupFolderAliasType = 'fast'
44+
kPrintMonitorDocsFolderAliasType = 'fapn'
45+
kPreferencesFolderAliasType = 'fapf'
46+
kControlPanelFolderAliasType = 'fact'
47+
kExtensionFolderAliasType = 'faex'
48+
kExportedFolderAliasType = 'faet'
49+
kDropFolderAliasType = 'fadr'
50+
kSharedFolderAliasType = 'fash'
51+
kMountedFolderAliasType = 'famn'
52+
53+
# New FindFolder constants
54+
kExtensionDisabledFolderType = 'extD'
55+
kControlPanelDisabledFolderType = 'ctrD'
56+
kSystemExtensionDisabledFolderType = 'macD'
57+
kStartupItemsDisabledFolderType = 'strD'
58+
kShutdownItemsDisabledFolderType = 'shdD'
59+
kApplicationsFolderType = 'apps'
60+
kDocumentsFolderType = 'docs'
61+
62+
kVolumeRootFolderType = 'root'
63+
kChewableItemsFolderType = 'flnt'
64+
kApplicationSupportFolderType = 'asup'
65+
kTextEncodingsFolderType = 'Ÿtex'
66+
kStationeryFolderType = 'odst'
67+
kOpenDocFolderType = 'odod'
68+
kOpenDocShellPlugInsFolderType = 'odsp'
69+
kEditorsFolderType = 'oded'
70+
kOpenDocEditorsFolderType = 'Ÿodf'
71+
kOpenDocLibrariesFolderType = 'odlb'
72+
kGenEditorsFolderType = 'Ÿedi'
73+
kHelpFolderType = 'Ÿhlp'
74+
kInternetPlugInFolderType = 'Ÿnet'
75+
kModemScriptsFolderType = 'Ÿmod'
76+
kPrinterDescriptionFolderType = 'ppdf'
77+
kPrinterDriverFolderType = 'Ÿprd'
78+
kScriptingAdditionsFolderType = 'Ÿscr'
79+
kSharedLibrariesFolderType = 'Ÿlib'
80+
kVoicesFolderType = 'fvoc'
81+
kControlStripModulesFolderType = 'sdev'
82+
kAssistantsFolderType = 'astŸ'
83+
kUtilitiesFolderType = 'utiŸ'
84+
kAppleExtrasFolderType = 'aexŸ'
85+
kContextualMenuItemsFolderType = 'cmnu'
86+
kMacOSReadMesFolderType = 'morŸ'
87+
kALMModulesFolderType = 'walk'
88+
kALMPreferencesFolderType = 'trip'
89+
kALMLocationsFolderType = 'fall'
90+
kColorSyncProfilesFolderType = 'prof'
91+
kThemesFolderType = 'thme'
92+
kFavoritesFolderType = 'favs'

0 commit comments

Comments
 (0)