[Python-checkins] python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents Disk_2d_Folder_2d_File_Suite.py,1.2,1.3 Folder_Actions_Suite.py,1.2,1.3 Hidden_Suite.py,1.2,1.3 Login_Items_Suite.py,1.2,1.3 Power_Suite.py,1.2,1.3 Processes_Suite.py,1.2,1.3 Standard_Suite.py,1.2,1.3 System_Events_Suite.py,1.2,1.3 Text_Suite.py,1.2,1.3 __init__.py,1.2,1.3

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Sat, 12 Apr 2003 15:27:14 -0700


Update of /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents
In directory sc8-pr-cvs1:/tmp/cvs-serv30892/lib-scriptpackages/SystemEvents

Modified Files:
	Disk_2d_Folder_2d_File_Suite.py Folder_Actions_Suite.py 
	Hidden_Suite.py Login_Items_Suite.py Power_Suite.py 
	Processes_Suite.py Standard_Suite.py System_Events_Suite.py 
	Text_Suite.py __init__.py 
Log Message:
Oops, _propdeclarations and friends are needed: gensuitemodule uses them
to lookup properties declared in base classes. Looking at it I'm not sure
what the official scope if the property codes is, maybe it is only the
(OSA) class in which they are used. But giving them global scope hasn't been
a problem so far.

Regenerated the standard suites, which are now also space-indented.


Index: Disk_2d_Folder_2d_File_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Disk_2d_Folder_2d_File_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Disk_2d_Folder_2d_File_Suite.py	1 Apr 2003 22:05:00 -0000	1.2
--- Disk_2d_Folder_2d_File_Suite.py	12 Apr 2003 22:27:10 -0000	1.3
***************
*** 13,58 ****
  class Disk_2d_Folder_2d_File_Suite_Events:
  
! 	_argmap_move = {
! 		'to' : 'insh',
! 	}
  
! 	def move(self, _object, _attributes={}, **_arguments):
! 		"""move: Move disk item(s) to a new location.
! 		Required argument: the object for the command
! 		Keyword argument to: The new location for the disk item(s).
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		Returns: the reply for the command
! 		"""
! 		_code = 'core'
! 		_subcode = 'move'
  
! 		aetools.keysubst(_arguments, self._argmap_move)
! 		_arguments['----'] = _object
  
  
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
  
  
  class alias(aetools.ComponentItem):
! 	"""alias - An alias in the file system """
! 	want = 'alis'
  class _Prop__3c_Inheritance_3e_(aetools.NProperty):
! 	"""<Inheritance> - All of the properties of the superclass. """
! 	which = 'c@#^'
! 	want = 'cobj'
  class _Prop_properties(aetools.NProperty):
! 	"""properties - every property of the alias """
! 	which = 'pALL'
! 	want = '****'
  class _Prop_version(aetools.NProperty):
! 	"""version - the version of the application bundle referenced by the alias (visible at the bottom of the "Get Info" window) """
! 	which = 'vers'
! 	want = 'utxt'
  #        element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
  #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
--- 13,58 ----
  class Disk_2d_Folder_2d_File_Suite_Events:
  
!     _argmap_move = {
!         'to' : 'insh',
!     }
  
!     def move(self, _object, _attributes={}, **_arguments):
!         """move: Move disk item(s) to a new location.
!         Required argument: the object for the command
!         Keyword argument to: The new location for the disk item(s).
!         Keyword argument _attributes: AppleEvent attribute dictionary
!         Returns: the reply for the command
!         """
!         _code = 'core'
!         _subcode = 'move'
  
!         aetools.keysubst(_arguments, self._argmap_move)
!         _arguments['----'] = _object
  
  
!         _reply, _arguments, _attributes = self.send(_code, _subcode,
!                 _arguments, _attributes)
!         if _arguments.get('errn', 0):
!             raise aetools.Error, aetools.decodeerror(_arguments)
!         # XXXX Optionally decode result
!         if _arguments.has_key('----'):
!             return _arguments['----']
  
  
  class alias(aetools.ComponentItem):
!     """alias - An alias in the file system """
!     want = 'alis'
  class _Prop__3c_Inheritance_3e_(aetools.NProperty):
!     """<Inheritance> - All of the properties of the superclass. """
!     which = 'c@#^'
!     want = 'cobj'
  class _Prop_properties(aetools.NProperty):
!     """properties - every property of the alias """
!     which = 'pALL'
!     want = '****'
  class _Prop_version(aetools.NProperty):
!     """version - the version of the application bundle referenced by the alias (visible at the bottom of the "Get Info" window) """
!     which = 'vers'
!     want = 'utxt'
  #        element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
  #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
***************
*** 63,96 ****
  
  class disk(aetools.ComponentItem):
! 	"""disk - A disk in the file system """
! 	want = 'cdis'
  class _Prop_capacity(aetools.NProperty):
! 	"""capacity - the total number of bytes (free or used) on the disk """
! 	which = 'capa'
! 	want = 'magn'
  class _Prop_ejectable(aetools.NProperty):
! 	"""ejectable - Can the media be ejected (floppies, CD's, and so on)? """
! 	which = 'isej'
! 	want = 'bool'
  class _Prop_format(aetools.NProperty):
! 	"""format - the file system format of this disk """
! 	which = 'dfmt'
! 	want = 'edfm'
  class _Prop_free_space(aetools.NProperty):
! 	"""free space - the number of free bytes left on the disk """
! 	which = 'frsp'
! 	want = 'magn'
  class _Prop_ignore_privileges(aetools.NProperty):
! 	"""ignore privileges - Ignore permissions on this disk? """
! 	which = 'igpr'
! 	want = 'bool'
  class _Prop_local_volume(aetools.NProperty):
! 	"""local volume - Is the media a local volume (as opposed to a file server)? """
! 	which = 'isrv'
! 	want = 'bool'
  class _Prop_startup(aetools.NProperty):
! 	"""startup - Is this disk the boot disk? """
! 	which = 'istd'
! 	want = 'bool'
  #        element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
  #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
--- 63,96 ----
  
  class disk(aetools.ComponentItem):
!     """disk - A disk in the file system """
!     want = 'cdis'
  class _Prop_capacity(aetools.NProperty):
!     """capacity - the total number of bytes (free or used) on the disk """
!     which = 'capa'
!     want = 'magn'
  class _Prop_ejectable(aetools.NProperty):
!     """ejectable - Can the media be ejected (floppies, CD's, and so on)? """
!     which = 'isej'
!     want = 'bool'
  class _Prop_format(aetools.NProperty):
!     """format - the file system format of this disk """
!     which = 'dfmt'
!     want = 'edfm'
  class _Prop_free_space(aetools.NProperty):
!     """free space - the number of free bytes left on the disk """
!     which = 'frsp'
!     want = 'magn'
  class _Prop_ignore_privileges(aetools.NProperty):
!     """ignore privileges - Ignore permissions on this disk? """
!     which = 'igpr'
!     want = 'bool'
  class _Prop_local_volume(aetools.NProperty):
!     """local volume - Is the media a local volume (as opposed to a file server)? """
!     which = 'isrv'
!     want = 'bool'
  class _Prop_startup(aetools.NProperty):
!     """startup - Is this disk the boot disk? """
!     which = 'istd'
!     want = 'bool'
  #        element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
  #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
***************
*** 101,106 ****
  
  class folder(aetools.ComponentItem):
! 	"""folder - A folder in the file system """
! 	want = 'cfol'
  #        element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
  #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
--- 101,106 ----
  
  class folder(aetools.ComponentItem):
!     """folder - A folder in the file system """
!     want = 'cfol'
  #        element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
  #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
***************
*** 111,253 ****
  
  class item(aetools.ComponentItem):
! 	"""item - An item in the file system """
! 	want = 'cobj'
  class _Prop_POSIX_path(aetools.NProperty):
! 	"""POSIX path - the POSIX file system path of the item """
! 	which = 'posx'
! 	want = 'utxt'
  class _Prop_busy_status(aetools.NProperty):
! 	"""busy status - Is the item busy? """
! 	which = 'busy'
! 	want = 'bool'
  class _Prop_creation_date(aetools.NProperty):
! 	"""creation date - the date on which the item was created """
! 	which = 'ascd'
! 	want = '****'
  class _Prop_displayed_name(aetools.NProperty):
! 	"""displayed name - the name of the item as displayed in the User Interface """
! 	which = 'dnam'
! 	want = 'utxt'
  class _Prop_modification_date(aetools.NProperty):
! 	"""modification date - the date on which the item was last modified """
! 	which = 'asmo'
! 	want = '****'
  class _Prop_name(aetools.NProperty):
! 	"""name - the name of the item """
! 	which = 'pnam'
! 	want = 'utxt'
  class _Prop_name_extension(aetools.NProperty):
! 	"""name extension - the extension portion of the name """
! 	which = 'extn'
! 	want = 'utxt'
  class _Prop_package_folder(aetools.NProperty):
! 	"""package folder - Is the item a package? """
! 	which = 'pkgf'
! 	want = 'bool'
  class _Prop_path(aetools.NProperty):
! 	"""path - the file system path of the item """
! 	which = 'ppth'
! 	want = 'utxt'
  class _Prop_url(aetools.NProperty):
! 	"""url - the url of the item """
! 	which = 'url '
! 	want = 'utxt'
  class _Prop_visible(aetools.NProperty):
! 	"""visible - Is the item visible? """
! 	which = 'pvis'
! 	want = 'bool'
  class _Prop_volume(aetools.NProperty):
! 	"""volume - the volume on which the item resides """
! 	which = 'volu'
! 	want = 'utxt'
  
  items = item
  
  class file(aetools.ComponentItem):
! 	"""file - A file in the file system """
! 	want = 'file'
  class _Prop_creator_type(aetools.NProperty):
! 	"""creator type - the OSType identifying the application that created the file """
! 	which = 'fcrt'
! 	want = 'utxt'
  class _Prop_file_type(aetools.NProperty):
! 	"""file type - the OSType identifying the type of data contained in the file """
! 	which = 'asty'
! 	want = 'utxt'
  class _Prop_physical_size(aetools.NProperty):
