blob: 1d0c2c1eab2dff5fd3916214a2bdea32897f79d1 [file] [log] [blame]
Jack Jansenf5101ee1995-08-31 13:38:44 +00001# MACFS.py - Constants used by macfs routines
2# Derived from Finder.h and Folders.h
3
4# Flags in FInfo.Flags field:
5kIsOnDesk = 0x1
6kColor = 0xE
7kIsShared = 0x40
8kHasBeenInited = 0x100
9kHasCustomIcon = 0x400
10kIsStationery = 0x800
11kIsStationary = 0x800
12kNameLocked = 0x1000
13kHasBundle = 0x2000
14kIsInvisible = 0x4000
15kIsAlias = 0x8000
16
17# Constants for FindFolder
18kOnSystemDisk = 0x8000
19kSystemFolderType = 'macs' # the system folder
20kDesktopFolderType = 'desk' # the desktop folder; objects in this folder show on the desk top.
21kTrashFolderType = 'trsh' # the trash folder; objects in this folder show up in the trash
22kWhereToEmptyTrashFolderType = 'empt' # the "empty trash" folder; Finder starts empty from here down
23kPrintMonitorDocsFolderType = 'prnt' # Print Monitor documents
24kStartupFolderType = 'strt' # Finder objects (applications, documents, DAs, aliases, to...) to open at startup go here
25kAppleMenuFolderType = 'amnu' # Finder objects to put into the Apple menu go here
26kControlPanelFolderType = 'ctrl' # Control Panels go here (may contain INITs)
27kExtensionFolderType = 'extn' # Finder extensions go here
28kFontsFolderType = 'font' # Fonts go here
29kPreferencesFolderType = 'pref' # preferences for applications go here
30kTemporaryFolderType = 'temp'
Jack Jansen7b7a2c21998-04-24 10:42:01 +000031
32# Alias types
33kContainerFolderAliasType = 'fdrp'
34kContainerTrashAliasType = 'trsh'
35kContainerHardDiskAliasType = 'hdsk'
36kContainerFloppyAliasType = 'flpy'
37kContainerServerAliasType = 'srvr'
38kApplicationAliasType = 'adrp'
39kContainerAliasType = 'drop'
40# types for Special folder aliases
41kSystemFolderAliasType = 'fasy'
42kAppleMenuFolderAliasType = 'faam'
43kStartupFolderAliasType = 'fast'
44kPrintMonitorDocsFolderAliasType = 'fapn'
45kPreferencesFolderAliasType = 'fapf'
46kControlPanelFolderAliasType = 'fact'
47kExtensionFolderAliasType = 'faex'
48kExportedFolderAliasType = 'faet'
49kDropFolderAliasType = 'fadr'
50kSharedFolderAliasType = 'fash'
51kMountedFolderAliasType = 'famn'
52
53# New FindFolder constants
54kExtensionDisabledFolderType = 'extD'
55kControlPanelDisabledFolderType = 'ctrD'
56kSystemExtensionDisabledFolderType = 'macD'
57kStartupItemsDisabledFolderType = 'strD'
58kShutdownItemsDisabledFolderType = 'shdD'
59kApplicationsFolderType = 'apps'
60kDocumentsFolderType = 'docs'
61
62kVolumeRootFolderType = 'root'
63kChewableItemsFolderType = 'flnt'
64kApplicationSupportFolderType = 'asup'
65kTextEncodingsFolderType = 'Ÿtex'
66kStationeryFolderType = 'odst'
67kOpenDocFolderType = 'odod'
68kOpenDocShellPlugInsFolderType = 'odsp'
69kEditorsFolderType = 'oded'
70kOpenDocEditorsFolderType = 'Ÿodf'
71kOpenDocLibrariesFolderType = 'odlb'
72kGenEditorsFolderType = 'Ÿedi'
73kHelpFolderType = 'Ÿhlp'
74kInternetPlugInFolderType = 'Ÿnet'
75kModemScriptsFolderType = 'Ÿmod'
76kPrinterDescriptionFolderType = 'ppdf'
77kPrinterDriverFolderType = 'Ÿprd'
78kScriptingAdditionsFolderType = 'Ÿscr'
79kSharedLibrariesFolderType = 'Ÿlib'
80kVoicesFolderType = 'fvoc'
81kControlStripModulesFolderType = 'sdev'
82kAssistantsFolderType = 'astŸ'
83kUtilitiesFolderType = 'utiŸ'
84kAppleExtrasFolderType = 'aexŸ'
85kContextualMenuItemsFolderType = 'cmnu'
86kMacOSReadMesFolderType = 'morŸ'
87kALMModulesFolderType = 'walk'
88kALMPreferencesFolderType = 'trip'
89kALMLocationsFolderType = 'fall'
90kColorSyncProfilesFolderType = 'prof'
91kThemesFolderType = 'thme'
92kFavoritesFolderType = 'favs'