blob: 1d0c2c1eab2dff5fd3916214a2bdea32897f79d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
# MACFS.py - Constants used by macfs routines
# Derived from Finder.h and Folders.h
# Flags in FInfo.Flags field:
kIsOnDesk = 0x1
kColor = 0xE
kIsShared = 0x40
kHasBeenInited = 0x100
kHasCustomIcon = 0x400
kIsStationery = 0x800
kIsStationary = 0x800
kNameLocked = 0x1000
kHasBundle = 0x2000
kIsInvisible = 0x4000
kIsAlias = 0x8000
# Constants for FindFolder
kOnSystemDisk = 0x8000
kSystemFolderType = 'macs' # the system folder
kDesktopFolderType = 'desk' # the desktop folder; objects in this folder show on the desk top.
kTrashFolderType = 'trsh' # the trash folder; objects in this folder show up in the trash
kWhereToEmptyTrashFolderType = 'empt' # the "empty trash" folder; Finder starts empty from here down
kPrintMonitorDocsFolderType = 'prnt' # Print Monitor documents
kStartupFolderType = 'strt' # Finder objects (applications, documents, DAs, aliases, to...) to open at startup go here
kAppleMenuFolderType = 'amnu' # Finder objects to put into the Apple menu go here
kControlPanelFolderType = 'ctrl' # Control Panels go here (may contain INITs)
kExtensionFolderType = 'extn' # Finder extensions go here
kFontsFolderType = 'font' # Fonts go here
kPreferencesFolderType = 'pref' # preferences for applications go here
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'
|