! 	"""physical size - the actual space used by the file on disk """
! 	which = 'phys'
! 	want = '****'
  class _Prop_product_version(aetools.NProperty):
! 	"""product version - the version of the product (visible at the top of the "Get Info" window) """
! 	which = 'ver2'
! 	want = 'utxt'
  class _Prop_size(aetools.NProperty):
! 	"""size - the logical size of the file """
! 	which = 'ptsz'
! 	want = '****'
  class _Prop_stationery(aetools.NProperty):
! 	"""stationery - Is the file a stationery pad? """
! 	which = 'pspd'
! 	want = 'bool'
  
  files = file
  alias._superclassnames = ['item']
  alias._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'properties' : _Prop_properties,
! 	'version' : _Prop_version,
  }
  alias._privelemdict = {
! 	'alias' : alias,
! 	'file' : file,
! 	'folder' : folder,
! 	'item' : item,
  }
  disk._superclassnames = ['item']
  disk._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'capacity' : _Prop_capacity,
! 	'ejectable' : _Prop_ejectable,
! 	'format' : _Prop_format,
! 	'free_space' : _Prop_free_space,
! 	'ignore_privileges' : _Prop_ignore_privileges,
! 	'local_volume' : _Prop_local_volume,
! 	'properties' : _Prop_properties,
! 	'startup' : _Prop_startup,
  }
  disk._privelemdict = {
! 	'alias' : alias,
! 	'file' : file,
! 	'folder' : folder,
! 	'item' : item,
  }
  folder._superclassnames = ['item']
  folder._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'properties' : _Prop_properties,
  }
  folder._privelemdict = {
! 	'alias' : alias,
! 	'file' : file,
! 	'folder' : folder,
! 	'item' : item,
  }
  item._superclassnames = []
  item._privpropdict = {
! 	'POSIX_path' : _Prop_POSIX_path,
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'busy_status' : _Prop_busy_status,
! 	'creation_date' : _Prop_creation_date,
! 	'displayed_name' : _Prop_displayed_name,
! 	'modification_date' : _Prop_modification_date,
! 	'name' : _Prop_name,
! 	'name_extension' : _Prop_name_extension,
! 	'package_folder' : _Prop_package_folder,
! 	'path' : _Prop_path,
! 	'properties' : _Prop_properties,
! 	'url' : _Prop_url,
! 	'visible' : _Prop_visible,
! 	'volume' : _Prop_volume,
  }
  item._privelemdict = {
--- 111,253 ----
  
  class item(aetools.ComponentItem):
!     """item - An item in the file system """
!     want = 'cobj'
  class _Prop_POSIX_path(aetools.NProperty):
!     """POSIX path - the POSIX file system path of the item """
!     which = 'posx'
!     want = 'utxt'
  class _Prop_busy_status(aetools.NProperty):
!     """busy status - Is the item busy? """
!     which = 'busy'
!     want = 'bool'
  class _Prop_creation_date(aetools.NProperty):
!     """creation date - the date on which the item was created """
!     which = 'ascd'
!     want = '****'
  class _Prop_displayed_name(aetools.NProperty):
!     """displayed name - the name of the item as displayed in the User Interface """
!     which = 'dnam'
!     want = 'utxt'
  class _Prop_modification_date(aetools.NProperty):
!     """modification date - the date on which the item was last modified """
!     which = 'asmo'
!     want = '****'
  class _Prop_name(aetools.NProperty):
!     """name - the name of the item """
!     which = 'pnam'
!     want = 'utxt'
  class _Prop_name_extension(aetools.NProperty):
!     """name extension - the extension portion of the name """
!     which = 'extn'
!     want = 'utxt'
  class _Prop_package_folder(aetools.NProperty):
!     """package folder - Is the item a package? """
!     which = 'pkgf'
!     want = 'bool'
  class _Prop_path(aetools.NProperty):
!     """path - the file system path of the item """
!     which = 'ppth'
!     want = 'utxt'
  class _Prop_url(aetools.NProperty):
!     """url - the url of the item """
!     which = 'url '
!     want = 'utxt'
  class _Prop_visible(aetools.NProperty):
!     """visible - Is the item visible? """
!     which = 'pvis'
!     want = 'bool'
  class _Prop_volume(aetools.NProperty):
!     """volume - the volume on which the item resides """
!     which = 'volu'
!     want = 'utxt'
  
  items = item
  
  class file(aetools.ComponentItem):
!     """file - A file in the file system """
!     want = 'file'
  class _Prop_creator_type(aetools.NProperty):
!     """creator type - the OSType identifying the application that created the file """
!     which = 'fcrt'
!     want = 'utxt'
  class _Prop_file_type(aetools.NProperty):
!     """file type - the OSType identifying the type of data contained in the file """
!     which = 'asty'
!     want = 'utxt'
  class _Prop_physical_size(aetools.NProperty):
!     """physical size - the actual space used by the file on disk """
!     which = 'phys'
!     want = '****'
  class _Prop_product_version(aetools.NProperty):
!     """product version - the version of the product (visible at the top of the "Get Info" window) """
!     which = 'ver2'
!     want = 'utxt'
  class _Prop_size(aetools.NProperty):
!     """size - the logical size of the file """
!     which = 'ptsz'
!     want = '****'
  class _Prop_stationery(aetools.NProperty):
!     """stationery - Is the file a stationery pad? """
!     which = 'pspd'
!     want = 'bool'
  
  files = file
  alias._superclassnames = ['item']
  alias._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'properties' : _Prop_properties,
!     'version' : _Prop_version,
  }
  alias._privelemdict = {
!     'alias' : alias,
!     'file' : file,
!     'folder' : folder,
!     'item' : item,
  }
  disk._superclassnames = ['item']
  disk._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'capacity' : _Prop_capacity,
!     'ejectable' : _Prop_ejectable,
!     'format' : _Prop_format,
!     'free_space' : _Prop_free_space,
!     'ignore_privileges' : _Prop_ignore_privileges,
!     'local_volume' : _Prop_local_volume,
!     'properties' : _Prop_properties,
!     'startup' : _Prop_startup,
  }
  disk._privelemdict = {
!     'alias' : alias,
!     'file' : file,
!     'folder' : folder,
!     'item' : item,
  }
  folder._superclassnames = ['item']
  folder._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'properties' : _Prop_properties,
  }
  folder._privelemdict = {
!     'alias' : alias,
!     'file' : file,
!     'folder' : folder,
!     'item' : item,
  }
  item._superclassnames = []
  item._privpropdict = {
!     'POSIX_path' : _Prop_POSIX_path,
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'busy_status' : _Prop_busy_status,
!     'creation_date' : _Prop_creation_date,
!     'displayed_name' : _Prop_displayed_name,
!     'modification_date' : _Prop_modification_date,
!     'name' : _Prop_name,
!     'name_extension' : _Prop_name_extension,
!     'package_folder' : _Prop_package_folder,
!     'path' : _Prop_path,
!     'properties' : _Prop_properties,
!     'url' : _Prop_url,
!     'visible' : _Prop_visible,
!     'volume' : _Prop_volume,
  }
  item._privelemdict = {
***************
*** 255,286 ****
  file._superclassnames = ['item']
  file._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'creator_type' : _Prop_creator_type,
! 	'file_type' : _Prop_file_type,
! 	'physical_size' : _Prop_physical_size,
! 	'product_version' : _Prop_product_version,
! 	'properties' : _Prop_properties,
! 	'size' : _Prop_size,
! 	'stationery' : _Prop_stationery,
! 	'version' : _Prop_version,
  }
  file._privelemdict = {
  }
  _Enum_edfm = {
! 	'MS_2d_DOS_format' : 'dfms',	# MS-DOS format
! 	'Apple_Photo_format' : 'dfph',	# Apple Photo format
! 	'ISO_9660_format' : 'df96',	# ISO 9660 format
! 	'QuickTake_format' : 'dfqt',	# QuickTake format
! 	'AppleShare_format' : 'dfas',	# AppleShare format
! 	'High_Sierra_format' : 'dfhs',	# High Sierra format
! 	'Mac_OS_Extended_format' : 'dfh+',	# Mac OS Extended format
! 	'UDF_format' : 'dfud',	# UDF format
! 	'unknown_format' : 'df??',	# unknown format
! 	'audio_format' : 'dfau',	# audio format
! 	'Mac_OS_format' : 'dfhf',	# Mac OS format
! 	'UFS_format' : 'dfuf',	# UFS format
! 	'NFS_format' : 'dfnf',	# NFS format
! 	'ProDOS_format' : 'dfpr',	# ProDOS format
! 	'WebDAV_format' : 'dfwd',	# WebDAV format
  }
  
--- 255,286 ----
  file._superclassnames = ['item']
  file._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'creator_type' : _Prop_creator_type,
!     'file_type' : _Prop_file_type,
!     'physical_size' : _Prop_physical_size,
!     'product_version' : _Prop_product_version,
!     'properties' : _Prop_properties,
!     'size' : _Prop_size,
!     'stationery' : _Prop_stationery,
!     'version' : _Prop_version,
  }
  file._privelemdict = {
  }
  _Enum_edfm = {
!     'MS_2d_DOS_format' : 'dfms',	# MS-DOS format
!     'Apple_Photo_format' : 'dfph',	# Apple Photo format
!     'ISO_9660_format' : 'df96',	# ISO 9660 format
!     'QuickTake_format' : 'dfqt',	# QuickTake format
!     'AppleShare_format' : 'dfas',	# AppleShare format
!     'High_Sierra_format' : 'dfhs',	# High Sierra format
!     'Mac_OS_Extended_format' : 'dfh+',	# Mac OS Extended format
!     'UDF_format' : 'dfud',	# UDF format
!     'unknown_format' : 'df??',	# unknown format
!     'audio_format' : 'dfau',	# audio format
!     'Mac_OS_format' : 'dfhf',	# Mac OS format
!     'UFS_format' : 'dfuf',	# UFS format
!     'NFS_format' : 'dfnf',	# NFS format
!     'ProDOS_format' : 'dfpr',	# ProDOS format
!     'WebDAV_format' : 'dfwd',	# WebDAV format
  }
  
***************
*** 290,297 ****
  #
  _classdeclarations = {
! 	'alis' : alias,
! 	'cdis' : disk,
! 	'cfol' : folder,
! 	'cobj' : item,
! 	'file' : file,
  }
