summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py
blob: 1d35def783e43e38c82062e72586c6556463c5ae (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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
"""Suite Obsolete terms: Terms that have been deprecated
Level 1, version 1

Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

import aetools
import MacOS

_code = 'tpnm'

from StdSuites.Type_Names_Suite import *
class Obsolete_terms_Events(Type_Names_Suite_Events):

	pass


class application(aetools.ComponentItem):
	"""application - The Finder """
	want = 'capp'
class view_preferences(aetools.NProperty):
	"""view preferences - backwards compatibility with Finder Scripting Extension. DEPRECATED -- not supported after Finder 8.0 """
	which = 'pvwp'
	want = 'obj '

class container(aetools.ComponentItem):
	"""container - An item that contains other items """
	want = 'ctnr'
class container_window(aetools.NProperty):
	"""container window - the main window for the container """
	which = 'cwnd'
	want = 'obj '

class container_window(aetools.ComponentItem):
	"""container window - A window that contains items """
	want = 'cwnd'
class folder_obsolete(aetools.NProperty):
	"""folder obsolete - the folder from which the window was opened (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release.) """
	which = 'cfol'
	want = 'obj '

class control_panel(aetools.ComponentItem):
	"""control panel - A control panel """
	want = 'ccdv'

control_panels = control_panel

class file(aetools.ComponentItem):
	"""file - A file """
	want = 'file'
class file_type_obsolete(aetools.NProperty):
	"""file type obsolete - the OSType identifying the type of data contained in the item (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
	which = 'fitp'
	want = 'type'
class locked_obsolete(aetools.NProperty):
	"""locked obsolete - Is the file locked? (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
	which = 'islk'
	want = 'bool'

class information_window(aetools.ComponentItem):
	"""information window - An information window (opened by ³Get Info²) """
	want = 'iwnd'
class creation_date_obsolete(aetools.NProperty):
	"""creation date obsolete - the date on which the item was created (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
	which = 'crtd'
	want = 'ldt '
# repeated property locked_obsolete Is the item locked (applies only to file and application information windows)? (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release)
class modification_date_obsolete(aetools.NProperty):
	"""modification date obsolete - the date on which the item was last modified (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
	which = 'modd'
	want = 'ldt '

class item(aetools.ComponentItem):
	"""item - An item """
	want = 'cobj'
# repeated property creation_date_obsolete the date on which the item was created (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release)
# repeated property folder_obsolete the folder in which the item is stored (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release)
# repeated property modification_date_obsolete the date on which the item was last modified (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release)

class process(aetools.ComponentItem):
	"""process - A process running on this computer """
	want = 'prcs'
# repeated property file_type_obsolete the OSType of the file type of the process (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release)

class sharable_container(aetools.ComponentItem):
	"""sharable container - A container that may be shared (disks and folders) """
	want = 'sctr'
class sharing_window(aetools.NProperty):
	"""sharing window - the sharing window for the container (file sharing must be on to use this property) """
	which = 'swnd'
	want = 'obj '

class sharing_window(aetools.ComponentItem):
	"""sharing window - A sharing window (opened by ³SharingŠ²) """
	want = 'swnd'
class sharable_container(aetools.NProperty):
	"""sharable container - the sharable container from which the window was opened """
	which = 'sctr'
	want = 'obj '
class item(aetools.NProperty):
	"""item - the item from which this window was opened """
	which = 'cobj'
	want = 'obj '
class container(aetools.NProperty):
	"""container - the container from which this window was opened """
	which = 'ctnr'
	want = 'obj '
# repeated property folder_obsolete the folder from which this window was opened (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release)

sharing_windows = sharing_window

class status_window(aetools.ComponentItem):
	"""status window - Progress dialogs (e.g., copy window, rebuild desktop database, empty trash) """
	want = 'qwnd'

status_windows = status_window
application._propdict = {
	'view_preferences' : view_preferences,
}
application._elemdict = {
}
container._propdict = {
	'container_window' : container_window,
}
container._elemdict = {
}
container_window._propdict = {
	'folder_obsolete' : folder_obsolete,
}
container_window._elemdict = {
}
control_panel._propdict = {
}
control_panel._elemdict = {
}
file._propdict = {
	'file_type_obsolete' : file_type_obsolete,
	'locked_obsolete' : locked_obsolete,
}
file._elemdict = {
}
information_window._propdict = {
	'creation_date_obsolete' : creation_date_obsolete,
	'locked_obsolete' : locked_obsolete,
	'modification_date_obsolete' : modification_date_obsolete,
}
information_window._elemdict = {
}
item._propdict = {
	'creation_date_obsolete' : creation_date_obsolete,
	'folder_obsolete' : folder_obsolete,
	'modification_date_obsolete' : modification_date_obsolete,
}
item._elemdict = {
}
process._propdict = {
	'file_type_obsolete' : file_type_obsolete,
}
process._elemdict = {
}
sharable_container._propdict = {
	'sharing_window' : sharing_window,
}
sharable_container._elemdict = {
}
sharing_window._propdict = {
	'sharable_container' : sharable_container,
	'item' : item,
	'container' : container,
	'folder_obsolete' : folder_obsolete,
}
sharing_window._elemdict = {
}
status_window._propdict = {
}
status_window._elemdict = {
}

#
# Indices of types declared in this module
#
_classdeclarations = {
	'ccdv' : control_panel,
	'iwnd' : information_window,
	'ctnr' : container,
	'capp' : application,
	'sctr' : sharable_container,
	'cwnd' : container_window,
	'prcs' : process,
	'file' : file,
	'cobj' : item,
	'qwnd' : status_window,
	'swnd' : sharing_window,
}

_propdeclarations = {
	'crtd' : creation_date_obsolete,
	'cfol' : folder_obsolete,
	'ctnr' : container,
	'cwnd' : container_window,
	'pvwp' : view_preferences,
	'swnd' : sharing_window,
	'sctr' : sharable_container,
	'cobj' : item,
	'modd' : modification_date_obsolete,
	'islk' : locked_obsolete,
	'fitp' : file_type_obsolete,
}

_compdeclarations = {
}

_enumdeclarations = {
}