• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Generated from 'Folders.h'
2
3def FOUR_CHAR_CODE(x): return x
4true = True
5false = False
6kOnSystemDisk = -32768L
7kOnAppropriateDisk = -32767
8kSystemDomain = -32766
9kLocalDomain = -32765
10kNetworkDomain = -32764
11kUserDomain = -32763
12kClassicDomain = -32762
13kCreateFolder = true
14kDontCreateFolder = false
15kSystemFolderType = FOUR_CHAR_CODE('macs')
16kDesktopFolderType = FOUR_CHAR_CODE('desk')
17kSystemDesktopFolderType = FOUR_CHAR_CODE('sdsk')
18kTrashFolderType = FOUR_CHAR_CODE('trsh')
19kSystemTrashFolderType = FOUR_CHAR_CODE('strs')
20kWhereToEmptyTrashFolderType = FOUR_CHAR_CODE('empt')
21kPrintMonitorDocsFolderType = FOUR_CHAR_CODE('prnt')
22kStartupFolderType = FOUR_CHAR_CODE('strt')
23kShutdownFolderType = FOUR_CHAR_CODE('shdf')
24kAppleMenuFolderType = FOUR_CHAR_CODE('amnu')
25kControlPanelFolderType = FOUR_CHAR_CODE('ctrl')
26kSystemControlPanelFolderType = FOUR_CHAR_CODE('sctl')
27kExtensionFolderType = FOUR_CHAR_CODE('extn')
28kFontsFolderType = FOUR_CHAR_CODE('font')
29kPreferencesFolderType = FOUR_CHAR_CODE('pref')
30kSystemPreferencesFolderType = FOUR_CHAR_CODE('sprf')
31kTemporaryFolderType = FOUR_CHAR_CODE('temp')
32kExtensionDisabledFolderType = FOUR_CHAR_CODE('extD')
33kControlPanelDisabledFolderType = FOUR_CHAR_CODE('ctrD')
34kSystemExtensionDisabledFolderType = FOUR_CHAR_CODE('macD')
35kStartupItemsDisabledFolderType = FOUR_CHAR_CODE('strD')
36kShutdownItemsDisabledFolderType = FOUR_CHAR_CODE('shdD')
37kApplicationsFolderType = FOUR_CHAR_CODE('apps')
38kDocumentsFolderType = FOUR_CHAR_CODE('docs')
39kVolumeRootFolderType = FOUR_CHAR_CODE('root')
40kChewableItemsFolderType = FOUR_CHAR_CODE('flnt')
41kApplicationSupportFolderType = FOUR_CHAR_CODE('asup')
42kTextEncodingsFolderType = FOUR_CHAR_CODE('\xc4tex')
43kStationeryFolderType = FOUR_CHAR_CODE('odst')
44kOpenDocFolderType = FOUR_CHAR_CODE('odod')
45kOpenDocShellPlugInsFolderType = FOUR_CHAR_CODE('odsp')
46kEditorsFolderType = FOUR_CHAR_CODE('oded')
47kOpenDocEditorsFolderType = FOUR_CHAR_CODE('\xc4odf')
48kOpenDocLibrariesFolderType = FOUR_CHAR_CODE('odlb')
49kGenEditorsFolderType = FOUR_CHAR_CODE('\xc4edi')
50kHelpFolderType = FOUR_CHAR_CODE('\xc4hlp')
51kInternetPlugInFolderType = FOUR_CHAR_CODE('\xc4net')
52kModemScriptsFolderType = FOUR_CHAR_CODE('\xc4mod')
53kPrinterDescriptionFolderType = FOUR_CHAR_CODE('ppdf')
54kPrinterDriverFolderType = FOUR_CHAR_CODE('\xc4prd')
55kScriptingAdditionsFolderType = FOUR_CHAR_CODE('\xc4scr')
56kSharedLibrariesFolderType = FOUR_CHAR_CODE('\xc4lib')
57kVoicesFolderType = FOUR_CHAR_CODE('fvoc')
58kControlStripModulesFolderType = FOUR_CHAR_CODE('sdev')
59kAssistantsFolderType = FOUR_CHAR_CODE('ast\xc4')
60kUtilitiesFolderType = FOUR_CHAR_CODE('uti\xc4')
61kAppleExtrasFolderType = FOUR_CHAR_CODE('aex\xc4')
62kContextualMenuItemsFolderType = FOUR_CHAR_CODE('cmnu')
63kMacOSReadMesFolderType = FOUR_CHAR_CODE('mor\xc4')
64kALMModulesFolderType = FOUR_CHAR_CODE('walk')
65kALMPreferencesFolderType = FOUR_CHAR_CODE('trip')
66kALMLocationsFolderType = FOUR_CHAR_CODE('fall')
67kColorSyncProfilesFolderType = FOUR_CHAR_CODE('prof')
68kThemesFolderType = FOUR_CHAR_CODE('thme')
69kFavoritesFolderType = FOUR_CHAR_CODE('favs')
70kInternetFolderType = FOUR_CHAR_CODE('int\xc4')
71kAppearanceFolderType = FOUR_CHAR_CODE('appr')
72kSoundSetsFolderType = FOUR_CHAR_CODE('snds')
73kDesktopPicturesFolderType = FOUR_CHAR_CODE('dtp\xc4')
74kInternetSearchSitesFolderType = FOUR_CHAR_CODE('issf')
75kFindSupportFolderType = FOUR_CHAR_CODE('fnds')
76kFindByContentFolderType = FOUR_CHAR_CODE('fbcf')
77kInstallerLogsFolderType = FOUR_CHAR_CODE('ilgf')
78kScriptsFolderType = FOUR_CHAR_CODE('scr\xc4')
79kFolderActionsFolderType = FOUR_CHAR_CODE('fasf')
80kLauncherItemsFolderType = FOUR_CHAR_CODE('laun')
81kRecentApplicationsFolderType = FOUR_CHAR_CODE('rapp')
82kRecentDocumentsFolderType = FOUR_CHAR_CODE('rdoc')
83kRecentServersFolderType = FOUR_CHAR_CODE('rsvr')
84kSpeakableItemsFolderType = FOUR_CHAR_CODE('spki')
85kKeychainFolderType = FOUR_CHAR_CODE('kchn')
86kQuickTimeExtensionsFolderType = FOUR_CHAR_CODE('qtex')
87kDisplayExtensionsFolderType = FOUR_CHAR_CODE('dspl')
88kMultiprocessingFolderType = FOUR_CHAR_CODE('mpxf')
89kPrintingPlugInsFolderType = FOUR_CHAR_CODE('pplg')
90kDomainTopLevelFolderType = FOUR_CHAR_CODE('dtop')
91kDomainLibraryFolderType = FOUR_CHAR_CODE('dlib')
92kColorSyncFolderType = FOUR_CHAR_CODE('sync')
93kColorSyncCMMFolderType = FOUR_CHAR_CODE('ccmm')
94kColorSyncScriptingFolderType = FOUR_CHAR_CODE('cscr')
95kPrintersFolderType = FOUR_CHAR_CODE('impr')
96kSpeechFolderType = FOUR_CHAR_CODE('spch')
97kCarbonLibraryFolderType = FOUR_CHAR_CODE('carb')
98kDocumentationFolderType = FOUR_CHAR_CODE('info')
99kDeveloperDocsFolderType = FOUR_CHAR_CODE('ddoc')
100kDeveloperHelpFolderType = FOUR_CHAR_CODE('devh')
101kISSDownloadsFolderType = FOUR_CHAR_CODE('issd')
102kUserSpecificTmpFolderType = FOUR_CHAR_CODE('utmp')
103kCachedDataFolderType = FOUR_CHAR_CODE('cach')
104kFrameworksFolderType = FOUR_CHAR_CODE('fram')
105kPrivateFrameworksFolderType = FOUR_CHAR_CODE('pfrm')
106kClassicDesktopFolderType = FOUR_CHAR_CODE('sdsk')
107kDeveloperFolderType = FOUR_CHAR_CODE('devf')
108kSystemSoundsFolderType = FOUR_CHAR_CODE('ssnd')
109kComponentsFolderType = FOUR_CHAR_CODE('cmpd')
110kQuickTimeComponentsFolderType = FOUR_CHAR_CODE('wcmp')
111kCoreServicesFolderType = FOUR_CHAR_CODE('csrv')
112kPictureDocumentsFolderType = FOUR_CHAR_CODE('pdoc')
113kMovieDocumentsFolderType = FOUR_CHAR_CODE('mdoc')
114kMusicDocumentsFolderType = FOUR_CHAR_CODE('\xb5doc')
115kInternetSitesFolderType = FOUR_CHAR_CODE('site')
116kPublicFolderType = FOUR_CHAR_CODE('pubb')
117kAudioSupportFolderType = FOUR_CHAR_CODE('adio')
118kAudioSoundsFolderType = FOUR_CHAR_CODE('asnd')
119kAudioSoundBanksFolderType = FOUR_CHAR_CODE('bank')
120kAudioAlertSoundsFolderType = FOUR_CHAR_CODE('alrt')
121kAudioPlugInsFolderType = FOUR_CHAR_CODE('aplg')
122kAudioComponentsFolderType = FOUR_CHAR_CODE('acmp')
123kKernelExtensionsFolderType = FOUR_CHAR_CODE('kext')
124kDirectoryServicesFolderType = FOUR_CHAR_CODE('dsrv')
125kDirectoryServicesPlugInsFolderType = FOUR_CHAR_CODE('dplg')
126kInstallerReceiptsFolderType = FOUR_CHAR_CODE('rcpt')
127kFileSystemSupportFolderType = FOUR_CHAR_CODE('fsys')
128kAppleShareSupportFolderType = FOUR_CHAR_CODE('shar')
129kAppleShareAuthenticationFolderType = FOUR_CHAR_CODE('auth')
130kMIDIDriversFolderType = FOUR_CHAR_CODE('midi')
131kLocalesFolderType = FOUR_CHAR_CODE('\xc4loc')
132kFindByContentPluginsFolderType = FOUR_CHAR_CODE('fbcp')
133kUsersFolderType = FOUR_CHAR_CODE('usrs')
134kCurrentUserFolderType = FOUR_CHAR_CODE('cusr')
135kCurrentUserRemoteFolderLocation = FOUR_CHAR_CODE('rusf')
136kCurrentUserRemoteFolderType = FOUR_CHAR_CODE('rusr')
137kSharedUserDataFolderType = FOUR_CHAR_CODE('sdat')
138kVolumeSettingsFolderType = FOUR_CHAR_CODE('vsfd')
139kAppleshareAutomountServerAliasesFolderType = FOUR_CHAR_CODE('srv\xc4')
140kPreMacOS91ApplicationsFolderType = FOUR_CHAR_CODE('\x8cpps')
141kPreMacOS91InstallerLogsFolderType = FOUR_CHAR_CODE('\x94lgf')
142kPreMacOS91AssistantsFolderType = FOUR_CHAR_CODE('\x8cst\xc4')
143kPreMacOS91UtilitiesFolderType = FOUR_CHAR_CODE('\x9fti\xc4')
144kPreMacOS91AppleExtrasFolderType = FOUR_CHAR_CODE('\x8cex\xc4')
145kPreMacOS91MacOSReadMesFolderType = FOUR_CHAR_CODE('\xb5or\xc4')
146kPreMacOS91InternetFolderType = FOUR_CHAR_CODE('\x94nt\xc4')
147kPreMacOS91AutomountedServersFolderType = FOUR_CHAR_CODE('\xa7rv\xc4')
148kPreMacOS91StationeryFolderType = FOUR_CHAR_CODE('\xbfdst')
149kCreateFolderAtBoot = 0x00000002
150kCreateFolderAtBootBit = 1
151kFolderCreatedInvisible = 0x00000004
152kFolderCreatedInvisibleBit = 2
153kFolderCreatedNameLocked = 0x00000008
154kFolderCreatedNameLockedBit = 3
155kFolderCreatedAdminPrivs = 0x00000010
156kFolderCreatedAdminPrivsBit = 4
157kFolderInUserFolder = 0x00000020
158kFolderInUserFolderBit = 5
159kFolderTrackedByAlias = 0x00000040
160kFolderTrackedByAliasBit = 6
161kFolderInRemoteUserFolderIfAvailable = 0x00000080
162kFolderInRemoteUserFolderIfAvailableBit = 7
163kFolderNeverMatchedInIdentifyFolder = 0x00000100
164kFolderNeverMatchedInIdentifyFolderBit = 8
165kFolderMustStayOnSameVolume = 0x00000200
166kFolderMustStayOnSameVolumeBit = 9
167kFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledMask = 0x00000400
168kFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledBit = 10
169kFolderInLocalOrRemoteUserFolder = kFolderInUserFolder | kFolderInRemoteUserFolderIfAvailable
170kRelativeFolder = FOUR_CHAR_CODE('relf')
171kSpecialFolder = FOUR_CHAR_CODE('spcf')
172kBlessedFolder = FOUR_CHAR_CODE('blsf')
173kRootFolder = FOUR_CHAR_CODE('rotf')
174kCurrentUserFolderLocation = FOUR_CHAR_CODE('cusf')
175kFindFolderRedirectionFlagUseDistinctUserFoldersBit = 0
176kFindFolderRedirectionFlagUseGivenVRefAndDirIDAsUserFolderBit = 1
177kFindFolderRedirectionFlagsUseGivenVRefNumAndDirIDAsRemoteUserFolderBit = 2
178kFolderManagerUserRedirectionGlobalsCurrentVersion = 1
179kFindFolderExtendedFlagsDoNotFollowAliasesBit = 0
180kFindFolderExtendedFlagsDoNotUseUserFolderBit = 1
181kFindFolderExtendedFlagsUseOtherUserRecord = 0x01000000
182kFolderManagerNotificationMessageUserLogIn = FOUR_CHAR_CODE('log+')
183kFolderManagerNotificationMessagePreUserLogIn = FOUR_CHAR_CODE('logj')
184kFolderManagerNotificationMessageUserLogOut = FOUR_CHAR_CODE('log-')
185kFolderManagerNotificationMessagePostUserLogOut = FOUR_CHAR_CODE('logp')
186kFolderManagerNotificationDiscardCachedData = FOUR_CHAR_CODE('dche')
187kFolderManagerNotificationMessageLoginStartup = FOUR_CHAR_CODE('stup')
188kDoNotRemoveWhenCurrentApplicationQuitsBit = 0
189kDoNotRemoveWheCurrentApplicationQuitsBit = kDoNotRemoveWhenCurrentApplicationQuitsBit
190kStopIfAnyNotificationProcReturnsErrorBit = 31
191