--- 290,335 ----
  #
  _classdeclarations = {
!     'alis' : alias,
!     'cdis' : disk,
!     'cfol' : folder,
!     'cobj' : item,
!     'file' : file,
! }
! 
! _propdeclarations = {
!     'ascd' : _Prop_creation_date,
!     'asmo' : _Prop_modification_date,
!     'asty' : _Prop_file_type,
!     'busy' : _Prop_busy_status,
!     'c@#^' : _Prop__3c_Inheritance_3e_,
!     'capa' : _Prop_capacity,
!     'dfmt' : _Prop_format,
!     'dnam' : _Prop_displayed_name,
!     'extn' : _Prop_name_extension,
!     'fcrt' : _Prop_creator_type,
!     'frsp' : _Prop_free_space,
!     'igpr' : _Prop_ignore_privileges,
!     'isej' : _Prop_ejectable,
!     'isrv' : _Prop_local_volume,
!     'istd' : _Prop_startup,
!     'pALL' : _Prop_properties,
!     'phys' : _Prop_physical_size,
!     'pkgf' : _Prop_package_folder,
!     'pnam' : _Prop_name,
!     'posx' : _Prop_POSIX_path,
!     'ppth' : _Prop_path,
!     'pspd' : _Prop_stationery,
!     'ptsz' : _Prop_size,
!     'pvis' : _Prop_visible,
!     'url ' : _Prop_url,
!     'ver2' : _Prop_product_version,
!     'vers' : _Prop_version,
!     'volu' : _Prop_volume,
! }
! 
! _compdeclarations = {
! }
! 
! _enumdeclarations = {
!     'edfm' : _Enum_edfm,
  }

Index: Folder_Actions_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Folder_Actions_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Folder_Actions_Suite.py	1 Apr 2003 22:05:02 -0000	1.2
--- Folder_Actions_Suite.py	12 Apr 2003 22:27:10 -0000	1.3
***************
*** 13,178 ****
  class Folder_Actions_Suite_Events:
  
! 	_argmap_attach_action_to = {
! 		'using' : 'faal',
! 	}
  
! 	def attach_action_to(self, _object, _attributes={}, **_arguments):
! 		"""attach action to: Attach an action to a folder
! 		Required argument: the object for the command
! 		Keyword argument using: a file containing the script to attach
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		Returns: the reply for the command
! 		"""
! 		_code = 'faco'
! 		_subcode = 'atfa'
  
! 		aetools.keysubst(_arguments, self._argmap_attach_action_to)
! 		_arguments['----'] = _object
  
  
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
  
! 	def attached_scripts(self, _object, _attributes={}, **_arguments):
! 		"""attached scripts: List the actions attached to a folder
! 		Required argument: the object for the command
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		Returns: the reply for the command
! 		"""
! 		_code = 'faco'
! 		_subcode = 'lact'
  
! 		if _arguments: raise TypeError, 'No optional args expected'
! 		_arguments['----'] = _object
  
  
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
  
! 	_argmap_do_folder_action = {
! 		'with_window_size' : 'fnsz',
! 		'with_item_list' : 'flst',
! 		'folder_action_code' : 'actn',
! 	}
  
! 	def do_folder_action(self, _object, _attributes={}, **_arguments):
! 		"""do folder action: Event the Finder sends to the Folder Actions FBA
! 		Required argument: the object for the command
! 		Keyword argument with_window_size: the new window size for the folder action message to process
! 		Keyword argument with_item_list: a list of items for the folder action message to process
! 		Keyword argument folder_action_code: the folder action message to process
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		Returns: the reply for the command
! 		"""
! 		_code = 'faco'
! 		_subcode = 'fola'
  
! 		aetools.keysubst(_arguments, self._argmap_do_folder_action)
! 		_arguments['----'] = _object
  
! 		aetools.enumsubst(_arguments, 'actn', _Enum_actn)
  
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
  
! 	_argmap_edit_action_of = {
! 		'using_action_name' : 'snam',
! 		'using_action_number' : 'indx',
! 	}
  
! 	def edit_action_of(self, _object, _attributes={}, **_arguments):
! 		"""edit action of: Edit as action of a folder
! 		Required argument: the object for the command
! 		Keyword argument using_action_name: ...or the name of the action to edit
! 		Keyword argument using_action_number: the index number of the action to edit...
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		Returns: the reply for the command
! 		"""
! 		_code = 'faco'
! 		_subcode = 'edfa'
  
! 		aetools.keysubst(_arguments, self._argmap_edit_action_of)
! 		_arguments['----'] = _object
  
  
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
  
! 	_argmap_remove_action_from = {
! 		'using_action_name' : 'snam',
! 		'using_action_number' : 'indx',
! 	}
  
! 	def remove_action_from(self, _object, _attributes={}, **_arguments):
! 		"""remove action from: Remove a folder action from a folder
! 		Required argument: the object for the command
! 		Keyword argument using_action_name: ...or the name of the action to remove
! 		Keyword argument using_action_number: the index number of the action to remove...
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		Returns: the reply for the command
! 		"""
! 		_code = 'faco'
! 		_subcode = 'rmfa'
  
! 		aetools.keysubst(_arguments, self._argmap_remove_action_from)
! 		_arguments['----'] = _object
  
  
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
  
  
  class folder_action(aetools.ComponentItem):
! 	"""folder action - An action attached to a folder in the file system """
! 	want = 'foac'
  class _Prop__3c_Inheritance_3e_(aetools.NProperty):
! 	"""<Inheritance> - All of the properties of the superclass. """
! 	which = 'c@#^'
! 	want = 'cobj'
  class _Prop_enabled(aetools.NProperty):
! 	"""enabled - Is the folder action enabled? """
! 	which = 'enaB'
! 	want = 'bool'
  class _Prop_name(aetools.NProperty):
! 	"""name - the name of the folder action, which is also the name of the folder """
! 	which = 'pnam'
! 	want = 'utxt'
  class _Prop_path(aetools.NProperty):
! 	"""path - the path to the folder to which the folder action applies """
! 	which = 'ppth'
! 	want = '****'
  class _Prop_properties(aetools.NProperty):
! 	"""properties - every property of the folder action """
! 	which = 'pALL'
! 	want = '****'
  class _Prop_volume(aetools.NProperty):
! 	"""volume - the volume on which the folder action resides """
! 	which = 'volu'
! 	want = 'utxt'
  #        element 'scpt' as ['name', 'indx', 'rele', 'rang', 'test']
  
--- 13,178 ----
  class Folder_Actions_Suite_Events:
  
!     _argmap_attach_action_to = {
!         'using' : 'faal',
!     }
  
!     def attach_action_to(self, _object, _attributes={}, **_arguments):
!         """attach action to: Attach an action to a folder
!         Required argument: the object for the command
!         Keyword argument using: a file containing the script to attach
!         Keyword argument _attributes: AppleEvent attribute dictionary
!         Returns: the reply for the command
!         """
!         _code = 'faco'
!         _subcode = 'atfa'
  
!         aetools.keysubst(_arguments, self._argmap_attach_action_to)
!         _arguments['----'] = _object
  
  
!         _reply, _arguments, _attributes = self.send(_code, _subcode,
!                 _arguments, _attributes)
!         if _arguments.get('errn', 0):
!             raise aetools.Error, aetools.decodeerror(_arguments)
!         # XXXX Optionally decode result
!         if _arguments.has_key('----'):
!             return _arguments['----']
  
!     def attached_scripts(self, _object, _attributes={}, **_arguments):
!         """attached scripts: List the actions attached to a folder
!         Required argument: the object for the command
!         Keyword argument _attributes: AppleEvent attribute dictionary
!         Returns: the reply for the command
!         """
!         _code = 'faco'
!         _subcode = 'lact'
  
!         if _arguments: raise TypeError, 'No optional args expected'
!         _arguments['----'] = _object
  
  
!         _reply, _arguments, _attributes = self.send(_code, _subcode,
!                 _arguments, _attributes)
!         if _arguments.get('errn', 0):
!             raise aetools.Error, aetools.decodeerror(_arguments)
!         # XXXX Optionally decode result
!         if _arguments.has_key('----'):
!             return _arguments['----']
  
!     _argmap_do_folder_action = {
!         'with_window_size' : 'fnsz',
!         'with_item_list' : 'flst',
!         'folder_action_code' : 'actn',
!     }
  
!     def do_folder_action(self, _object, _attributes={}, **_arguments):
!         """do folder action: Event the Finder sends to the Folder Actions FBA
!         Required argument: the object for the command
!         Keyword argument with_window_size: the new window size for the folder action message to process
!         Keyword argument with_item_list: a list of items for the folder action message to process
!         Keyword argument folder_action_code: the folder action message to process
!         Keyword argument _attributes: AppleEvent attribute dictionary
!         Returns: the reply for the command
!         """
!         _code = 'faco'
!         _subcode = 'fola'
  
!         aetools.keysubst(_arguments, self._argmap_do_folder_action)
!         _arguments['----'] = _object
  
!         aetools.enumsubst(_arguments, 'actn', _Enum_actn)
  
!         _reply, _arguments, _attributes = self.send(_code, _subcode,
!                 _arguments, _attributes)
!         if _arguments.get('errn', 0):
!             raise aetools.Error, aetools.decodeerror(_arguments)
!         # XXXX Optionally decode result
!         if _arguments.has_key('----'):
!             return _arguments['----']
  
!     _argmap_edit_action_of = {
!         'using_action_name' : 'snam',
!         'using_action_number' : 'indx',
!     }
  
!     def edit_action_of(self, _object, _attributes={}, **_arguments):
!         """edit action of: Edit as action of a folder
!         Required argument: the object for the command
!         Keyword argument using_action_name: ...or the name of the action to edit
!         Keyword argument using_action_number: the index number of the action to edit...
!         Keyword argument _attributes: AppleEvent attribute dictionary
!         Returns: the reply for the command
!         """
!         _code = 'faco'
!         _subcode = 'edfa'
  
