[Python-checkins] python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents Disk_Folder_File_Suite.py,1.1,1.2 Folder_Actions_Suite.py,1.3,1.4 Power_Suite.py,1.3,1.4 Processes_Suite.py,1.3,1.4 Standard_Suite.py,1.3,1.4 System_Events_Suite.py,1.4,1.5 __init__.py,1.4,1.5
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Fri, 13 Jun 2003 07:31:23 -0700
- Previous message: [Python-checkins] python/dist/src/Lib/plat-mac/lib-scriptpackages/Terminal Standard_Suite.py,1.4,1.5 Terminal_Suite.py,1.7,1.8 __init__.py,1.7,1.8
- Next message: [Python-checkins] python/dist/src/Lib/plat-mac/lib-scriptpackages/CodeWarrior CodeWarrior_suite.py,1.7,1.8 Metrowerks_Shell_Suite.py,1.7,1.8 Required.py,1.4,1.5 Standard_Suite.py,1.6,1.7 __init__.py,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents
In directory sc8-pr-cvs1:/tmp/cvs-serv2770/lib-scriptpackages/SystemEvents
Modified Files:
Disk_Folder_File_Suite.py Folder_Actions_Suite.py
Power_Suite.py Processes_Suite.py Standard_Suite.py
System_Events_Suite.py __init__.py
Log Message:
Re-gegernated with the new gensuitemodule.
Index: Disk_Folder_File_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Disk_Folder_File_Suite.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Disk_Folder_File_Suite.py 1 May 2003 22:06:14 -0000 1.1
--- Disk_Folder_File_Suite.py 13 Jun 2003 14:31:17 -0000 1.2
***************
*** 40,68 ****
! 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']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
! aliases = alias
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 """
--- 40,82 ----
! class application(aetools.ComponentItem):
! """application - The Disk-Folder-File Suite host program """
! want = 'capp'
class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """
which = 'c@#^'
! want = 'capp'
! _3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
! class _Prop_folder_actions_enabled(aetools.NProperty):
! """folder actions enabled - Are Folder Actions currently being processed? """
! which = 'faen'
! want = 'bool'
! folder_actions_enabled = _Prop_folder_actions_enabled()
class _Prop_properties(aetools.NProperty):
! """properties - every property of the Disk-Folder-File Suite host program """
which = 'pALL'
want = '****'
! properties = _Prop_properties()
! # element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
+ # element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'foac' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'logi' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'pcap' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test']
! applications = application
class disk(aetools.ComponentItem):
"""disk - A disk in the file system """
want = 'cdis'
+ class _Prop_POSIX_path(aetools.NProperty):
+ """POSIX path - the POSIX file system path of the disk """
+ which = 'posx'
+ want = 'utxt'
class _Prop_capacity(aetools.NProperty):
"""capacity - the total number of bytes (free or used) on the disk """
***************
*** 86,97 ****
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']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
--- 100,122 ----
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_name(aetools.NProperty):
+ """name - the name of the disk """
+ which = 'pnam'
+ want = 'utxt'
+ class _Prop_path(aetools.NProperty):
+ """path - the file system path of the disk """
+ which = 'ppth'
+ want = 'utxt'
class _Prop_startup(aetools.NProperty):
"""startup - Is this disk the boot disk? """
which = 'istd'
want = 'bool'
! class _Prop_volume(aetools.NProperty):
! """volume - the volume on which the folder resides """
! which = 'volu'
! want = 'utxt'
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
***************
*** 103,110 ****
"""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']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
folders = folder
--- 128,137 ----
"""folder - A folder in the file system """
want = 'cfol'
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
folders = folder
***************
*** 113,120 ****
"""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? """
--- 140,143 ----
***************
*** 125,140 ****
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 """
--- 148,155 ----
***************
*** 145,152 ****
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 """
--- 160,163 ----
***************
*** 155,164 ****
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
--- 166,174 ----
class _Prop_visible(aetools.NProperty):
"""visible - Is the item visible? """
! which = 'visi'
want = 'bool'
! # element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
! # element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
! # element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
items = item
***************
*** 168,176 ****
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'
--- 178,186 ----
want = 'file'
class _Prop_creator_type(aetools.NProperty):
! """creator type - the OSType identifying the application that created the item """
which = 'fcrt'
want = 'utxt'
class _Prop_file_type(aetools.NProperty):
! """file type - the OSType identifying the type of data contained in the item """
which = 'asty'
want = 'utxt'
***************
*** 178,184 ****
"""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'
--- 188,194 ----
"""physical size - the actual space used by the file on disk """
which = 'phys'
! want = 'magn'
class _Prop_product_version(aetools.NProperty):
! """product version - the version of the product (visible at the top of the ?et Info?window) """
which = 'ver2'
want = 'utxt'
***************
*** 186,210 ****
"""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,
--- 196,239 ----
"""size - the logical size of the file """
which = 'ptsz'
! want = 'magn'
class _Prop_stationery(aetools.NProperty):
"""stationery - Is the file a stationery pad? """
which = 'pspd'
want = 'bool'
+ class _Prop_version(aetools.NProperty):
+ """version - the version of the file (visible at the bottom of the ?et Info?window) """
+ which = 'vers'
+ want = 'utxt'
+ # element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
files = file
! application._superclassnames = []
! import Standard_Suite
! import Folder_Actions_Suite
! import Login_Items_Suite
! import Processes_Suite
! application._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
+ 'folder_actions_enabled' : _Prop_folder_actions_enabled,
'properties' : _Prop_properties,
}
! application._privelemdict = {
! 'application_process' : Processes_Suite.application_process,
! 'desk_accessory_process' : Processes_Suite.desk_accessory_process,
! 'disk' : disk,
! 'document' : Standard_Suite.document,
'file' : file,
'folder' : folder,
+ 'folder_action' : Folder_Actions_Suite.folder_action,
'item' : item,
+ 'login_item' : Login_Items_Suite.login_item,
+ 'process' : Processes_Suite.process,
+ 'window' : Standard_Suite.window,
}
disk._superclassnames = ['item']
disk._privpropdict = {
+ 'POSIX_path' : _Prop_POSIX_path,
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'capacity' : _Prop_capacity,
***************
*** 214,222 ****
'ignore_privileges' : _Prop_ignore_privileges,
'local_volume' : _Prop_local_volume,
'properties' : _Prop_properties,
'startup' : _Prop_startup,
}
disk._privelemdict = {
- 'alias' : alias,
'file' : file,
'folder' : folder,
--- 243,253 ----
'ignore_privileges' : _Prop_ignore_privileges,
'local_volume' : _Prop_local_volume,
+ 'name' : _Prop_name,
+ 'path' : _Prop_path,
'properties' : _Prop_properties,
'startup' : _Prop_startup,
+ 'volume' : _Prop_volume,
}
disk._privelemdict = {
'file' : file,
'folder' : folder,
***************
*** 225,236 ****
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 = []
--- 256,273 ----
folder._superclassnames = ['item']
folder._privpropdict = {
+ 'POSIX_path' : _Prop_POSIX_path,
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
+ 'name' : _Prop_name,
+ 'path' : _Prop_path,
'properties' : _Prop_properties,
+ 'volume' : _Prop_volume,
}
folder._privelemdict = {
'file' : file,
+ 'file' : file,
+ 'folder' : folder,
'folder' : folder,
'item' : item,
+ 'item' : item,
}
item._superclassnames = []
***************
*** 240,244 ****
'busy_status' : _Prop_busy_status,
'creation_date' : _Prop_creation_date,
- 'displayed_name' : _Prop_displayed_name,
'modification_date' : _Prop_modification_date,
'name' : _Prop_name,
--- 277,280 ----
***************
*** 252,261 ****
--- 288,303 ----
}
item._privelemdict = {
+ 'file' : file,
+ 'folder' : folder,
+ 'item' : item,
}
file._superclassnames = ['item']
file._privpropdict = {
+ 'POSIX_path' : _Prop_POSIX_path,
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'creator_type' : _Prop_creator_type,
'file_type' : _Prop_file_type,
+ 'name' : _Prop_name,
+ 'path' : _Prop_path,
'physical_size' : _Prop_physical_size,
'product_version' : _Prop_product_version,
***************
*** 264,269 ****
--- 306,315 ----
'stationery' : _Prop_stationery,
'version' : _Prop_version,
+ 'volume' : _Prop_volume,
}
file._privelemdict = {
+ 'file' : file,
+ 'folder' : folder,
+ 'item' : item,
}
_Enum_edfm = {
***************
*** 290,294 ****
#
_classdeclarations = {
! 'alis' : alias,
'cdis' : disk,
'cfol' : folder,
--- 336,340 ----
#
_classdeclarations = {
! 'capp' : application,
'cdis' : disk,
'cfol' : folder,
***************
*** 305,310 ****
'capa' : _Prop_capacity,
'dfmt' : _Prop_format,
- 'dnam' : _Prop_displayed_name,
'extn' : _Prop_name_extension,
'fcrt' : _Prop_creator_type,
'frsp' : _Prop_free_space,
--- 351,356 ----
'capa' : _Prop_capacity,
'dfmt' : _Prop_format,
'extn' : _Prop_name_extension,
+ 'faen' : _Prop_folder_actions_enabled,
'fcrt' : _Prop_creator_type,
'frsp' : _Prop_free_space,
***************
*** 321,328 ****
'pspd' : _Prop_stationery,
'ptsz' : _Prop_size,
- 'pvis' : _Prop_visible,
'url ' : _Prop_url,
'ver2' : _Prop_product_version,
'vers' : _Prop_version,
'volu' : _Prop_volume,
}
--- 367,374 ----
'pspd' : _Prop_stationery,
'ptsz' : _Prop_size,
'url ' : _Prop_url,
'ver2' : _Prop_product_version,
'vers' : _Prop_version,
+ 'visi' : _Prop_visible,
'volu' : _Prop_volume,
}
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.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Folder_Actions_Suite.py 12 Apr 2003 22:27:10 -0000 1.3
--- Folder_Actions_Suite.py 13 Jun 2003 14:31:18 -0000 1.4
***************
*** 148,162 ****
! 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 """
--- 148,186 ----
! class application(aetools.ComponentItem):
! """application - The Folder Actions Suite host program """
! want = 'capp'
class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """
which = 'c@#^'
! want = 'capp'
! _3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
! class _Prop_folder_actions_enabled(aetools.NProperty):
! """folder actions enabled - Are Folder Actions currently being processed? """
! which = 'faen'
want = 'bool'
+ folder_actions_enabled = _Prop_folder_actions_enabled()
+ class _Prop_properties(aetools.NProperty):
+ """properties - every property of the Folder Actions Suite host program """
+ which = 'pALL'
+ want = '****'
+ properties = _Prop_properties()
+ # element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
+ # element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'foac' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'logi' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'pcap' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test']
+
+ applications = application
+
+ class folder_action(aetools.ComponentItem):
+ """folder action - An action attached to a folder in the file system """
+ want = 'foac'
class _Prop_name(aetools.NProperty):
"""name - the name of the folder action, which is also the name of the folder """
***************
*** 167,174 ****
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 """
--- 191,194 ----
***************
*** 188,196 ****
scripts = script
import Standard_Suite
folder_action._superclassnames = ['item']
folder_action._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
- 'enabled' : _Prop_enabled,
'name' : _Prop_name,
'path' : _Prop_path,
--- 208,237 ----
scripts = script
+ application._superclassnames = []
+ import Disk_Folder_File_Suite
import Standard_Suite
+ import Login_Items_Suite
+ import Processes_Suite
+ application._privpropdict = {
+ '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
+ 'folder_actions_enabled' : _Prop_folder_actions_enabled,
+ 'properties' : _Prop_properties,
+ }
+ application._privelemdict = {
+ 'application_process' : Processes_Suite.application_process,
+ 'desk_accessory_process' : Processes_Suite.desk_accessory_process,
+ 'disk' : Disk_Folder_File_Suite.disk,
+ 'document' : Standard_Suite.document,
+ 'file' : Disk_Folder_File_Suite.file,
+ 'folder' : Disk_Folder_File_Suite.folder,
+ 'folder_action' : folder_action,
+ 'item' : Disk_Folder_File_Suite.item,
+ 'login_item' : Login_Items_Suite.login_item,
+ 'process' : Processes_Suite.process,
+ 'window' : Standard_Suite.window,
+ }
folder_action._superclassnames = ['item']
folder_action._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'name' : _Prop_name,
'path' : _Prop_path,
***************
*** 224,227 ****
--- 265,269 ----
#
_classdeclarations = {
+ 'capp' : application,
'foac' : folder_action,
'scpt' : script,
***************
*** 230,234 ****
_propdeclarations = {
'c@#^' : _Prop__3c_Inheritance_3e_,
! 'enaB' : _Prop_enabled,
'pALL' : _Prop_properties,
'pnam' : _Prop_name,
--- 272,276 ----
_propdeclarations = {
'c@#^' : _Prop__3c_Inheritance_3e_,
! 'faen' : _Prop_folder_actions_enabled,
'pALL' : _Prop_properties,
'pnam' : _Prop_name,
Index: Power_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Power_Suite.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Power_Suite.py 12 Apr 2003 22:27:10 -0000 1.3
--- Power_Suite.py 13 Jun 2003 14:31:18 -0000 1.4
***************
*** 74,84 ****
--- 74,144 ----
+ 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'
+ _3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
+ class _Prop_folder_actions_enabled(aetools.NProperty):
+ """folder actions enabled - Are Folder Actions currently being processed? """
+ which = 'faen'
+ want = 'bool'
+ folder_actions_enabled = _Prop_folder_actions_enabled()
+ class _Prop_properties(aetools.NProperty):
+ """properties - every property of the System Events application """
+ which = 'pALL'
+ want = '****'
+ properties = _Prop_properties()
+ # element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
+ # element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'foac' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'logi' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'pcap' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test']
+ # element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test']
+
+ applications = application
+ application._superclassnames = []
+ import Disk_Folder_File_Suite
+ import Standard_Suite
+ import Folder_Actions_Suite
+ import Login_Items_Suite
+ import Processes_Suite
+ application._privpropdict = {
+ '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
+ 'folder_actions_enabled' : _Prop_folder_actions_enabled,
+ 'properties' : _Prop_properties,
+ }
+ application._privelemdict = {
+ 'application_process' : Processes_Suite.application_process,
+ 'desk_accessory_process' : Processes_Suite.desk_accessory_process,
+ 'disk' : Disk_Folder_File_Suite.disk,
+ 'document' : Standard_Suite.document,
+ 'file' : Disk_Folder_File_Suite.file,
+ 'folder' : Disk_Folder_File_Suite.folder,
+ 'folder_action' : Folder_Actions_Suite.folder_action,
+ 'item' : Disk_Folder_File_Suite.item,
+ 'login_item' : Login_Items_Suite.login_item,
+ 'process' : Processes_Suite.process,
+ 'window' : Standard_Suite.window,
+ }
+
#
# Indices of types declared in this module
#
_classdeclarations = {
+ 'capp' : application,
}
_propdeclarations = {
+ 'c@#^' : _Prop__3c_Inheritance_3e_,
+ 'faen' : _Prop_folder_actions_enabled,
+ 'pALL' : _Prop_properties,
}
Index: Processes_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Processes_Suite.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Processes_Suite.py 12 Apr 2003 22:27:10 -0000 1.3
--- Processes_Suite.py 13 Jun 2003 14:31:18 -0000 1.4
***************
*** 13,1207 ****
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'
!
[...4763 lines suppressed...]
'fcrt' : _Prop_creator_type,
'file' : _Prop_file,
'hscr' : _Prop_has_scripting_terminology,
'isab' : _Prop_accepts_high_level_events,
'pALL' : _Prop_properties,
'pisf' : _Prop_frontmost,
'pnam' : _Prop_name,
'pusd' : _Prop_partition_space_used,
'pvis' : _Prop_visible,
'revt' : _Prop_accepts_remote_events,
}
***************
*** 4717,4721 ****
_enumdeclarations = {
- 'eMds' : _Enum_eMds,
- 'eMky' : _Enum_eMky,
}
--- 212,214 ----
Index: Standard_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/Standard_Suite.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Standard_Suite.py 12 Apr 2003 22:27:10 -0000 1.3
--- Standard_Suite.py 13 Jun 2003 14:31:18 -0000 1.4
***************
*** 338,354 ****
which = 'c@#^'
want = 'cobj'
class _Prop_frontmost(aetools.NProperty):
"""frontmost - Is this the frontmost (active) application? """
which = 'pisf'
want = 'bool'
class _Prop_name(aetools.NProperty):
"""name - The name of the application. """
which = 'pnam'
want = 'utxt'
class _Prop_version(aetools.NProperty):
"""version - The version of the application. """
which = 'vers'
want = 'utxt'
! # element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
--- 338,358 ----
which = 'c@#^'
want = 'cobj'
+ _3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_frontmost(aetools.NProperty):
"""frontmost - Is this the frontmost (active) application? """
which = 'pisf'
want = 'bool'
+ frontmost = _Prop_frontmost()
class _Prop_name(aetools.NProperty):
"""name - The name of the application. """
which = 'pnam'
want = 'utxt'
+ name = _Prop_name()
class _Prop_version(aetools.NProperty):
"""version - The version of the application. """
which = 'vers'
want = 'utxt'
! version = _Prop_version()
! # element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
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.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** System_Events_Suite.py 1 May 2003 22:06:15 -0000 1.4
--- System_Events_Suite.py 13 Jun 2003 14:31:18 -0000 1.5
***************
*** 13,17 ****
class System_Events_Suite_Events:
! pass
--- 13,35 ----
class System_Events_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['----']
***************
*** 23,43 ****
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']
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
! # element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
--- 41,59 ----
which = 'c@#^'
want = 'capp'
+ _3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_folder_actions_enabled(aetools.NProperty):
"""folder actions enabled - Are Folder Actions currently being processed? """
which = 'faen'
want = 'bool'
+ folder_actions_enabled = _Prop_folder_actions_enabled()
class _Prop_properties(aetools.NProperty):
"""properties - every property of the System Events application """
which = 'pALL'
want = '****'
! properties = _Prop_properties()
# element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
! # element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
***************
*** 47,51 ****
# element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test']
- # element 'uiel' as ['name', 'indx', 'rele', 'rang', 'test']
applications = application
--- 63,66 ----
***************
*** 60,68 ****
'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_Folder_File_Suite.alias,
'application_process' : Processes_Suite.application_process,
'desk_accessory_process' : Processes_Suite.desk_accessory_process,
--- 75,80 ----
***************
*** 89,93 ****
'faen' : _Prop_folder_actions_enabled,
'pALL' : _Prop_properties,
- 'swui' : _Prop_system_wide_UI_element,
}
--- 101,104 ----
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/SystemEvents/__init__.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** __init__.py 1 May 2003 22:06:15 -0000 1.4
--- __init__.py 13 Jun 2003 14:31:18 -0000 1.5
***************
*** 12,16 ****
import Processes_Suite
import System_Events_Suite
- import Hidden_Suite
--- 12,15 ----
***************
*** 24,28 ****
'prcs' : Processes_Suite,
'sevs' : System_Events_Suite,
- 'tpnm' : Hidden_Suite,
}
--- 23,26 ----
***************
*** 38,42 ****
'prcs' : ('SystemEvents.Processes_Suite', 'Processes_Suite'),
'sevs' : ('SystemEvents.System_Events_Suite', 'System_Events_Suite'),
- 'tpnm' : ('SystemEvents.Hidden_Suite', 'Hidden_Suite'),
}
--- 36,39 ----
***************
*** 49,53 ****
from Processes_Suite import *
from System_Events_Suite import *
- from Hidden_Suite import *
def getbaseclasses(v):
--- 46,49 ----
***************
*** 68,71 ****
--- 64,73 ----
# Set property and element dictionaries now that all classes have been defined
#
+ getbaseclasses(login_item)
+ getbaseclasses(color)
+ getbaseclasses(window)
+ getbaseclasses(application)
+ getbaseclasses(item)
+ getbaseclasses(document)
getbaseclasses(character)
getbaseclasses(attachment)
***************
*** 74,175 ****
getbaseclasses(attribute_run)
getbaseclasses(text)
- getbaseclasses(color)
- getbaseclasses(window)
- getbaseclasses(application)
- getbaseclasses(item)
- getbaseclasses(document)
- getbaseclasses(application)
- getbaseclasses(login_item)
getbaseclasses(file)
! getbaseclasses(alias)
getbaseclasses(item)
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)
! getbaseclasses(list)
! getbaseclasses(desk_accessory_process)
! getbaseclasses(menu_item)
! getbaseclasses(progress_indicator)
! getbaseclasses(menu)
! getbaseclasses(menu_button)
! getbaseclasses(pop_up_button)
! getbaseclasses(incrementor)
! getbaseclasses(sheet)
! getbaseclasses(tool_bar)
! getbaseclasses(application_process)
! getbaseclasses(text_field)
! getbaseclasses(text_area)
! getbaseclasses(slider)
! getbaseclasses(scroll_area)
! getbaseclasses(relevance_indicator)
! getbaseclasses(busy_indicator)
! getbaseclasses(row)
getbaseclasses(process)
! getbaseclasses(table)
! getbaseclasses(outline)
! getbaseclasses(UI_element)
! getbaseclasses(value_indicator)
! getbaseclasses(system_wide_UI_element)
! getbaseclasses(button)
getbaseclasses(application)
- getbaseclasses(radio_group)
- getbaseclasses(image)
- getbaseclasses(tab_group)
- getbaseclasses(menu_bar)
- getbaseclasses(grow_area)
- getbaseclasses(check_box)
- getbaseclasses(column)
- getbaseclasses(static_text)
- getbaseclasses(splitter_group)
- getbaseclasses(group)
- getbaseclasses(splitter)
- getbaseclasses(drawer)
- getbaseclasses(color_well)
- getbaseclasses(scroll_bar)
- getbaseclasses(combo_box)
- getbaseclasses(browser)
#
--- 76,93 ----
getbaseclasses(attribute_run)
getbaseclasses(text)
getbaseclasses(file)
! getbaseclasses(application)
getbaseclasses(item)
getbaseclasses(folder)
getbaseclasses(disk)
getbaseclasses(script)
+ getbaseclasses(application)
getbaseclasses(folder_action)
! getbaseclasses(application)
! getbaseclasses(application)
getbaseclasses(process)
! getbaseclasses(application_process)
! getbaseclasses(desk_accessory_process)
getbaseclasses(application)
#
***************
*** 177,180 ****
--- 95,104 ----
#
_classdeclarations = {
+ 'logi' : login_item,
+ 'colr' : color,
+ 'cwin' : window,
+ 'capp' : application,
+ 'cobj' : item,
+ 'docu' : document,
'cha ' : character,
'atts' : attachment,
***************
*** 183,284 ****
'catr' : attribute_run,
'ctxt' : text,
- 'colr' : color,
- 'cwin' : window,
- 'capp' : application,
- 'cobj' : item,
- 'docu' : document,
- 'capp' : application,
- '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,
}
--- 107,124 ----
'catr' : attribute_run,
'ctxt' : text,
'file' : file,
! 'capp' : application,
'cobj' : item,
'cfol' : folder,
'cdis' : disk,
'scpt' : script,
+ 'capp' : application,
'foac' : folder_action,
! 'capp' : application,
! 'capp' : application,
'prcs' : process,
! 'pcap' : application_process,
! 'pcda' : desk_accessory_process,
'capp' : application,
}
***************
*** 292,296 ****
Processes_Suite_Events,
System_Events_Suite_Events,
- Hidden_Suite_Events,
aetools.TalkTo):
_signature = 'sevs'
--- 132,135 ----
***************
*** 298,299 ****
--- 137,140 ----
_moduleName = 'SystemEvents'
+ _elemdict = application._elemdict
+ _propdict = application._propdict
- Previous message: [Python-checkins] python/dist/src/Lib/plat-mac/lib-scriptpackages/Terminal Standard_Suite.py,1.4,1.5 Terminal_Suite.py,1.7,1.8 __init__.py,1.7,1.8
- Next message: [Python-checkins] python/dist/src/Lib/plat-mac/lib-scriptpackages/CodeWarrior CodeWarrior_suite.py,1.7,1.8 Metrowerks_Shell_Suite.py,1.7,1.8 Required.py,1.4,1.5 Standard_Suite.py,1.6,1.7 __init__.py,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]