Another batch of updates...
[python/dscho.git] / Mac / Lib / MACFS.py
blob132db37905c52d502d328404ee79420324b60f81
1 # MACFS.py - Constants used by macfs routines
2 # Derived from Finder.h and Folders.h
4 # Flags in FInfo.Flags field:
5 kIsOnDesk = 0x1
6 kColor = 0xE
7 kIsShared = 0x40
8 kHasBeenInited = 0x100
9 kHasCustomIcon = 0x400
10 kIsStationery = 0x800
11 kIsStationary = 0x800
12 kNameLocked = 0x1000
13 kHasBundle = 0x2000
14 kIsInvisible = 0x4000
15 kIsAlias = 0x8000
17 # Constants for FindFolder
18 kOnSystemDisk = 0x8000
19 kSystemFolderType = 'macs' # the system folder
20 kDesktopFolderType = 'desk' # the desktop folder; objects in this folder show on the desk top.
21 kTrashFolderType = 'trsh' # the trash folder; objects in this folder show up in the trash
22 kWhereToEmptyTrashFolderType = 'empt' # the "empty trash" folder; Finder starts empty from here down
23 kPrintMonitorDocsFolderType = 'prnt' # Print Monitor documents
24 kStartupFolderType = 'strt' # Finder objects (applications, documents, DAs, aliases, to...) to open at startup go here
25 kAppleMenuFolderType = 'amnu' # Finder objects to put into the Apple menu go here
26 kControlPanelFolderType = 'ctrl' # Control Panels go here (may contain INITs)
27 kExtensionFolderType = 'extn' # Finder extensions go here
28 kFontsFolderType = 'font' # Fonts go here
29 kPreferencesFolderType = 'pref' # preferences for applications go here
30 kTemporaryFolderType = 'temp'