!         aetools.keysubst(_arguments, self._argmap_edit_action_of)
!         _arguments['----'] = _object
  
  
!         _reply, _arguments, _attributes = self.send(_code, _subcode,
!                 _arguments, _attributes)
!         if _arguments.get('errn', 0):
!             raise aetools.Error, aetools.decodeerror(_arguments)
!         # XXXX Optionally decode result
!         if _arguments.has_key('----'):
!             return _arguments['----']
  
!     _argmap_remove_action_from = {
!         'using_action_name' : 'snam',
!         'using_action_number' : 'indx',
!     }
  
!     def remove_action_from(self, _object, _attributes={}, **_arguments):
!         """remove action from: Remove a folder action from a folder
!         Required argument: the object for the command
!         Keyword argument using_action_name: ...or the name of the action to remove
!         Keyword argument using_action_number: the index number of the action to remove...
!         Keyword argument _attributes: AppleEvent attribute dictionary
!         Returns: the reply for the command
!         """
!         _code = 'faco'
!         _subcode = 'rmfa'
  
!         aetools.keysubst(_arguments, self._argmap_remove_action_from)
!         _arguments['----'] = _object
  
  
!         _reply, _arguments, _attributes = self.send(_code, _subcode,
!                 _arguments, _attributes)
!         if _arguments.get('errn', 0):
!             raise aetools.Error, aetools.decodeerror(_arguments)
!         # XXXX Optionally decode result
!         if _arguments.has_key('----'):
!             return _arguments['----']
  
  
  class folder_action(aetools.ComponentItem):
!     """folder action - An action attached to a folder in the file system """
!     want = 'foac'
  class _Prop__3c_Inheritance_3e_(aetools.NProperty):
!     """<Inheritance> - All of the properties of the superclass. """
!     which = 'c@#^'
!     want = 'cobj'
  class _Prop_enabled(aetools.NProperty):
!     """enabled - Is the folder action enabled? """
!     which = 'enaB'
!     want = 'bool'
  class _Prop_name(aetools.NProperty):
!     """name - the name of the folder action, which is also the name of the folder """
!     which = 'pnam'
!     want = 'utxt'
  class _Prop_path(aetools.NProperty):
!     """path - the path to the folder to which the folder action applies """
!     which = 'ppth'
!     want = '****'
  class _Prop_properties(aetools.NProperty):
!     """properties - every property of the folder action """
!     which = 'pALL'
!     want = '****'
  class _Prop_volume(aetools.NProperty):
!     """volume - the volume on which the folder action resides """
!     which = 'volu'
!     want = 'utxt'
  #        element 'scpt' as ['name', 'indx', 'rele', 'rang', 'test']
  
***************
*** 180,189 ****
  
  class script(aetools.ComponentItem):
! 	"""script - A script invoked by a folder action """
! 	want = 'scpt'
  class _Prop_POSIX_path(aetools.NProperty):
! 	"""POSIX path - the POSIX file system path of the disk """
! 	which = 'posx'
! 	want = 'utxt'
  
  scripts = script
--- 180,189 ----
  
  class script(aetools.ComponentItem):
!     """script - A script invoked by a folder action """
!     want = 'scpt'
  class _Prop_POSIX_path(aetools.NProperty):
!     """POSIX path - the POSIX file system path of the disk """
!     which = 'posx'
!     want = 'utxt'
  
  scripts = script
***************
*** 191,220 ****
  folder_action._superclassnames = ['item']
  folder_action._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'enabled' : _Prop_enabled,
! 	'name' : _Prop_name,
! 	'path' : _Prop_path,
! 	'properties' : _Prop_properties,
! 	'volume' : _Prop_volume,
  }
  folder_action._privelemdict = {
! 	'script' : script,
  }
  script._superclassnames = ['item']
  script._privpropdict = {
! 	'POSIX_path' : _Prop_POSIX_path,
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'name' : _Prop_name,
! 	'path' : _Prop_path,
! 	'properties' : _Prop_properties,
  }
  script._privelemdict = {
  }
  _Enum_actn = {
! 	'items_added' : 'fget',	# items added
! 	'items_removed' : 'flos',	# items removed
! 	'window_closed' : 'fclo',	# window closed
! 	'window_moved' : 'fsiz',	# window moved
! 	'window_opened' : 'fopn',	# window opened
  }
  
--- 191,220 ----
  folder_action._superclassnames = ['item']
  folder_action._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'enabled' : _Prop_enabled,
!     'name' : _Prop_name,
!     'path' : _Prop_path,
!     'properties' : _Prop_properties,
!     'volume' : _Prop_volume,
  }
  folder_action._privelemdict = {
!     'script' : script,
  }
  script._superclassnames = ['item']
  script._privpropdict = {
!     'POSIX_path' : _Prop_POSIX_path,
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'name' : _Prop_name,
!     'path' : _Prop_path,
!     'properties' : _Prop_properties,
  }
  script._privelemdict = {
  }
  _Enum_actn = {
!     'items_added' : 'fget',	# items added
!     'items_removed' : 'flos',	# items removed
!     'window_closed' : 'fclo',	# window closed
!     'window_moved' : 'fsiz',	# window moved
!     'window_opened' : 'fopn',	# window opened
  }
  
***************
*** 224,228 ****
  #
  _classdeclarations = {
! 	'foac' : folder_action,
! 	'scpt' : script,
  }
--- 224,245 ----
  #
  _classdeclarations = {
!     'foac' : folder_action,
!     'scpt' : script,
! }
! 
! _propdeclarations = {
!     'c@#^' : _Prop__3c_Inheritance_3e_,
!     'enaB' : _Prop_enabled,
!     'pALL' : _Prop_properties,
!     'pnam' : _Prop_name,
!     'posx' : _Prop_POSIX_path,
!     'ppth' : _Prop_path,
!     'volu' : _Prop_volume,
! }
! 
! _compdeclarations = {
! }
! 
! _enumdeclarations = {
!     'actn' : _Enum_actn,
  }

Index: Hidden_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Hidden_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Hidden_Suite.py	1 Apr 2003 22:05:03 -0000	1.2
--- Hidden_Suite.py	12 Apr 2003 22:27:10 -0000	1.3
***************
*** 14,36 ****
  class Hidden_Suite_Events(Type_Names_Suite_Events):
  
! 	def do_script(self, _object, _attributes={}, **_arguments):
! 		"""do script: Execute an OSA script.
! 		Required argument: the object for the command
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		"""
! 		_code = 'misc'
! 		_subcode = 'dosc'
  
! 		if _arguments: raise TypeError, 'No optional args expected'
! 		_arguments['----'] = _object
  
  
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
  
  
--- 14,36 ----
  class Hidden_Suite_Events(Type_Names_Suite_Events):
  
!     def do_script(self, _object, _attributes={}, **_arguments):
!         """do script: Execute an OSA script.
!         Required argument: the object for the command
!         Keyword argument _attributes: AppleEvent attribute dictionary
!         """
!         _code = 'misc'
!         _subcode = 'dosc'
  
!         if _arguments: raise TypeError, 'No optional args expected'
!         _arguments['----'] = _object
  
  
!         _reply, _arguments, _attributes = self.send(_code, _subcode,
!                 _arguments, _attributes)
!         if _arguments.get('errn', 0):
!             raise aetools.Error, aetools.decodeerror(_arguments)
!         # XXXX Optionally decode result
!         if _arguments.has_key('----'):
!             return _arguments['----']
  
  
***************
*** 39,41 ****
--- 39,50 ----
  #
  _classdeclarations = {
+ }
+ 
+ _propdeclarations = {
+ }
+ 
+ _compdeclarations = {
+ }
+ 
+ _enumdeclarations = {
  }

Index: Login_Items_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Login_Items_Suite.py	1 Apr 2003 22:05:03 -0000	1.2
--- Login_Items_Suite.py	12 Apr 2003 22:27:10 -0000	1.3
***************
*** 13,42 ****
  class Login_Items_Suite_Events:
  
! 	pass
  
  
  class login_item(aetools.ComponentItem):
! 	"""login item - an item to be launched or opened at login """
! 	want = 'logi'
  class _Prop__3c_Inheritance_3e_(aetools.NProperty):
! 	"""<Inheritance> - All of the properties of the superclass. """
! 	which = 'c@#^'
! 	want = 'cobj'
  class _Prop_hidden(aetools.NProperty):
! 	"""hidden - Is the Login Item hidden when launched? """
! 	which = 'hidn'
! 	want = 'bool'
  class _Prop_kind(aetools.NProperty):
! 	"""kind - the file type of the Login Item """
! 	which = 'kind'
! 	want = 'utxt'
  class _Prop_name(aetools.NProperty):
! 	"""name - the name of the Login Item """
! 	which = 'pnam'
! 	want = 'utxt'
  class _Prop_path(aetools.NProperty):
! 	"""path - the file system path to the Login Item """
! 	which = 'ppth'
! 	want = 'utxt'
  
  login_items = login_item
--- 13,42 ----
  class Login_Items_Suite_Events:
  
!     pass
  
  
  class login_item(aetools.ComponentItem):
!     """login item - an item to be launched or opened at login """
!     want = 'logi'
  class _Prop__3c_Inheritance_3e_(aetools.NProperty):
!     """<Inheritance> - All of the properties of the superclass. """
!     which = 'c@#^'
!     want = 'cobj'
  class _Prop_hidden(aetools.NProperty):
!     """hidden - Is the Login Item hidden when launched? """
!     which = 'hidn'
!     want = 'bool'
  class _Prop_kind(aetools.NProperty):
!     """kind - the file type of the Login Item """
!     which = 'kind'
!     want = 'utxt'
  class _Prop_name(aetools.NProperty):
!     """name - the name of the Login Item """
!     which = 'pnam'
!     want = 'utxt'
  class _Prop_path(aetools.NProperty):
!     """path - the file system path to the Login Item """
!     which = 'ppth'
!     want = 'utxt'
  
  login_items = login_item
***************
*** 44,52 ****
  login_item._superclassnames = ['item']
  login_item._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'hidden' : _Prop_hidden,
! 	'kind' : _Prop_kind,
! 	'name' : _Prop_name,
! 	'path' : _Prop_path,
  }
  login_item._privelemdict = {
--- 44,52 ----
  login_item._superclassnames = ['item']
  login_item._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'hidden' : _Prop_hidden,
!     'kind' : _Prop_kind,
!     'name' : _Prop_name,
!     'path' : _Prop_path,
  }
  login_item._privelemdict = {
***************
*** 57,60 ****
  #
  _classdeclarations = {
! 	'logi' : login_item,
  }
--- 57,74 ----
  #
  _classdeclarations = {
!     'logi' : login_item,
! }
! 
! _propdeclarations = {
!     'c@#^' : _Prop__3c_Inheritance_3e_,
!     'hidn' : _Prop_hidden,
!     'kind' : _Prop_kind,
!     'pnam' : _Prop_name,
!     'ppth' : _Prop_path,
! }
! 
! _compdeclarations = {
! }
! 
! _enumdeclarations = {
  }

Index: Power_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Power_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Power_Suite.py	1 Apr 2003 22:05:05 -0000	1.2
--- Power_Suite.py	12 Apr 2003 22:27:10 -0000	1.3
***************
*** 13,75 ****
  class Power_Suite_Events:
  
! 	def restart(self, _object, _attributes={}, **_arguments):
! 		"""restart: Restart the computer
! 		Required argument: the object for the command
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		"""
! 		_code = 'fndr'
! 		_subcode = 'rest'
  
! 		if _arguments: raise TypeError, 'No optional args expected'
! 		_arguments['----'] = _object
  
  
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
  
! 	def shut_down(self, _object, _attributes={}, **_arguments):
! 		"""shut down: Shut Down the computer
! 		Required argument: the object for the command
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		"""
! 		_code = 'fndr'
! 		_subcode = 'shut'
  
! 		if _arguments: raise TypeError, 'No optional args expected'
! 		_arguments['----'] = _object
  
  
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
  
! 	def sleep(self, _object, _attributes={}, **_arguments):
! 		"""sleep: Put the computer to sleep
! 		Required argument: the object for the command
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		"""
! 		_code = 'fndr'
! 		_subcode = 'slep'
  
! 		if _arguments: raise TypeError, 'No optional args expected'
! 		_arguments['----'] = _object
  
  
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
  
  
--- 13,75 ----
  class Power_Suite_Events:
  
!     def restart(self, _object, _attributes={}, **_arguments):
!         """restart: Restart the computer
!         Required argument: the object for the command
!         Keyword argument _attributes: AppleEvent attribute dictionary
!         """
!         _code = 'fndr'
!         _subcode = 'rest'
  
!         if _arguments: raise TypeError, 'No optional args expected'
!         _arguments['----'] = _object
  
  
!         _reply, _arguments, _attributes = self.send(_code, _subcode,
!                 _arguments, _attributes)
!         if _arguments.get('errn', 0):
!             raise aetools.Error, aetools.decodeerror(_arguments)
!         # XXXX Optionally decode result
!         if _arguments.has_key('----'):
!             return _arguments['----']
  
!     def shut_down(self, _object, _attributes={}, **_arguments):
!         """shut down: Shut Down the computer
!         Required argument: the object for the command
!         Keyword argument _attributes: AppleEvent attribute dictionary
!         """
!         _code = 'fndr'
!         _subcode = 'shut'
  
!         if _arguments: raise TypeError, 'No optional args expected'
!         _arguments['----'] = _object
  
  
!         _reply, _arguments, _attributes = self.send(_code, _subcode,
!                 _arguments, _attributes)
!         if _arguments.get('errn', 0):
!             raise aetools.Error, aetools.decodeerror(_arguments)
!         # XXXX Optionally decode result
!         if _arguments.has_key('----'):
!             return _arguments['----']
  
!     def sleep(self, _object, _attributes={}, **_arguments):
!         """sleep: Put the computer to sleep
!         Required argument: the object for the command
!         Keyword argument _attributes: AppleEvent attribute dictionary
!         """
!         _code = 'fndr'
!         _subcode = 'slep'
  
!         if _arguments: raise TypeError, 'No optional args expected'
!         _arguments['----'] = _object
  
  
!         _reply, _arguments, _attributes = self.send(_code, _subcode,
!                 _arguments, _attributes)
!         if _arguments.get('errn', 0):
!             raise aetools.Error, aetools.decodeerror(_arguments)
!         # XXXX Optionally decode result
!         if _arguments.has_key('----'):
!             return _arguments['----']
  
  
***************
*** 78,80 ****
--- 78,89 ----
  #
  _classdeclarations = {
+ }
+ 
+ _propdeclarations = {
+ }
+ 
+ _compdeclarations = {
+ }
+ 
+ _enumdeclarations = {
  }

Index: Processes_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Processes_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Processes_Suite.py	1 Apr 2003 22:05:06 -0000	1.2
--- Processes_Suite.py	12 Apr 2003 22:27:10 -0000	1.3
***************
*** 13,235 ****
  class Processes_Suite_Events:
  
! 	def cancel(self, _object, _attributes={}, **_arguments):
! 		"""cancel: cause the target process to behave as if the UI element were cancelled
! 		Required argument: the object for the command
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		"""
! 		_code = 'prcs'
! 		_subcode = 'cncl'
  
[...5777 lines suppressed...]
!     'pnam' : _Prop_name,
!     'posn' : _Prop_position,
!     'ptsz' : _Prop_size,
!     'pusd' : _Prop_partition_space_used,
!     'pvis' : _Prop_visible,
!     'revt' : _Prop_accepts_remote_events,
!     'role' : _Prop_role,
!     'sbrl' : _Prop_subrole,
!     'selE' : _Prop_selected,
!     'titl' : _Prop_title,
!     'valu' : _Prop_value,
! }
! 
! _compdeclarations = {
! }
! 
! _enumdeclarations = {
!     'eMds' : _Enum_eMds,
!     'eMky' : _Enum_eMky,
  }

Index: Standard_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Standard_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Standard_Suite.py	1 Apr 2003 22:05:09 -0000	1.2
--- Standard_Suite.py	12 Apr 2003 22:27:10 -0000	1.3
***************
*** 13,353 ****
  class Standard_Suite_Events:
  
! 	_argmap_close = {
! 		'saving_in' : 'kfil',
! 		'saving' : 'savo',
! 	}
  
! 	def close(self, _object, _attributes={}, **_arguments):
! 		"""close: Close an object.
! 		Required argument: the object for the command
[...1062 lines suppressed...]
!     'ptit' : _Prop_titled,
!     'pvis' : _Prop_visible,
!     'pzum' : _Prop_zoomed,
!     'vers' : _Prop_version,
! }
! 
! _compdeclarations = {
!     '<   ' : _3c_,
!     '<=  ' : _b2_,
!     '=   ' : _3d_,
!     '>   ' : _3e_,
!     '>=  ' : _b3_,
!     'bgwt' : starts_with,
!     'cont' : contains,
!     'ends' : ends_with,
! }
! 
! _enumdeclarations = {
!     'savo' : _Enum_savo,
  }

Index: System_Events_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/System_Events_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** System_Events_Suite.py	1 Apr 2003 22:05:09 -0000	1.2
--- System_Events_Suite.py	12 Apr 2003 22:27:10 -0000	1.3
***************
*** 13,38 ****
  class System_Events_Suite_Events:
  
! 	pass
  
  
  class application(aetools.ComponentItem):
! 	"""application - The System Events application """
! 	want = 'capp'
  class _Prop__3c_Inheritance_3e_(aetools.NProperty):
! 	"""<Inheritance> - All of the properties of the superclass. """
! 	which = 'c@#^'
! 	want = 'capp'
  class _Prop_folder_actions_enabled(aetools.NProperty):
! 	"""folder actions enabled - Are Folder Actions currently being processed? """
! 	which = 'faen'
! 	want = 'bool'
  class _Prop_properties(aetools.NProperty):
! 	"""properties - every property of the System Events application """
! 	which = 'pALL'
! 	want = '****'
  class _Prop_system_wide_UI_element(aetools.NProperty):
! 	"""system wide UI element - the UI element for the entire system """
! 	which = 'swui'
! 	want = 'uiel'
  #        element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
  #        element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test']
--- 13,38 ----
  class System_Events_Suite_Events:
  
!     pass
  
  
  class application(aetools.ComponentItem):
!     """application - The System Events application """
!     want = 'capp'
  class _Prop__3c_Inheritance_3e_(aetools.NProperty):
!     """<Inheritance> - All of the properties of the superclass. """
!     which = 'c@#^'
!     want = 'capp'
  class _Prop_folder_actions_enabled(aetools.NProperty):
!     """folder actions enabled - Are Folder Actions currently being processed? """
!     which = 'faen'
!     want = 'bool'
  class _Prop_properties(aetools.NProperty):
!     """properties - every property of the System Events application """
!     which = 'pALL'
!     want = '****'
  class _Prop_system_wide_UI_element(aetools.NProperty):
!     """system wide UI element - the UI element for the entire system """
!     which = 'swui'
!     want = 'uiel'
  #        element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
  #        element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test']
***************
*** 57,79 ****
  import Processes_Suite
  application._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'folder_actions_enabled' : _Prop_folder_actions_enabled,
! 	'properties' : _Prop_properties,
! 	'system_wide_UI_element' : _Prop_system_wide_UI_element,
  }
  application._privelemdict = {
! 	'UI_element' : Processes_Suite.UI_element,
! 	'alias' : Disk_2d_Folder_2d_File_Suite.alias,
! 	'application_process' : Processes_Suite.application_process,
! 	'desk_accessory_process' : Processes_Suite.desk_accessory_process,
! 	'disk' : Disk_2d_Folder_2d_File_Suite.disk,
! 	'document' : Standard_Suite.document,
! 	'file' : Disk_2d_Folder_2d_File_Suite.file,
! 	'folder' : Disk_2d_Folder_2d_File_Suite.folder,
! 	'folder_action' : Folder_Actions_Suite.folder_action,
! 	'item' : Disk_2d_Folder_2d_File_Suite.item,
! 	'login_item' : Login_Items_Suite.login_item,
! 	'process' : Processes_Suite.process,
! 	'window' : Standard_Suite.window,
  }
  
--- 57,79 ----
  import Processes_Suite
  application._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'folder_actions_enabled' : _Prop_folder_actions_enabled,
!     'properties' : _Prop_properties,
!     'system_wide_UI_element' : _Prop_system_wide_UI_element,
  }
  application._privelemdict = {
!     'UI_element' : Processes_Suite.UI_element,
!     'alias' : Disk_2d_Folder_2d_File_Suite.alias,
!     'application_process' : Processes_Suite.application_process,
!     'desk_accessory_process' : Processes_Suite.desk_accessory_process,
!     'disk' : Disk_2d_Folder_2d_File_Suite.disk,
!     'document' : Standard_Suite.document,
!     'file' : Disk_2d_Folder_2d_File_Suite.file,
!     'folder' : Disk_2d_Folder_2d_File_Suite.folder,
!     'folder_action' : Folder_Actions_Suite.folder_action,
!     'item' : Disk_2d_Folder_2d_File_Suite.item,
!     'login_item' : Login_Items_Suite.login_item,
!     'process' : Processes_Suite.process,
!     'window' : Standard_Suite.window,
  }
  
***************
*** 82,85 ****
  #
  _classdeclarations = {
! 	'capp' : application,
  }
--- 82,98 ----
  #
  _classdeclarations = {
!     'capp' : application,
! }
! 
! _propdeclarations = {
!     'c@#^' : _Prop__3c_Inheritance_3e_,
!     'faen' : _Prop_folder_actions_enabled,
!     'pALL' : _Prop_properties,
!     'swui' : _Prop_system_wide_UI_element,
! }
! 
! _compdeclarations = {
! }
! 
! _enumdeclarations = {
  }

Index: Text_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Text_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Text_Suite.py	1 Apr 2003 22:05:09 -0000	1.2
--- Text_Suite.py	12 Apr 2003 22:27:10 -0000	1.3
***************
*** 13,30 ****
  class Text_Suite_Events:
  
! 	pass
  
  
  class attachment(aetools.ComponentItem):
! 	"""attachment - Represents an inline text attachment.  This class is used mainly for make commands. """
! 	want = 'atts'
  class _Prop__3c_Inheritance_3e_(aetools.NProperty):
! 	"""<Inheritance> - All of the properties of the superclass. """
! 	which = 'c@#^'
! 	want = 'ctxt'
  class _Prop_file_name(aetools.NProperty):
! 	"""file name - The path to the file for the attachment """
! 	which = 'atfn'
! 	want = 'utxt'
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
--- 13,30 ----
  class Text_Suite_Events:
  
!     pass
  
  
  class attachment(aetools.ComponentItem):
!     """attachment - Represents an inline text attachment.  This class is used mainly for make commands. """
!     want = 'atts'
  class _Prop__3c_Inheritance_3e_(aetools.NProperty):
!     """<Inheritance> - All of the properties of the superclass. """
!     which = 'c@#^'
!     want = 'ctxt'
  class _Prop_file_name(aetools.NProperty):
!     """file name - The path to the file for the attachment """
!     which = 'atfn'
!     want = 'utxt'
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
***************
*** 33,50 ****
  
  class attribute_run(aetools.ComponentItem):
! 	"""attribute run - This subdivides the text into chunks that all have the same attributes. """
! 	want = 'catr'
  class _Prop_color(aetools.NProperty):
! 	"""color - The color of the first character. """
! 	which = 'colr'
! 	want = 'colr'
  class _Prop_font(aetools.NProperty):
! 	"""font - The name of the font of the first character. """
! 	which = 'font'
! 	want = 'utxt'
  class _Prop_size(aetools.NProperty):
! 	"""size - The size in points of the first character. """
! 	which = 'ptsz'
! 	want = 'long'
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
--- 33,50 ----
  
  class attribute_run(aetools.ComponentItem):
!     """attribute run - This subdivides the text into chunks that all have the same attributes. """
!     want = 'catr'
  class _Prop_color(aetools.NProperty):
!     """color - The color of the first character. """
!     which = 'colr'
!     want = 'colr'
  class _Prop_font(aetools.NProperty):
!     """font - The name of the font of the first character. """
!     which = 'font'
!     want = 'utxt'
  class _Prop_size(aetools.NProperty):
!     """size - The size in points of the first character. """
!     which = 'ptsz'
!     want = 'long'
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
***************
*** 55,60 ****
  
  class character(aetools.ComponentItem):
! 	"""character - This subdivides the text into characters. """
! 	want = 'cha '
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
--- 55,60 ----
  
  class character(aetools.ComponentItem):
!     """character - This subdivides the text into characters. """
!     want = 'cha '
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
***************
*** 65,70 ****
  
  class paragraph(aetools.ComponentItem):
! 	"""paragraph - This subdivides the text into paragraphs. """
! 	want = 'cpar'
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
--- 65,70 ----
  
  class paragraph(aetools.ComponentItem):
!     """paragraph - This subdivides the text into paragraphs. """
!     want = 'cpar'
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
***************
*** 75,80 ****
  
  class text(aetools.ComponentItem):
! 	"""text - Rich (styled) text """
! 	want = 'ctxt'
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
--- 75,80 ----
  
  class text(aetools.ComponentItem):
!     """text - Rich (styled) text """
!     want = 'ctxt'
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
***************
*** 83,88 ****
  
  class word(aetools.ComponentItem):
! 	"""word - This subdivides the text into words. """
! 	want = 'cwor'
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
--- 83,88 ----
  
  class word(aetools.ComponentItem):
!     """word - This subdivides the text into words. """
!     want = 'cwor'
  #        element 'catr' as ['indx', 'rele', 'rang', 'test']
  #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
***************
*** 93,170 ****
  attachment._superclassnames = ['text']
  attachment._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'file_name' : _Prop_file_name,
  }
  attachment._privelemdict = {
! 	'attribute_run' : attribute_run,
! 	'character' : character,
! 	'paragraph' : paragraph,
! 	'word' : word,
  }
  import Standard_Suite
  attribute_run._superclassnames = ['item']
  attribute_run._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'color' : _Prop_color,
! 	'font' : _Prop_font,
! 	'size' : _Prop_size,
  }
  attribute_run._privelemdict = {
! 	'attribute_run' : attribute_run,
! 	'character' : character,
! 	'paragraph' : paragraph,
! 	'word' : word,
  }
  character._superclassnames = ['item']
  character._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'color' : _Prop_color,
! 	'font' : _Prop_font,
! 	'size' : _Prop_size,
  }
  character._privelemdict = {
! 	'attribute_run' : attribute_run,
! 	'character' : character,
! 	'paragraph' : paragraph,
! 	'word' : word,
  }
  paragraph._superclassnames = ['item']
  paragraph._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'color' : _Prop_color,
! 	'font' : _Prop_font,
! 	'size' : _Prop_size,
  }
  paragraph._privelemdict = {
! 	'attribute_run' : attribute_run,
! 	'character' : character,
! 	'paragraph' : paragraph,
! 	'word' : word,
  }
  text._superclassnames = ['item']
  text._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'color' : _Prop_color,
! 	'font' : _Prop_font,
! 	'size' : _Prop_size,
  }
  text._privelemdict = {
! 	'attribute_run' : attribute_run,
! 	'character' : character,
! 	'paragraph' : paragraph,
! 	'word' : word,
  }
  word._superclassnames = ['item']
  word._privpropdict = {
! 	'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
! 	'color' : _Prop_color,
! 	'font' : _Prop_font,
! 	'size' : _Prop_size,
  }
  word._privelemdict = {
! 	'attribute_run' : attribute_run,
! 	'character' : character,
! 	'paragraph' : paragraph,
! 	'word' : word,
  }
  
--- 93,170 ----
  attachment._superclassnames = ['text']
  attachment._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'file_name' : _Prop_file_name,
  }
  attachment._privelemdict = {
!     'attribute_run' : attribute_run,
!     'character' : character,
!     'paragraph' : paragraph,
!     'word' : word,
  }
  import Standard_Suite
  attribute_run._superclassnames = ['item']
  attribute_run._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'color' : _Prop_color,
!     'font' : _Prop_font,
!     'size' : _Prop_size,
  }
  attribute_run._privelemdict = {
!     'attribute_run' : attribute_run,
!     'character' : character,
!     'paragraph' : paragraph,
!     'word' : word,
  }
  character._superclassnames = ['item']
  character._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'color' : _Prop_color,
!     'font' : _Prop_font,
!     'size' : _Prop_size,
  }
  character._privelemdict = {
!     'attribute_run' : attribute_run,
!     'character' : character,
!     'paragraph' : paragraph,
!     'word' : word,
  }
  paragraph._superclassnames = ['item']
  paragraph._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'color' : _Prop_color,
!     'font' : _Prop_font,
!     'size' : _Prop_size,
  }
  paragraph._privelemdict = {
!     'attribute_run' : attribute_run,
!     'character' : character,
!     'paragraph' : paragraph,
!     'word' : word,
  }
  text._superclassnames = ['item']
  text._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'color' : _Prop_color,
!     'font' : _Prop_font,
!     'size' : _Prop_size,
  }
  text._privelemdict = {
!     'attribute_run' : attribute_run,
!     'character' : character,
!     'paragraph' : paragraph,
!     'word' : word,
  }
  word._superclassnames = ['item']
  word._privpropdict = {
!     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
!     'color' : _Prop_color,
!     'font' : _Prop_font,
!     'size' : _Prop_size,
  }
  word._privelemdict = {
!     'attribute_run' : attribute_run,
!     'character' : character,
!     'paragraph' : paragraph,
!     'word' : word,
  }
  
***************
*** 173,181 ****
  #
  _classdeclarations = {
! 	'atts' : attachment,
! 	'catr' : attribute_run,
! 	'cha ' : character,
! 	'cpar' : paragraph,
! 	'ctxt' : text,
! 	'cwor' : word,
  }
--- 173,195 ----
  #
  _classdeclarations = {
!     'atts' : attachment,
!     'catr' : attribute_run,
!     'cha ' : character,
!     'cpar' : paragraph,
!     'ctxt' : text,
!     'cwor' : word,
! }
! 
! _propdeclarations = {
!     'atfn' : _Prop_file_name,
!     'c@#^' : _Prop__3c_Inheritance_3e_,
!     'colr' : _Prop_color,
!     'font' : _Prop_font,
!     'ptsz' : _Prop_size,
! }
! 
! _compdeclarations = {
! }
! 
! _enumdeclarations = {
  }

Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/__init__.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** __init__.py	1 Apr 2003 22:05:09 -0000	1.2
--- __init__.py	12 Apr 2003 22:27:10 -0000	1.3
***************
*** 16,28 ****
  
  _code_to_module = {
! 	'????' : Standard_Suite,
! 	'????' : Text_Suite,
! 	'cdis' : Disk_2d_Folder_2d_File_Suite,
! 	'faco' : Folder_Actions_Suite,
! 	'logi' : Login_Items_Suite,
! 	'powr' : Power_Suite,
! 	'prcs' : Processes_Suite,
! 	'sevs' : System_Events_Suite,
! 	'tpnm' : Hidden_Suite,
  }
  
--- 16,28 ----
  
  _code_to_module = {
!     '????' : Standard_Suite,
!     '????' : Text_Suite,
!     'cdis' : Disk_2d_Folder_2d_File_Suite,
!     'faco' : Folder_Actions_Suite,
!     'logi' : Login_Items_Suite,
!     'powr' : Power_Suite,
!     'prcs' : Processes_Suite,
!     'sevs' : System_Events_Suite,
!     'tpnm' : Hidden_Suite,
  }
  
***************
*** 30,42 ****
  
  _code_to_fullname = {
! 	'????' : ('SystemEvents.Standard_Suite', 'Standard_Suite'),
! 	'????' : ('SystemEvents.Text_Suite', 'Text_Suite'),
! 	'cdis' : ('SystemEvents.Disk_2d_Folder_2d_File_Suite', 'Disk_2d_Folder_2d_File_Suite'),
! 	'faco' : ('SystemEvents.Folder_Actions_Suite', 'Folder_Actions_Suite'),
! 	'logi' : ('SystemEvents.Login_Items_Suite', 'Login_Items_Suite'),
! 	'powr' : ('SystemEvents.Power_Suite', 'Power_Suite'),
! 	'prcs' : ('SystemEvents.Processes_Suite', 'Processes_Suite'),
! 	'sevs' : ('SystemEvents.System_Events_Suite', 'System_Events_Suite'),
! 	'tpnm' : ('SystemEvents.Hidden_Suite', 'Hidden_Suite'),
  }
  
--- 30,42 ----
  
  _code_to_fullname = {
!     '????' : ('SystemEvents.Standard_Suite', 'Standard_Suite'),
!     '????' : ('SystemEvents.Text_Suite', 'Text_Suite'),
!     'cdis' : ('SystemEvents.Disk_2d_Folder_2d_File_Suite', 'Disk_2d_Folder_2d_File_Suite'),
!     'faco' : ('SystemEvents.Folder_Actions_Suite', 'Folder_Actions_Suite'),
!     'logi' : ('SystemEvents.Login_Items_Suite', 'Login_Items_Suite'),
!     'powr' : ('SystemEvents.Power_Suite', 'Power_Suite'),
!     'prcs' : ('SystemEvents.Processes_Suite', 'Processes_Suite'),
!     'sevs' : ('SystemEvents.System_Events_Suite', 'System_Events_Suite'),
!     'tpnm' : ('SystemEvents.Hidden_Suite', 'Hidden_Suite'),
  }
  
***************
*** 52,65 ****
  
  def getbaseclasses(v):
! 	if not getattr(v, '_propdict', None):
! 		v._propdict = {}
! 		v._elemdict = {}
! 		for superclassname in getattr(v, '_superclassnames', []):
! 			superclass = eval(superclassname)
! 			getbaseclasses(superclass)
! 			v._propdict.update(getattr(superclass, '_propdict', {}))
! 			v._elemdict.update(getattr(superclass, '_elemdict', {}))
! 		v._propdict.update(getattr(v, '_privpropdict', {}))
! 		v._elemdict.update(getattr(v, '_privelemdict', {}))
  
  import StdSuites
--- 52,65 ----
  
  def getbaseclasses(v):
!     if not getattr(v, '_propdict', None):
!         v._propdict = {}
!         v._elemdict = {}
!         for superclassname in getattr(v, '_superclassnames', []):
!             superclass = eval(superclassname)
!             getbaseclasses(superclass)
!             v._propdict.update(getattr(superclass, '_propdict', {}))
!             v._elemdict.update(getattr(superclass, '_elemdict', {}))
!         v._propdict.update(getattr(v, '_privpropdict', {}))
!         v._elemdict.update(getattr(v, '_privelemdict', {}))
  
  import StdSuites
***************
*** 68,71 ****
--- 68,76 ----
  # Set property and element dictionaries now that all classes have been defined
  #
+ getbaseclasses(color)
+ getbaseclasses(window)
+ getbaseclasses(application)
+ getbaseclasses(item)
+ getbaseclasses(document)
  getbaseclasses(character)
  getbaseclasses(attachment)
***************
*** 74,77 ****
--- 79,83 ----
  getbaseclasses(attribute_run)
  getbaseclasses(text)
+ getbaseclasses(login_item)
  getbaseclasses(file)
  getbaseclasses(alias)
***************
*** 79,89 ****
  getbaseclasses(folder)
  getbaseclasses(disk)
- getbaseclasses(color)
- getbaseclasses(window)
- getbaseclasses(application)
- getbaseclasses(item)
- getbaseclasses(document)
  getbaseclasses(script)
  getbaseclasses(folder_action)
  getbaseclasses(window)
  getbaseclasses(radio_button)
--- 85,130 ----
  getbaseclasses(folder)
  getbaseclasses(disk)
  getbaseclasses(script)
  getbaseclasses(folder_action)
+ getbaseclasses(StdSuites.Type_Names_Suite.double_integer)
+ getbaseclasses(StdSuites.Type_Names_Suite.version)
+ getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
+ getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary)
+ getbaseclasses(StdSuites.Type_Names_Suite.color_table)
+ getbaseclasses(StdSuites.Type_Names_Suite.fixed_point)
+ getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture)
+ getbaseclasses(StdSuites.Type_Names_Suite.type_element_info)
+ getbaseclasses(StdSuites.Type_Names_Suite.type_event_info)
+ getbaseclasses(StdSuites.Type_Names_Suite.machine_location)
+ getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture)
+ getbaseclasses(StdSuites.Type_Names_Suite.point)
+ getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point)
+ getbaseclasses(StdSuites.Type_Names_Suite.menu_item)
+ getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles)
+ getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary)
+ getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer)
+ getbaseclasses(StdSuites.Type_Names_Suite.menu)
+ getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle)
+ getbaseclasses(StdSuites.Type_Names_Suite.type_property_info)
+ getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle)
+ getbaseclasses(StdSuites.Type_Names_Suite.long_fixed)
+ getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info)
+ getbaseclasses(StdSuites.Type_Names_Suite.rotation)
+ getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
+ getbaseclasses(StdSuites.Type_Names_Suite.fixed)
+ getbaseclasses(StdSuites.Type_Names_Suite.long_point)
+ getbaseclasses(StdSuites.Type_Names_Suite.type_class_info)
+ getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color)
+ getbaseclasses(StdSuites.Type_Names_Suite.target_id)
+ getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record)
+ getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info)
+ getbaseclasses(StdSuites.Type_Names_Suite.extended_real)
+ getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle)
+ getbaseclasses(StdSuites.Type_Names_Suite.dash_style)
+ getbaseclasses(StdSuites.Type_Names_Suite.string)
+ getbaseclasses(StdSuites.Type_Names_Suite.small_real)
+ getbaseclasses(StdSuites.Type_Names_Suite.null)
+ getbaseclasses(StdSuites.Type_Names_Suite.location_reference)
+ getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
  getbaseclasses(window)
  getbaseclasses(radio_button)
***************
*** 130,175 ****
  getbaseclasses(combo_box)
  getbaseclasses(browser)
- getbaseclasses(StdSuites.Type_Names_Suite.double_integer)
- getbaseclasses(StdSuites.Type_Names_Suite.version)
- getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
- getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary)
- getbaseclasses(StdSuites.Type_Names_Suite.color_table)
- getbaseclasses(StdSuites.Type_Names_Suite.fixed_point)
- getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture)
- getbaseclasses(StdSuites.Type_Names_Suite.type_element_info)
- getbaseclasses(StdSuites.Type_Names_Suite.type_event_info)
- getbaseclasses(StdSuites.Type_Names_Suite.machine_location)
- getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture)
- getbaseclasses(StdSuites.Type_Names_Suite.point)
- getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point)
- getbaseclasses(StdSuites.Type_Names_Suite.menu_item)
- getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles)
- getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary)
- getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer)
- getbaseclasses(StdSuites.Type_Names_Suite.menu)
- getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle)
- getbaseclasses(StdSuites.Type_Names_Suite.type_property_info)
- getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle)
- getbaseclasses(StdSuites.Type_Names_Suite.long_fixed)
- getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info)
- getbaseclasses(StdSuites.Type_Names_Suite.rotation)
- getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
- getbaseclasses(StdSuites.Type_Names_Suite.fixed)
- getbaseclasses(StdSuites.Type_Names_Suite.long_point)
- getbaseclasses(StdSuites.Type_Names_Suite.type_class_info)
- getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color)
- getbaseclasses(StdSuites.Type_Names_Suite.target_id)
- getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record)
- getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info)
- getbaseclasses(StdSuites.Type_Names_Suite.extended_real)
- getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle)
- getbaseclasses(StdSuites.Type_Names_Suite.dash_style)
- getbaseclasses(StdSuites.Type_Names_Suite.string)
- getbaseclasses(StdSuites.Type_Names_Suite.small_real)
- getbaseclasses(StdSuites.Type_Names_Suite.null)
- getbaseclasses(StdSuites.Type_Names_Suite.location_reference)
- getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
  getbaseclasses(application)
- getbaseclasses(login_item)
  
  #
--- 171,175 ----
***************
*** 177,299 ****
  #
  _classdeclarations = {
! 	'cha ' : character,
! 	'atts' : attachment,
! 	'cpar' : paragraph,
! 	'cwor' : word,
! 	'catr' : attribute_run,
! 	'ctxt' : text,
! 	'file' : file,
! 	'alis' : alias,
! 	'cobj' : item,
! 	'cfol' : folder,
! 	'cdis' : disk,
! 	'colr' : color,
! 	'cwin' : window,
! 	'capp' : application,
! 	'cobj' : item,
! 	'docu' : document,
! 	'scpt' : script,
! 	'foac' : folder_action,
! 	'cwin' : window,
! 	'radB' : radio_button,
! 	'list' : list,
! 	'pcda' : desk_accessory_process,
! 	'menI' : menu_item,
! 	'proI' : progress_indicator,
! 	'menE' : menu,
! 	'menB' : menu_button,
! 	'popB' : pop_up_button,
! 	'incr' : incrementor,
! 	'sheE' : sheet,
! 	'tbar' : tool_bar,
! 	'pcap' : application_process,
! 	'txtf' : text_field,
! 	'txta' : text_area,
! 	'sliI' : slider,
! 	'scra' : scroll_area,
! 	'reli' : relevance_indicator,
! 	'busi' : busy_indicator,
! 	'crow' : row,
! 	'prcs' : process,
! 	'tabB' : table,
! 	'outl' : outline,
! 	'uiel' : UI_element,
! 	'vali' : value_indicator,
! 	'sysw' : system_wide_UI_element,
! 	'butT' : button,
! 	'capp' : application,
! 	'rgrp' : radio_group,
! 	'imaA' : image,
! 	'tab ' : tab_group,
! 	'mbar' : menu_bar,
! 	'grow' : grow_area,
! 	'chbx' : check_box,
! 	'ccol' : column,
! 	'sttx' : static_text,
! 	'splg' : splitter_group,
! 	'sgrp' : group,
! 	'splr' : splitter,
! 	'draA' : drawer,
! 	'colW' : color_well,
! 	'scrb' : scroll_bar,
! 	'comB' : combo_box,
! 	'broW' : browser,
! 	'comp' : StdSuites.Type_Names_Suite.double_integer,
! 	'vers' : StdSuites.Type_Names_Suite.version,
! 	'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
! 	'aeut' : StdSuites.Type_Names_Suite.system_dictionary,
! 	'clrt' : StdSuites.Type_Names_Suite.color_table,
! 	'fpnt' : StdSuites.Type_Names_Suite.fixed_point,
! 	'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture,
! 	'elin' : StdSuites.Type_Names_Suite.type_element_info,
! 	'evin' : StdSuites.Type_Names_Suite.type_event_info,
! 	'mLoc' : StdSuites.Type_Names_Suite.machine_location,
! 	'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture,
! 	'QDpt' : StdSuites.Type_Names_Suite.point,
! 	'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point,
! 	'cmen' : StdSuites.Type_Names_Suite.menu_item,
! 	'styl' : StdSuites.Type_Names_Suite.scrap_styles,
! 	'aete' : StdSuites.Type_Names_Suite.application_dictionary,
! 	'magn' : StdSuites.Type_Names_Suite.unsigned_integer,
! 	'cmnu' : StdSuites.Type_Names_Suite.menu,
! 	'frct' : StdSuites.Type_Names_Suite.fixed_rectangle,
! 	'pinf' : StdSuites.Type_Names_Suite.type_property_info,
! 	'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle,
! 	'lfxd' : StdSuites.Type_Names_Suite.long_fixed,
! 	'suin' : StdSuites.Type_Names_Suite.type_suite_info,
! 	'trot' : StdSuites.Type_Names_Suite.rotation,
! 	'shor' : StdSuites.Type_Names_Suite.small_integer,
! 	'fixd' : StdSuites.Type_Names_Suite.fixed,
! 	'lpnt' : StdSuites.Type_Names_Suite.long_point,
! 	'gcli' : StdSuites.Type_Names_Suite.type_class_info,
! 	'tr96' : StdSuites.Type_Names_Suite.RGB96_color,
! 	'targ' : StdSuites.Type_Names_Suite.target_id,
! 	'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record,
! 	'pmin' : StdSuites.Type_Names_Suite.type_parameter_info,
! 	'exte' : StdSuites.Type_Names_Suite.extended_real,
! 	'lrct' : StdSuites.Type_Names_Suite.long_rectangle,
! 	'tdas' : StdSuites.Type_Names_Suite.dash_style,
! 	'TEXT' : StdSuites.Type_Names_Suite.string,
! 	'sing' : StdSuites.Type_Names_Suite.small_real,
! 	'null' : StdSuites.Type_Names_Suite.null,
! 	'insl' : StdSuites.Type_Names_Suite.location_reference,
! 	'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
! 	'capp' : application,
! 	'logi' : login_item,
  }
  
  
  class SystemEvents(Standard_Suite_Events,
! 		Text_Suite_Events,
! 		Disk_2d_Folder_2d_File_Suite_Events,
! 		Folder_Actions_Suite_Events,
! 		Login_Items_Suite_Events,
! 		Power_Suite_Events,
! 		Processes_Suite_Events,
! 		System_Events_Suite_Events,
! 		Hidden_Suite_Events,
! 		aetools.TalkTo):
! 	_signature = 'sevs'
  
! 	_moduleName = 'SystemEvents'
  
--- 177,299 ----
  #
  _classdeclarations = {
!     'colr' : color,
!     'cwin' : window,
!     'capp' : application,
!     'cobj' : item,
!     'docu' : document,
!     'cha ' : character,
!     'atts' : attachment,
!     'cpar' : paragraph,
!     'cwor' : word,
!     'catr' : attribute_run,
!     'ctxt' : text,
!     'logi' : login_item,
!     'file' : file,
!     'alis' : alias,
!     'cobj' : item,
!     'cfol' : folder,
!     'cdis' : disk,
!     'scpt' : script,
!     'foac' : folder_action,
!     'comp' : StdSuites.Type_Names_Suite.double_integer,
!     'vers' : StdSuites.Type_Names_Suite.version,
!     'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
!     'aeut' : StdSuites.Type_Names_Suite.system_dictionary,
!     'clrt' : StdSuites.Type_Names_Suite.color_table,
!     'fpnt' : StdSuites.Type_Names_Suite.fixed_point,
!     'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture,
!     'elin' : StdSuites.Type_Names_Suite.type_element_info,
!     'evin' : StdSuites.Type_Names_Suite.type_event_info,
!     'mLoc' : StdSuites.Type_Names_Suite.machine_location,
!     'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture,
!     'QDpt' : StdSuites.Type_Names_Suite.point,
!     'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point,
!     'cmen' : StdSuites.Type_Names_Suite.menu_item,
!     'styl' : StdSuites.Type_Names_Suite.scrap_styles,
!     'aete' : StdSuites.Type_Names_Suite.application_dictionary,
!     'magn' : StdSuites.Type_Names_Suite.unsigned_integer,
!     'cmnu' : StdSuites.Type_Names_Suite.menu,
!     'frct' : StdSuites.Type_Names_Suite.fixed_rectangle,
!     'pinf' : StdSuites.Type_Names_Suite.type_property_info,
!     'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle,
!     'lfxd' : StdSuites.Type_Names_Suite.long_fixed,
!     'suin' : StdSuites.Type_Names_Suite.type_suite_info,
!     'trot' : StdSuites.Type_Names_Suite.rotation,
!     'shor' : StdSuites.Type_Names_Suite.small_integer,
!     'fixd' : StdSuites.Type_Names_Suite.fixed,
!     'lpnt' : StdSuites.Type_Names_Suite.long_point,
!     'gcli' : StdSuites.Type_Names_Suite.type_class_info,
!     'tr96' : StdSuites.Type_Names_Suite.RGB96_color,
!     'targ' : StdSuites.Type_Names_Suite.target_id,
!     'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record,
!     'pmin' : StdSuites.Type_Names_Suite.type_parameter_info,
!     'exte' : StdSuites.Type_Names_Suite.extended_real,
!     'lrct' : StdSuites.Type_Names_Suite.long_rectangle,
!     'tdas' : StdSuites.Type_Names_Suite.dash_style,
!     'TEXT' : StdSuites.Type_Names_Suite.string,
!     'sing' : StdSuites.Type_Names_Suite.small_real,
!     'null' : StdSuites.Type_Names_Suite.null,
!     'insl' : StdSuites.Type_Names_Suite.location_reference,
!     'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
!     'cwin' : window,
!     'radB' : radio_button,
!     'list' : list,
!     'pcda' : desk_accessory_process,
!     'menI' : menu_item,
!     'proI' : progress_indicator,
!     'menE' : menu,
!     'menB' : menu_button,
!     'popB' : pop_up_button,
!     'incr' : incrementor,
!     'sheE' : sheet,
!     'tbar' : tool_bar,
!     'pcap' : application_process,
!     'txtf' : text_field,
!     'txta' : text_area,
!     'sliI' : slider,
!     'scra' : scroll_area,
!     'reli' : relevance_indicator,
!     'busi' : busy_indicator,
!     'crow' : row,
!     'prcs' : process,
!     'tabB' : table,
!     'outl' : outline,
!     'uiel' : UI_element,
!     'vali' : value_indicator,
!     'sysw' : system_wide_UI_element,
!     'butT' : button,
!     'capp' : application,
!     'rgrp' : radio_group,
!     'imaA' : image,
!     'tab ' : tab_group,
!     'mbar' : menu_bar,
!     'grow' : grow_area,
!     'chbx' : check_box,
!     'ccol' : column,
!     'sttx' : static_text,
!     'splg' : splitter_group,
!     'sgrp' : group,
!     'splr' : splitter,
!     'draA' : drawer,
!     'colW' : color_well,
!     'scrb' : scroll_bar,
!     'comB' : combo_box,
!     'broW' : browser,
!     'capp' : application,
  }
  
  
  class SystemEvents(Standard_Suite_Events,
!         Text_Suite_Events,
!         Disk_2d_Folder_2d_File_Suite_Events,
!         Folder_Actions_Suite_Events,
!         Login_Items_Suite_Events,
!         Power_Suite_Events,
!         Processes_Suite_Events,
!         System_Events_Suite_Events,
!         Hidden_Suite_Events,
!         aetools.TalkTo):
!     _signature = 'sevs'
  
!     _moduleName = 'SystemEvents'