mirror of
https://github.com/python/cpython.git
synced 2025-01-27 03:24:35 +08:00
Moved suites to their own folder
This commit is contained in:
parent
e2ed9df645
commit
21b5d605d8
File diff suppressed because it is too large
Load Diff
423
Mac/Lib/scripting/CodeWarrior_Standard_Suite.py
Normal file
423
Mac/Lib/scripting/CodeWarrior_Standard_Suite.py
Normal file
@ -0,0 +1,423 @@
|
||||
"""Suite CodeWarrior Standard Suite: Standard suite events supported by the CodeWarrior IDE.
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Metrowerks:Metrowerks CodeWarrior:CodeWarrior IDE 2.0.1
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
import aetools
|
||||
import MacOS
|
||||
|
||||
_code = 'CWIE'
|
||||
|
||||
class CodeWarrior_Standard_Suite:
|
||||
|
||||
_argmap_close = {
|
||||
'saving' : 'savo',
|
||||
'saving_in' : 'kfil',
|
||||
}
|
||||
|
||||
def close(self, _object, _attributes={}, **_arguments):
|
||||
"""close: Close an object
|
||||
Required argument: the object to close
|
||||
Keyword argument saving: Specifies whether or not changes should be saved before closing
|
||||
Keyword argument saving_in: the file in which to save the object
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'core'
|
||||
_subcode = 'clos'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_close)
|
||||
_arguments['----'] = _object
|
||||
|
||||
aetools.enumsubst(_arguments, 'savo', _Enum_savo)
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_count = {
|
||||
'each' : 'kocl',
|
||||
}
|
||||
|
||||
def count(self, _object, _attributes={}, **_arguments):
|
||||
"""count: Return the number of elements of a particular class within an object
|
||||
Required argument: the object whose elements are to be counted
|
||||
Keyword argument each: the class of the elements to be counted. Keyword 'each' is optional in AppleScript
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: the number of elements
|
||||
"""
|
||||
_code = 'core'
|
||||
_subcode = 'cnte'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_count)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_get = {
|
||||
'as' : 'rtyp',
|
||||
}
|
||||
|
||||
def get(self, _object, _attributes={}, **_arguments):
|
||||
"""get: Get the data for an object
|
||||
Required argument: the object whose data is to be returned
|
||||
Keyword argument as: the desired types for the data, in order of preference
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: The data from the object
|
||||
"""
|
||||
_code = 'core'
|
||||
_subcode = 'getd'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_get)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_make = {
|
||||
'new' : 'kocl',
|
||||
'at' : 'insh',
|
||||
'with_data' : 'data',
|
||||
'with_properties' : 'prdt',
|
||||
}
|
||||
|
||||
def make(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""make: Make a new element
|
||||
Keyword argument new: the class of the new element. Keyword 'new' is optional in AppleScript
|
||||
Keyword argument at: the location at which to insert the element
|
||||
Keyword argument with_data: the initial data for the element
|
||||
Keyword argument with_properties: the initial values for the properties of the element
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: to the new object(s)
|
||||
"""
|
||||
_code = 'core'
|
||||
_subcode = 'crel'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_make)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def select(self, _object=None, _attributes={}, **_arguments):
|
||||
"""select: Select the specified object
|
||||
Required argument: the object to select
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'misc'
|
||||
_subcode = 'slct'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_set = {
|
||||
'to' : 'data',
|
||||
}
|
||||
|
||||
def set(self, _object, _attributes={}, **_arguments):
|
||||
"""set: Set an object's data
|
||||
Required argument: the object to change
|
||||
Keyword argument to: the new value
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'core'
|
||||
_subcode = 'setd'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_set)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
|
||||
class application(aetools.ComponentItem):
|
||||
"""application - An application program"""
|
||||
want = 'capp'
|
||||
class user_interaction(aetools.NProperty):
|
||||
"""user interaction - User interaction level"""
|
||||
which = 'inte'
|
||||
want = 'Inte'
|
||||
# element 'docu' as ['indx', 'name', 'rang']
|
||||
# element 'cwin' as ['indx', 'name', 'rang']
|
||||
# element 'Clas' as ['indx', 'name']
|
||||
|
||||
class character(aetools.ComponentItem):
|
||||
"""character - A character"""
|
||||
want = 'cha '
|
||||
class offset(aetools.NProperty):
|
||||
"""offset - offset of a text object from the beginning of the document (first char has offset 1)"""
|
||||
which = 'pOff'
|
||||
want = 'long'
|
||||
class length(aetools.NProperty):
|
||||
"""length - length in characters of this object"""
|
||||
which = 'pLen'
|
||||
want = 'long'
|
||||
|
||||
class document(aetools.ComponentItem):
|
||||
"""document - A document"""
|
||||
want = 'docu'
|
||||
class file(aetools.NProperty):
|
||||
"""file - The file of the document"""
|
||||
which = 'file'
|
||||
want = 'fss '
|
||||
class index(aetools.NProperty):
|
||||
"""index - the number of the document"""
|
||||
which = 'pidx'
|
||||
want = 'long'
|
||||
class mode(aetools.NProperty):
|
||||
"""mode - The document¹s open mode"""
|
||||
which = 'Mode'
|
||||
want = 'Mode'
|
||||
class modified(aetools.NProperty):
|
||||
"""modified - Has the document been modified since the last save?"""
|
||||
which = 'imod'
|
||||
want = 'bool'
|
||||
class name(aetools.NProperty):
|
||||
"""name - the title of the document"""
|
||||
which = 'pnam'
|
||||
want = 'itxt'
|
||||
class selection(aetools.NProperty):
|
||||
"""selection - the selection visible to the user"""
|
||||
which = 'sele'
|
||||
want = 'csel'
|
||||
class window(aetools.NProperty):
|
||||
"""window - The window of this document."""
|
||||
which = 'cwin'
|
||||
want = 'cwin'
|
||||
# element 'cha ' as ['indx', 'rele', 'rang', 'test']
|
||||
# element 'cins' as ['rele']
|
||||
# element 'clin' as ['indx', 'rang', 'rele']
|
||||
# element 'ctxt' as ['rang']
|
||||
|
||||
documents = document
|
||||
|
||||
class file(aetools.ComponentItem):
|
||||
"""file - A file"""
|
||||
want = 'file'
|
||||
|
||||
files = file
|
||||
|
||||
class insertion_point(aetools.ComponentItem):
|
||||
"""insertion point - An insertion location between two objects"""
|
||||
want = 'cins'
|
||||
# repeated property length length of text object (in characters)
|
||||
# repeated property offset offset of a text object from the beginning of the document (first char has offset 1)
|
||||
|
||||
class line(aetools.ComponentItem):
|
||||
"""line - Lines of text"""
|
||||
want = 'clin'
|
||||
# repeated property index index of a line object from the beginning of the document (first line has index 1)
|
||||
# repeated property offset offset (in characters) of a line object from the beginning of the document
|
||||
# repeated property length length in characters of this object
|
||||
# element 'cha ' as ['indx', 'rang', 'rele']
|
||||
|
||||
lines = line
|
||||
|
||||
class selection_2d_object(aetools.ComponentItem):
|
||||
"""selection-object - the selection visible to the user"""
|
||||
want = 'csel'
|
||||
class contents(aetools.NProperty):
|
||||
"""contents - the contents of the selection"""
|
||||
which = 'pcnt'
|
||||
want = 'type'
|
||||
# repeated property length length of text object (in characters)
|
||||
# repeated property offset offset of a text object from the beginning of the document (first char has offset 1)
|
||||
# element 'cha ' as ['indx', 'rele', 'rang', 'test']
|
||||
# element 'clin' as ['indx', 'rang', 'rele']
|
||||
# element 'ctxt' as ['rang']
|
||||
|
||||
class text(aetools.ComponentItem):
|
||||
"""text - Text"""
|
||||
want = 'ctxt'
|
||||
# repeated property length length of text object (in characters)
|
||||
# repeated property offset offset of a text object from the beginning of the document (first char has offset 1)
|
||||
# element 'cha ' as ['indx', 'rele', 'rang']
|
||||
# element 'cins' as ['rele']
|
||||
# element 'clin' as ['indx', 'rang', 'rele']
|
||||
# element 'ctxt' as ['rang']
|
||||
|
||||
class window(aetools.ComponentItem):
|
||||
"""window - A window"""
|
||||
want = 'cwin'
|
||||
# repeated property name the title of the window
|
||||
# repeated property index the number of the window
|
||||
class bounds(aetools.NProperty):
|
||||
"""bounds - the boundary rectangle for the window"""
|
||||
which = 'pbnd'
|
||||
want = 'qdrt'
|
||||
class document(aetools.NProperty):
|
||||
"""document - the document object that owns this window"""
|
||||
which = 'docu'
|
||||
want = 'docu'
|
||||
class position(aetools.NProperty):
|
||||
"""position - upper left coordinates of window"""
|
||||
which = 'ppos'
|
||||
want = 'QDpt'
|
||||
class visible(aetools.NProperty):
|
||||
"""visible - is the window visible?"""
|
||||
which = 'pvis'
|
||||
want = 'bool'
|
||||
class zoomed(aetools.NProperty):
|
||||
"""zoomed - Is the window zoomed?"""
|
||||
which = 'pzum'
|
||||
want = 'bool'
|
||||
|
||||
windows = window
|
||||
# XXXX application element 'Clas' not found!!
|
||||
application._propdict = {
|
||||
'user_interaction' : user_interaction,
|
||||
}
|
||||
application._elemdict = {
|
||||
'document' : document,
|
||||
'window' : window,
|
||||
}
|
||||
character._propdict = {
|
||||
'offset' : offset,
|
||||
'length' : length,
|
||||
}
|
||||
character._elemdict = {
|
||||
}
|
||||
document._propdict = {
|
||||
'file' : file,
|
||||
'index' : index,
|
||||
'mode' : mode,
|
||||
'modified' : modified,
|
||||
'name' : name,
|
||||
'selection' : selection,
|
||||
'window' : window,
|
||||
}
|
||||
document._elemdict = {
|
||||
'character' : character,
|
||||
'insertion_point' : insertion_point,
|
||||
'line' : line,
|
||||
'text' : text,
|
||||
}
|
||||
file._propdict = {
|
||||
}
|
||||
file._elemdict = {
|
||||
}
|
||||
insertion_point._propdict = {
|
||||
'length' : length,
|
||||
'offset' : offset,
|
||||
}
|
||||
insertion_point._elemdict = {
|
||||
}
|
||||
line._propdict = {
|
||||
'index' : index,
|
||||
'offset' : offset,
|
||||
'length' : length,
|
||||
}
|
||||
line._elemdict = {
|
||||
'character' : character,
|
||||
}
|
||||
selection_2d_object._propdict = {
|
||||
'contents' : contents,
|
||||
'length' : length,
|
||||
'offset' : offset,
|
||||
}
|
||||
selection_2d_object._elemdict = {
|
||||
'character' : character,
|
||||
'line' : line,
|
||||
'text' : text,
|
||||
}
|
||||
text._propdict = {
|
||||
'length' : length,
|
||||
'offset' : offset,
|
||||
}
|
||||
text._elemdict = {
|
||||
'character' : character,
|
||||
'insertion_point' : insertion_point,
|
||||
'line' : line,
|
||||
'text' : text,
|
||||
}
|
||||
window._propdict = {
|
||||
'name' : name,
|
||||
'index' : index,
|
||||
'bounds' : bounds,
|
||||
'document' : document,
|
||||
'position' : position,
|
||||
'visible' : visible,
|
||||
'zoomed' : zoomed,
|
||||
}
|
||||
window._elemdict = {
|
||||
}
|
||||
# XXXX enum savo not found!!
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'docu' : document,
|
||||
'cins' : insertion_point,
|
||||
'capp' : application,
|
||||
'ctxt' : text,
|
||||
'csel' : selection_2d_object,
|
||||
'clin' : line,
|
||||
'file' : file,
|
||||
'cwin' : window,
|
||||
'cha ' : character,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'pzum' : zoomed,
|
||||
'pOff' : offset,
|
||||
'pLen' : length,
|
||||
'pnam' : name,
|
||||
'file' : file,
|
||||
'pcnt' : contents,
|
||||
'cwin' : window,
|
||||
'ppos' : position,
|
||||
'pidx' : index,
|
||||
'docu' : document,
|
||||
'pvis' : visible,
|
||||
'sele' : selection,
|
||||
'pbnd' : bounds,
|
||||
'imod' : modified,
|
||||
'Mode' : mode,
|
||||
'inte' : user_interaction,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
}
|
@ -1,9 +1,10 @@
|
||||
"""Suite 7.0 Finder Suite: This is the original Finder suite. These events will be supported in the future, but the syntax may be changed in a future Finder release.
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Systeemmap:Finder
|
||||
Generated from flap:System Folder:Finder
|
||||
AETE/AEUT resource version 0/149, language 0, script 0
|
||||
"""
|
||||
# XXXX Hand edited to change the classname
|
||||
|
||||
import aetools
|
||||
import MacOS
|
||||
@ -308,3 +309,18 @@ class Finder_7_0_Suite:
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
}
|
1632
Mac/Lib/scripting/Finder_Suite.py
Normal file
1632
Mac/Lib/scripting/Finder_Suite.py
Normal file
File diff suppressed because it is too large
Load Diff
1820
Mac/Lib/scripting/Metrowerks_Shell_Suite.py
Normal file
1820
Mac/Lib/scripting/Metrowerks_Shell_Suite.py
Normal file
File diff suppressed because it is too large
Load Diff
411
Mac/Lib/scripting/QuickDraw_Graphics_Suite.py
Normal file
411
Mac/Lib/scripting/QuickDraw_Graphics_Suite.py
Normal file
@ -0,0 +1,411 @@
|
||||
"""Suite QuickDraw Graphics Suite: A set of basic classes for graphics
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:System Folder:Extensions:Scripting Additions:Dialects:English Dialect
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
import aetools
|
||||
import MacOS
|
||||
|
||||
_code = 'qdrw'
|
||||
|
||||
class QuickDraw_Graphics_Suite:
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class arc(aetools.ComponentItem):
|
||||
"""arc - An arc"""
|
||||
want = 'carc'
|
||||
class arc_angle(aetools.NProperty):
|
||||
"""arc angle - Angle of the arc in degrees"""
|
||||
which = 'parc'
|
||||
want = 'fixd'
|
||||
class bounds(aetools.NProperty):
|
||||
"""bounds - the smallest rectangle that contains the entire arc"""
|
||||
which = 'pbnd'
|
||||
want = 'qdrt'
|
||||
class _class(aetools.NProperty):
|
||||
"""class - the class"""
|
||||
which = 'pcls'
|
||||
want = 'type'
|
||||
class definition_rect(aetools.NProperty):
|
||||
"""definition rect - the rectangle that contains the circle or oval used to define the arc"""
|
||||
which = 'pdrt'
|
||||
want = 'qdrt'
|
||||
class fill_color(aetools.NProperty):
|
||||
"""fill color - the fill color"""
|
||||
which = 'flcl'
|
||||
want = 'cRGB'
|
||||
class fill_pattern(aetools.NProperty):
|
||||
"""fill pattern - the fill pattern"""
|
||||
which = 'flpt'
|
||||
want = 'cpix'
|
||||
class pen_color(aetools.NProperty):
|
||||
"""pen color - the pen color"""
|
||||
which = 'ppcl'
|
||||
want = 'cRGB'
|
||||
class pen_pattern(aetools.NProperty):
|
||||
"""pen pattern - the pen pattern"""
|
||||
which = 'pppa'
|
||||
want = 'cpix'
|
||||
class pen_width(aetools.NProperty):
|
||||
"""pen width - the pen width"""
|
||||
which = 'ppwd'
|
||||
want = 'shor'
|
||||
class start_angle(aetools.NProperty):
|
||||
"""start angle - the angle that defines the start of the arc, in degrees"""
|
||||
which = 'pang'
|
||||
want = 'fixd'
|
||||
class transfer_mode(aetools.NProperty):
|
||||
"""transfer mode - the transfer mode"""
|
||||
which = 'pptm'
|
||||
want = 'tran'
|
||||
|
||||
arcs = arc
|
||||
|
||||
class drawing_area(aetools.ComponentItem):
|
||||
"""drawing area - Container for graphics and supporting information"""
|
||||
want = 'cdrw'
|
||||
class background_color(aetools.NProperty):
|
||||
"""background color - the color used to fill in unoccupied areas"""
|
||||
which = 'pbcl'
|
||||
want = 'cRGB'
|
||||
class background_pattern(aetools.NProperty):
|
||||
"""background pattern - the pattern used to fill in unoccupied areas"""
|
||||
which = 'pbpt'
|
||||
want = 'cpix'
|
||||
class color_table(aetools.NProperty):
|
||||
"""color table - the color table"""
|
||||
which = 'cltb'
|
||||
want = 'clrt'
|
||||
class ordering(aetools.NProperty):
|
||||
"""ordering - the ordered list of graphic objects in the drawing area"""
|
||||
which = 'gobs'
|
||||
want = 'obj '
|
||||
class name(aetools.NProperty):
|
||||
"""name - the name"""
|
||||
which = 'pnam'
|
||||
want = 'itxt'
|
||||
class default_location(aetools.NProperty):
|
||||
"""default location - the default location of each new graphic object"""
|
||||
which = 'pnel'
|
||||
want = 'QDpt'
|
||||
class pixel_depth(aetools.NProperty):
|
||||
"""pixel depth - Bits per pixel"""
|
||||
which = 'pdpt'
|
||||
want = 'shor'
|
||||
class writing_code(aetools.NProperty):
|
||||
"""writing code - the script system and language of text objects in the drawing area"""
|
||||
which = 'psct'
|
||||
want = 'intl'
|
||||
class text_color(aetools.NProperty):
|
||||
"""text color - the default color for text objects"""
|
||||
which = 'ptxc'
|
||||
want = 'cRGB'
|
||||
class default_font(aetools.NProperty):
|
||||
"""default font - the name of the default font for text objects"""
|
||||
which = 'ptxf'
|
||||
want = 'itxt'
|
||||
class default_size(aetools.NProperty):
|
||||
"""default size - the default size for text objects"""
|
||||
which = 'ptps'
|
||||
want = 'fixd'
|
||||
class style(aetools.NProperty):
|
||||
"""style - the default text style for text objects"""
|
||||
which = 'txst'
|
||||
want = 'tsty'
|
||||
class update_on_change(aetools.NProperty):
|
||||
"""update on change - Redraw after each change?"""
|
||||
which = 'pupd'
|
||||
want = 'bool'
|
||||
|
||||
drawing_areas = drawing_area
|
||||
|
||||
class graphic_line(aetools.ComponentItem):
|
||||
"""graphic line - A graphic line"""
|
||||
want = 'glin'
|
||||
class dash_style(aetools.NProperty):
|
||||
"""dash style - the dash style"""
|
||||
which = 'pdst'
|
||||
want = 'tdas'
|
||||
class end_point(aetools.NProperty):
|
||||
"""end point - the ending point of the line"""
|
||||
which = 'pend'
|
||||
want = 'QDpt'
|
||||
class arrow_style(aetools.NProperty):
|
||||
"""arrow style - the arrow style"""
|
||||
which = 'arro'
|
||||
want = 'arro'
|
||||
class start_point(aetools.NProperty):
|
||||
"""start point - the starting point of the line"""
|
||||
which = 'pstp'
|
||||
want = 'QDpt'
|
||||
|
||||
graphic_lines = graphic_line
|
||||
|
||||
class graphic_object(aetools.ComponentItem):
|
||||
"""graphic object - A graphic object"""
|
||||
want = 'cgob'
|
||||
|
||||
graphic_objects = graphic_object
|
||||
|
||||
class graphic_shape(aetools.ComponentItem):
|
||||
"""graphic shape - A graphic shape"""
|
||||
want = 'cgsh'
|
||||
|
||||
graphic_shapes = graphic_shape
|
||||
|
||||
class graphic_text(aetools.ComponentItem):
|
||||
"""graphic text - A series of characters within a drawing area"""
|
||||
want = 'cgtx'
|
||||
class color(aetools.NProperty):
|
||||
"""color - the color of the first character"""
|
||||
which = 'colr'
|
||||
want = 'cRGB'
|
||||
class font(aetools.NProperty):
|
||||
"""font - the name of the font of the first character"""
|
||||
which = 'font'
|
||||
want = 'ctxt'
|
||||
class size(aetools.NProperty):
|
||||
"""size - the size in points of the first character"""
|
||||
which = 'ptsz'
|
||||
want = 'fixd'
|
||||
class uniform_styles(aetools.NProperty):
|
||||
"""uniform styles - the text styles that are uniform throughout the text"""
|
||||
which = 'ustl'
|
||||
want = 'tsty'
|
||||
|
||||
class graphic_group(aetools.ComponentItem):
|
||||
"""graphic group - Group of graphics"""
|
||||
want = 'cpic'
|
||||
|
||||
graphic_groups = graphic_group
|
||||
|
||||
class oval(aetools.ComponentItem):
|
||||
"""oval - An oval"""
|
||||
want = 'covl'
|
||||
|
||||
ovals = oval
|
||||
|
||||
class pixel(aetools.ComponentItem):
|
||||
"""pixel - A pixel"""
|
||||
want = 'cpxl'
|
||||
# repeated property color the color
|
||||
|
||||
pixels = pixel
|
||||
|
||||
class pixel_map(aetools.ComponentItem):
|
||||
"""pixel map - A pixel map"""
|
||||
want = 'cpix'
|
||||
|
||||
pixel_maps = pixel_map
|
||||
|
||||
class polygon(aetools.ComponentItem):
|
||||
"""polygon - A polygon"""
|
||||
want = 'cpgn'
|
||||
class point_list(aetools.NProperty):
|
||||
"""point list - the list of points that define the polygon"""
|
||||
which = 'ptlt'
|
||||
want = 'QDpt'
|
||||
|
||||
polygons = polygon
|
||||
|
||||
class rectangle(aetools.ComponentItem):
|
||||
"""rectangle - A rectangle"""
|
||||
want = 'crec'
|
||||
|
||||
rectangles = rectangle
|
||||
|
||||
class rounded_rectangle(aetools.ComponentItem):
|
||||
"""rounded rectangle - A rounded rectangle"""
|
||||
want = 'crrc'
|
||||
class corner_curve_height(aetools.NProperty):
|
||||
"""corner curve height - the height of the oval used to define the shape of the rounded corners"""
|
||||
which = 'pchd'
|
||||
want = 'shor'
|
||||
class corner_curve_width(aetools.NProperty):
|
||||
"""corner curve width - the width of the oval used to define the shape of the rounded corners"""
|
||||
which = 'pcwd'
|
||||
want = 'shor'
|
||||
|
||||
rounded_rectangles = rounded_rectangle
|
||||
arc._propdict = {
|
||||
'arc_angle' : arc_angle,
|
||||
'bounds' : bounds,
|
||||
'_class' : _class,
|
||||
'definition_rect' : definition_rect,
|
||||
'fill_color' : fill_color,
|
||||
'fill_pattern' : fill_pattern,
|
||||
'pen_color' : pen_color,
|
||||
'pen_pattern' : pen_pattern,
|
||||
'pen_width' : pen_width,
|
||||
'start_angle' : start_angle,
|
||||
'transfer_mode' : transfer_mode,
|
||||
}
|
||||
arc._elemdict = {
|
||||
}
|
||||
drawing_area._propdict = {
|
||||
'background_color' : background_color,
|
||||
'background_pattern' : background_pattern,
|
||||
'color_table' : color_table,
|
||||
'ordering' : ordering,
|
||||
'name' : name,
|
||||
'default_location' : default_location,
|
||||
'pixel_depth' : pixel_depth,
|
||||
'writing_code' : writing_code,
|
||||
'text_color' : text_color,
|
||||
'default_font' : default_font,
|
||||
'default_size' : default_size,
|
||||
'style' : style,
|
||||
'update_on_change' : update_on_change,
|
||||
}
|
||||
drawing_area._elemdict = {
|
||||
}
|
||||
graphic_line._propdict = {
|
||||
'dash_style' : dash_style,
|
||||
'end_point' : end_point,
|
||||
'arrow_style' : arrow_style,
|
||||
'start_point' : start_point,
|
||||
}
|
||||
graphic_line._elemdict = {
|
||||
}
|
||||
graphic_object._propdict = {
|
||||
}
|
||||
graphic_object._elemdict = {
|
||||
}
|
||||
graphic_shape._propdict = {
|
||||
}
|
||||
graphic_shape._elemdict = {
|
||||
}
|
||||
graphic_text._propdict = {
|
||||
'color' : color,
|
||||
'font' : font,
|
||||
'size' : size,
|
||||
'uniform_styles' : uniform_styles,
|
||||
}
|
||||
graphic_text._elemdict = {
|
||||
}
|
||||
graphic_group._propdict = {
|
||||
}
|
||||
graphic_group._elemdict = {
|
||||
}
|
||||
oval._propdict = {
|
||||
}
|
||||
oval._elemdict = {
|
||||
}
|
||||
pixel._propdict = {
|
||||
'color' : color,
|
||||
}
|
||||
pixel._elemdict = {
|
||||
}
|
||||
pixel_map._propdict = {
|
||||
}
|
||||
pixel_map._elemdict = {
|
||||
}
|
||||
polygon._propdict = {
|
||||
'point_list' : point_list,
|
||||
}
|
||||
polygon._elemdict = {
|
||||
}
|
||||
rectangle._propdict = {
|
||||
}
|
||||
rectangle._elemdict = {
|
||||
}
|
||||
rounded_rectangle._propdict = {
|
||||
'corner_curve_height' : corner_curve_height,
|
||||
'corner_curve_width' : corner_curve_width,
|
||||
}
|
||||
rounded_rectangle._elemdict = {
|
||||
}
|
||||
_Enum_tran = {
|
||||
'copy_pixels' : 'cpy ', #
|
||||
'not_copy_pixels' : 'ncpy', #
|
||||
'or_pixels' : 'or ', #
|
||||
'not_or_pixels' : 'ntor', #
|
||||
'bic_pixels' : 'bic ', #
|
||||
'not_bic_pixels' : 'nbic', #
|
||||
'xor_pixels' : 'xor ', #
|
||||
'not_xor_pixels' : 'nxor', #
|
||||
'add_over_pixels' : 'addo', #
|
||||
'add_pin_pixels' : 'addp', #
|
||||
'sub_over_pixels' : 'subo', #
|
||||
'sub_pin_pixels' : 'subp', #
|
||||
'ad_max_pixels' : 'admx', #
|
||||
'ad_min_pixels' : 'admn', #
|
||||
'blend_pixels' : 'blnd', #
|
||||
}
|
||||
|
||||
_Enum_arro = {
|
||||
'no_arrow' : 'arno', # No arrow on line
|
||||
'arrow_at_start' : 'arst', # Arrow at start of line
|
||||
'arrow_at_end' : 'aren', # Arrow at end of line
|
||||
'arrow_at_both_ends' : 'arbo', # Arrow at both the start and the end of the line
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'crec' : rectangle,
|
||||
'cpix' : pixel_map,
|
||||
'carc' : arc,
|
||||
'cgsh' : graphic_shape,
|
||||
'cpxl' : pixel,
|
||||
'crrc' : rounded_rectangle,
|
||||
'cpgn' : polygon,
|
||||
'cdrw' : drawing_area,
|
||||
'cgob' : graphic_object,
|
||||
'glin' : graphic_line,
|
||||
'cgtx' : graphic_text,
|
||||
'covl' : oval,
|
||||
'cpic' : graphic_group,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'pend' : end_point,
|
||||
'pupd' : update_on_change,
|
||||
'pstp' : start_point,
|
||||
'pdrt' : definition_rect,
|
||||
'pnam' : name,
|
||||
'pbcl' : background_color,
|
||||
'pptm' : transfer_mode,
|
||||
'pnel' : default_location,
|
||||
'pdpt' : pixel_depth,
|
||||
'gobs' : ordering,
|
||||
'ustl' : uniform_styles,
|
||||
'ptlt' : point_list,
|
||||
'pdst' : dash_style,
|
||||
'psct' : writing_code,
|
||||
'txst' : style,
|
||||
'font' : font,
|
||||
'pchd' : corner_curve_height,
|
||||
'pcls' : _class,
|
||||
'ppwd' : pen_width,
|
||||
'ptps' : default_size,
|
||||
'ppcl' : pen_color,
|
||||
'ptxf' : default_font,
|
||||
'pcwd' : corner_curve_width,
|
||||
'ptxc' : text_color,
|
||||
'cltb' : color_table,
|
||||
'pppa' : pen_pattern,
|
||||
'pang' : start_angle,
|
||||
'flpt' : fill_pattern,
|
||||
'colr' : color,
|
||||
'arro' : arrow_style,
|
||||
'pbnd' : bounds,
|
||||
'ptsz' : size,
|
||||
'parc' : arc_angle,
|
||||
'flcl' : fill_color,
|
||||
'pbpt' : background_pattern,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
'tran' : _Enum_tran,
|
||||
'arro' : _Enum_arro,
|
||||
}
|
71
Mac/Lib/scripting/QuickDraw_Graphics_Supplemental
Normal file
71
Mac/Lib/scripting/QuickDraw_Graphics_Supplemental
Normal file
@ -0,0 +1,71 @@
|
||||
"""Suite QuickDraw Graphics Supplemental Suite: Defines transformations of graphic objects
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:System Folder:Extensions:Scripting Additions:Dialects:English Dialect
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
import aetools
|
||||
import MacOS
|
||||
|
||||
_code = 'qdsp'
|
||||
|
||||
class QuickDraw_Graphics_Supplemental_Suite:
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class drawing_area(aetools.ComponentItem):
|
||||
"""drawing area - Container for graphics and supporting information"""
|
||||
want = 'cdrw'
|
||||
class rotation(aetools.NProperty):
|
||||
"""rotation - the default rotation for objects in the drawing area"""
|
||||
which = 'prot'
|
||||
want = 'trot'
|
||||
class scale(aetools.NProperty):
|
||||
"""scale - the default scaling for objects in the drawing area"""
|
||||
which = 'pscl'
|
||||
want = 'fixd'
|
||||
class translation(aetools.NProperty):
|
||||
"""translation - the default repositioning for objects in the drawing area"""
|
||||
which = 'ptrs'
|
||||
want = 'QDpt'
|
||||
|
||||
drawing_areas = drawing_area
|
||||
|
||||
class graphic_group(aetools.ComponentItem):
|
||||
"""graphic group - Group of graphics"""
|
||||
want = 'cpic'
|
||||
|
||||
graphic_groups = graphic_group
|
||||
drawing_area._propdict = {
|
||||
'rotation' : rotation,
|
||||
'scale' : scale,
|
||||
'translation' : translation,
|
||||
}
|
||||
drawing_area._elemdict = {
|
||||
}
|
||||
graphic_group._propdict = {
|
||||
}
|
||||
graphic_group._elemdict = {
|
||||
}
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'cpic' : graphic_group,
|
||||
'cdrw' : drawing_area,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'prot' : rotation,
|
||||
'pscl' : scale,
|
||||
'ptrs' : translation,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
"""Suite Required Suite: Terms that every application should support
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Systeemmap:Extensies:Script-extra's:Dialecten:Engels dialect
|
||||
Generated from flap:System Folder:Extensions:Scripting Additions:Dialects:English Dialect
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
@ -90,3 +90,18 @@ class Required_Suite:
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
"""Suite Standard Suite: Common terms for most applications
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Systeemmap:Extensies:Script-extra's:Dialecten:Engels dialect
|
||||
Generated from flap:System Folder:Extensions:Scripting Additions:Dialects:English Dialect
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
@ -10,36 +10,6 @@ import MacOS
|
||||
|
||||
_code = 'core'
|
||||
|
||||
_Enum_savo = {
|
||||
'yes' : 'yes ', # Save objects now
|
||||
'no' : 'no ', # Do not save objects
|
||||
'ask' : 'ask ', # Ask the user whether to save
|
||||
}
|
||||
|
||||
_Enum_kfrm = {
|
||||
'index' : 'indx', # keyform designating indexed access
|
||||
'named' : 'name', # keyform designating named access
|
||||
'id' : 'ID ', # keyform designating access by unique identifier
|
||||
}
|
||||
|
||||
_Enum_styl = {
|
||||
'plain' : 'plan', # Plain
|
||||
'bold' : 'bold', # Bold
|
||||
'italic' : 'ital', # Italic
|
||||
'outline' : 'outl', # Outline
|
||||
'shadow' : 'shad', # Shadow
|
||||
'underline' : 'undl', # Underline
|
||||
'superscript' : 'spsc', # Superscript
|
||||
'subscript' : 'sbsc', # Subscript
|
||||
'strikethrough' : 'strk', # Strikethrough
|
||||
'small_caps' : 'smcp', # Small caps
|
||||
'all_caps' : 'alcp', # All capital letters
|
||||
'all_lowercase' : 'lowc', # Lowercase
|
||||
'condensed' : 'cond', # Condensed
|
||||
'expanded' : 'pexp', # Expanded
|
||||
'hidden' : 'hidn', # Hidden
|
||||
}
|
||||
|
||||
class Standard_Suite:
|
||||
|
||||
_argmap_class_info = {
|
||||
@ -417,77 +387,327 @@ class Standard_Suite:
|
||||
return _arguments['----']
|
||||
|
||||
|
||||
# Class 'application' ('capp') -- 'An application program'
|
||||
# property 'clipboard' ('pcli') '****' -- 'the clipboard' [mutable list]
|
||||
# property 'frontmost' ('pisf') 'bool' -- 'Is this the frontmost application?' []
|
||||
# property 'name' ('pnam') 'itxt' -- 'the name' []
|
||||
# property 'selection' ('sele') 'csel' -- 'the selection visible to the user' [mutable]
|
||||
# property 'version' ('vers') 'vers' -- 'the version of the application' []
|
||||
class application(aetools.ComponentItem):
|
||||
"""application - An application program"""
|
||||
want = 'capp'
|
||||
class clipboard(aetools.NProperty):
|
||||
"""clipboard - the clipboard"""
|
||||
which = 'pcli'
|
||||
want = '****'
|
||||
class frontmost(aetools.NProperty):
|
||||
"""frontmost - Is this the frontmost application?"""
|
||||
which = 'pisf'
|
||||
want = 'bool'
|
||||
class name(aetools.NProperty):
|
||||
"""name - the name"""
|
||||
which = 'pnam'
|
||||
want = 'itxt'
|
||||
class selection(aetools.NProperty):
|
||||
"""selection - the selection visible to the user"""
|
||||
which = 'sele'
|
||||
want = 'csel'
|
||||
class version(aetools.NProperty):
|
||||
"""version - the version of the application"""
|
||||
which = 'vers'
|
||||
want = 'vers'
|
||||
|
||||
# Class 'applications' ('capp') -- 'Every application'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
applications = application
|
||||
|
||||
# Class 'character' ('cha ') -- 'A character'
|
||||
# property 'color' ('colr') 'cRGB' -- 'the color' [mutable]
|
||||
# property 'font' ('font') 'ctxt' -- 'the name of the font' [mutable]
|
||||
# property 'size' ('ptsz') 'fixd' -- 'the size in points' [mutable]
|
||||
# property 'writing code' ('psct') 'intl' -- 'the script system and language' []
|
||||
# property 'style' ('txst') 'tsty' -- 'the text style' [mutable]
|
||||
# property 'uniform styles' ('ustl') 'tsty' -- 'the text style' []
|
||||
class character(aetools.ComponentItem):
|
||||
"""character - A character"""
|
||||
want = 'cha '
|
||||
class color(aetools.NProperty):
|
||||
"""color - the color"""
|
||||
which = 'colr'
|
||||
want = 'cRGB'
|
||||
class font(aetools.NProperty):
|
||||
"""font - the name of the font"""
|
||||
which = 'font'
|
||||
want = 'ctxt'
|
||||
class size(aetools.NProperty):
|
||||
"""size - the size in points"""
|
||||
which = 'ptsz'
|
||||
want = 'fixd'
|
||||
class writing_code(aetools.NProperty):
|
||||
"""writing code - the script system and language"""
|
||||
which = 'psct'
|
||||
want = 'intl'
|
||||
class style(aetools.NProperty):
|
||||
"""style - the text style"""
|
||||
which = 'txst'
|
||||
want = 'tsty'
|
||||
class uniform_styles(aetools.NProperty):
|
||||
"""uniform styles - the text style"""
|
||||
which = 'ustl'
|
||||
want = 'tsty'
|
||||
|
||||
# Class 'characters' ('cha ') -- 'Every character'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
characters = character
|
||||
|
||||
# Class 'document' ('docu') -- 'A document'
|
||||
# property 'modified' ('imod') 'bool' -- 'Has the document been modified since the last save?' []
|
||||
class document(aetools.ComponentItem):
|
||||
"""document - A document"""
|
||||
want = 'docu'
|
||||
class modified(aetools.NProperty):
|
||||
"""modified - Has the document been modified since the last save?"""
|
||||
which = 'imod'
|
||||
want = 'bool'
|
||||
|
||||
# Class 'documents' ('docu') -- 'Every document'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
documents = document
|
||||
|
||||
# Class 'file' ('file') -- 'A file'
|
||||
# property 'stationery' ('pspd') 'bool' -- 'Is the file a stationery file?' [mutable]
|
||||
class file(aetools.ComponentItem):
|
||||
"""file - A file"""
|
||||
want = 'file'
|
||||
class stationery(aetools.NProperty):
|
||||
"""stationery - Is the file a stationery file?"""
|
||||
which = 'pspd'
|
||||
want = 'bool'
|
||||
|
||||
# Class 'files' ('file') -- 'Every file'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
files = file
|
||||
|
||||
# Class 'selection-object' ('csel') -- 'the selection visible to the user'
|
||||
# property 'contents' ('pcnt') 'type' -- 'the contents of the selection' []
|
||||
class selection_2d_object(aetools.ComponentItem):
|
||||
"""selection-object - the selection visible to the user"""
|
||||
want = 'csel'
|
||||
class contents(aetools.NProperty):
|
||||
"""contents - the contents of the selection"""
|
||||
which = 'pcnt'
|
||||
want = 'type'
|
||||
|
||||
# Class 'text' ('ctxt') -- 'Text'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
# property 'font' ('font') 'ctxt' -- 'the name of the font of the first character' [mutable]
|
||||
class text(aetools.ComponentItem):
|
||||
"""text - Text"""
|
||||
want = 'ctxt'
|
||||
# repeated property font the name of the font of the first character
|
||||
|
||||
# Class 'text style info' ('tsty') -- 'On and Off styles of text run'
|
||||
# property 'on styles' ('onst') 'styl' -- 'the styles that are on for the text' [enum list]
|
||||
# property 'off styles' ('ofst') 'styl' -- 'the styles that are off for the text' [enum list]
|
||||
class text_style_info(aetools.ComponentItem):
|
||||
"""text style info - On and Off styles of text run"""
|
||||
want = 'tsty'
|
||||
class on_styles(aetools.NProperty):
|
||||
"""on styles - the styles that are on for the text"""
|
||||
which = 'onst'
|
||||
want = 'styl'
|
||||
class off_styles(aetools.NProperty):
|
||||
"""off styles - the styles that are off for the text"""
|
||||
which = 'ofst'
|
||||
want = 'styl'
|
||||
|
||||
# Class 'text style infos' ('tsty') -- 'every text style info'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
text_style_infos = text_style_info
|
||||
|
||||
# Class 'window' ('cwin') -- 'A window'
|
||||
# property 'bounds' ('pbnd') 'qdrt' -- 'the boundary rectangle for the window' [mutable]
|
||||
# property 'closeable' ('hclb') 'bool' -- 'Does the window have a close box?' []
|
||||
# property 'titled' ('ptit') 'bool' -- 'Does the window have a title bar?' []
|
||||
# property 'index' ('pidx') 'long' -- 'the number of the window' [mutable]
|
||||
# property 'floating' ('isfl') 'bool' -- 'Does the window float?' []
|
||||
# property 'modal' ('pmod') 'bool' -- 'Is the window modal?' []
|
||||
# property 'resizable' ('prsz') 'bool' -- 'Is the window resizable?' []
|
||||
# property 'zoomable' ('iszm') 'bool' -- 'Is the window zoomable?' []
|
||||
# property 'zoomed' ('pzum') 'bool' -- 'Is the window zoomed?' [mutable]
|
||||
# property 'visible' ('pvis') 'bool' -- 'Is the window visible?' [mutable]
|
||||
class window(aetools.ComponentItem):
|
||||
"""window - A window"""
|
||||
want = 'cwin'
|
||||
class bounds(aetools.NProperty):
|
||||
"""bounds - the boundary rectangle for the window"""
|
||||
which = 'pbnd'
|
||||
want = 'qdrt'
|
||||
class closeable(aetools.NProperty):
|
||||
"""closeable - Does the window have a close box?"""
|
||||
which = 'hclb'
|
||||
want = 'bool'
|
||||
class titled(aetools.NProperty):
|
||||
"""titled - Does the window have a title bar?"""
|
||||
which = 'ptit'
|
||||
want = 'bool'
|
||||
class index(aetools.NProperty):
|
||||
"""index - the number of the window"""
|
||||
which = 'pidx'
|
||||
want = 'long'
|
||||
class floating(aetools.NProperty):
|
||||
"""floating - Does the window float?"""
|
||||
which = 'isfl'
|
||||
want = 'bool'
|
||||
class modal(aetools.NProperty):
|
||||
"""modal - Is the window modal?"""
|
||||
which = 'pmod'
|
||||
want = 'bool'
|
||||
class resizable(aetools.NProperty):
|
||||
"""resizable - Is the window resizable?"""
|
||||
which = 'prsz'
|
||||
want = 'bool'
|
||||
class zoomable(aetools.NProperty):
|
||||
"""zoomable - Is the window zoomable?"""
|
||||
which = 'iszm'
|
||||
want = 'bool'
|
||||
class zoomed(aetools.NProperty):
|
||||
"""zoomed - Is the window zoomed?"""
|
||||
which = 'pzum'
|
||||
want = 'bool'
|
||||
class visible(aetools.NProperty):
|
||||
"""visible - Is the window visible?"""
|
||||
which = 'pvis'
|
||||
want = 'bool'
|
||||
|
||||
# Class 'windows' ('cwin') -- 'Every window'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
windows = window
|
||||
|
||||
# Class 'insertion point' ('cins') -- 'An insertion location between two objects'
|
||||
class insertion_point(aetools.ComponentItem):
|
||||
"""insertion point - An insertion location between two objects"""
|
||||
want = 'cins'
|
||||
|
||||
# Class 'insertion points' ('cins') -- 'Every insertion location'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
# comparison 'starts with' ('bgwt') -- Starts with
|
||||
# comparison 'contains' ('cont') -- Contains
|
||||
# comparison 'ends with' ('ends') -- Ends with
|
||||
# comparison '=' ('= ') -- Equal
|
||||
# comparison '>' ('> ') -- Greater than
|
||||
# comparison '\263' ('>= ') -- Greater than or equal to
|
||||
# comparison '<' ('< ') -- Less than
|
||||
# comparison '\262' ('<= ') -- Less than or equal to
|
||||
insertion_points = insertion_point
|
||||
application._propdict = {
|
||||
'clipboard' : clipboard,
|
||||
'frontmost' : frontmost,
|
||||
'name' : name,
|
||||
'selection' : selection,
|
||||
'version' : version,
|
||||
}
|
||||
application._elemdict = {
|
||||
}
|
||||
character._propdict = {
|
||||
'color' : color,
|
||||
'font' : font,
|
||||
'size' : size,
|
||||
'writing_code' : writing_code,
|
||||
'style' : style,
|
||||
'uniform_styles' : uniform_styles,
|
||||
}
|
||||
character._elemdict = {
|
||||
}
|
||||
document._propdict = {
|
||||
'modified' : modified,
|
||||
}
|
||||
document._elemdict = {
|
||||
}
|
||||
file._propdict = {
|
||||
'stationery' : stationery,
|
||||
}
|
||||
file._elemdict = {
|
||||
}
|
||||
selection_2d_object._propdict = {
|
||||
'contents' : contents,
|
||||
}
|
||||
selection_2d_object._elemdict = {
|
||||
}
|
||||
text._propdict = {
|
||||
'font' : font,
|
||||
}
|
||||
text._elemdict = {
|
||||
}
|
||||
text_style_info._propdict = {
|
||||
'on_styles' : on_styles,
|
||||
'off_styles' : off_styles,
|
||||
}
|
||||
text_style_info._elemdict = {
|
||||
}
|
||||
window._propdict = {
|
||||
'bounds' : bounds,
|
||||
'closeable' : closeable,
|
||||
'titled' : titled,
|
||||
'index' : index,
|
||||
'floating' : floating,
|
||||
'modal' : modal,
|
||||
'resizable' : resizable,
|
||||
'zoomable' : zoomable,
|
||||
'zoomed' : zoomed,
|
||||
'visible' : visible,
|
||||
}
|
||||
window._elemdict = {
|
||||
}
|
||||
insertion_point._propdict = {
|
||||
}
|
||||
insertion_point._elemdict = {
|
||||
}
|
||||
class starts_with(aetools.NComparison):
|
||||
"""starts with - Starts with"""
|
||||
class contains(aetools.NComparison):
|
||||
"""contains - Contains"""
|
||||
class ends_with(aetools.NComparison):
|
||||
"""ends with - Ends with"""
|
||||
class _3d_(aetools.NComparison):
|
||||
"""= - Equal"""
|
||||
class _3e_(aetools.NComparison):
|
||||
"""> - Greater than"""
|
||||
class _b3_(aetools.NComparison):
|
||||
"""„ - Greater than or equal to"""
|
||||
class _3c_(aetools.NComparison):
|
||||
"""< - Less than"""
|
||||
class _b2_(aetools.NComparison):
|
||||
"""¾ - Less than or equal to"""
|
||||
_Enum_savo = {
|
||||
'yes' : 'yes ', # Save objects now
|
||||
'no' : 'no ', # Do not save objects
|
||||
'ask' : 'ask ', # Ask the user whether to save
|
||||
}
|
||||
|
||||
_Enum_kfrm = {
|
||||
'index' : 'indx', # keyform designating indexed access
|
||||
'named' : 'name', # keyform designating named access
|
||||
'id' : 'ID ', # keyform designating access by unique identifier
|
||||
}
|
||||
|
||||
_Enum_styl = {
|
||||
'plain' : 'plan', # Plain
|
||||
'bold' : 'bold', # Bold
|
||||
'italic' : 'ital', # Italic
|
||||
'outline' : 'outl', # Outline
|
||||
'shadow' : 'shad', # Shadow
|
||||
'underline' : 'undl', # Underline
|
||||
'superscript' : 'spsc', # Superscript
|
||||
'subscript' : 'sbsc', # Subscript
|
||||
'strikethrough' : 'strk', # Strikethrough
|
||||
'small_caps' : 'smcp', # Small caps
|
||||
'all_caps' : 'alcp', # All capital letters
|
||||
'all_lowercase' : 'lowc', # Lowercase
|
||||
'condensed' : 'cond', # Condensed
|
||||
'expanded' : 'pexp', # Expanded
|
||||
'hidden' : 'hidn', # Hidden
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'docu' : document,
|
||||
'tsty' : text_style_info,
|
||||
'ctxt' : text,
|
||||
'capp' : application,
|
||||
'csel' : selection_2d_object,
|
||||
'file' : file,
|
||||
'cwin' : window,
|
||||
'cha ' : character,
|
||||
'cins' : insertion_point,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'ptit' : titled,
|
||||
'onst' : on_styles,
|
||||
'pnam' : name,
|
||||
'pcli' : clipboard,
|
||||
'ustl' : uniform_styles,
|
||||
'psct' : writing_code,
|
||||
'txst' : style,
|
||||
'pvis' : visible,
|
||||
'pspd' : stationery,
|
||||
'pisf' : frontmost,
|
||||
'sele' : selection,
|
||||
'pmod' : modal,
|
||||
'imod' : modified,
|
||||
'ofst' : off_styles,
|
||||
'ptsz' : size,
|
||||
'pzum' : zoomed,
|
||||
'hclb' : closeable,
|
||||
'font' : font,
|
||||
'pcnt' : contents,
|
||||
'isfl' : floating,
|
||||
'pidx' : index,
|
||||
'iszm' : zoomable,
|
||||
'colr' : color,
|
||||
'pbnd' : bounds,
|
||||
'vers' : version,
|
||||
'prsz' : resizable,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
'> ' : _3e_,
|
||||
'bgwt' : starts_with,
|
||||
'>= ' : _b3_,
|
||||
'= ' : _3d_,
|
||||
'<= ' : _b2_,
|
||||
'cont' : contains,
|
||||
'ends' : ends_with,
|
||||
'< ' : _3c_,
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
'styl' : _Enum_styl,
|
||||
'savo' : _Enum_savo,
|
||||
'kfrm' : _Enum_kfrm,
|
||||
}
|
@ -4,7 +4,7 @@
|
||||
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Programma's:Netscape Navigator<6F> Folder:Netscape Navigator<6F> 3.0
|
||||
Generated from flap:Programma's:Netscape Navigator<6F> Folder:Netscape Navigator<6F> 3.01
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
@ -45,3 +45,18 @@ class Standard_URL_suite:
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
}
|
106
Mac/Lib/scripting/Table_Suite.py
Normal file
106
Mac/Lib/scripting/Table_Suite.py
Normal file
@ -0,0 +1,106 @@
|
||||
"""Suite Table Suite: Classes for manipulating tables
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:System Folder:Extensions:Scripting Additions:Dialects:English Dialect
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
import aetools
|
||||
import MacOS
|
||||
|
||||
_code = 'tbls'
|
||||
|
||||
class Table_Suite:
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class cell(aetools.ComponentItem):
|
||||
"""cell - A cell"""
|
||||
want = 'ccel'
|
||||
class _class(aetools.NProperty):
|
||||
"""class - the class"""
|
||||
which = 'pcls'
|
||||
want = 'type'
|
||||
class formula(aetools.NProperty):
|
||||
"""formula - the formula of the cell"""
|
||||
which = 'pfor'
|
||||
want = 'ctxt'
|
||||
class protection(aetools.NProperty):
|
||||
"""protection - Indicates whether value or formula in the cell can be changed"""
|
||||
which = 'ppro'
|
||||
want = 'prtn'
|
||||
|
||||
cells = cell
|
||||
|
||||
class column(aetools.ComponentItem):
|
||||
"""column - A column"""
|
||||
want = 'ccol'
|
||||
class name(aetools.NProperty):
|
||||
"""name - the name"""
|
||||
which = 'pnam'
|
||||
want = 'itxt'
|
||||
|
||||
columns = column
|
||||
|
||||
class row(aetools.ComponentItem):
|
||||
"""row - A row"""
|
||||
want = 'crow'
|
||||
|
||||
rows = row
|
||||
|
||||
class table(aetools.ComponentItem):
|
||||
"""table - A table"""
|
||||
want = 'ctbl'
|
||||
|
||||
tables = table
|
||||
cell._propdict = {
|
||||
'_class' : _class,
|
||||
'formula' : formula,
|
||||
'protection' : protection,
|
||||
}
|
||||
cell._elemdict = {
|
||||
}
|
||||
column._propdict = {
|
||||
'name' : name,
|
||||
}
|
||||
column._elemdict = {
|
||||
}
|
||||
row._propdict = {
|
||||
}
|
||||
row._elemdict = {
|
||||
}
|
||||
table._propdict = {
|
||||
}
|
||||
table._elemdict = {
|
||||
}
|
||||
_Enum_prtn = {
|
||||
'read_only' : 'nmod', # Can't change values or formulas
|
||||
'formulas_protected' : 'fpro', # Can changes values but not formulas
|
||||
'read_2f_write' : 'modf', # Can change values and formulas
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'ccel' : cell,
|
||||
'ctbl' : table,
|
||||
'ccol' : column,
|
||||
'crow' : row,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'ppro' : protection,
|
||||
'pnam' : name,
|
||||
'pfor' : formula,
|
||||
'pcls' : _class,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
'prtn' : _Enum_prtn,
|
||||
}
|
186
Mac/Lib/scripting/Text_Suite.py
Normal file
186
Mac/Lib/scripting/Text_Suite.py
Normal file
@ -0,0 +1,186 @@
|
||||
"""Suite Text Suite: A set of basic classes for text processing
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:System Folder:Extensions:Scripting Additions:Dialects:English Dialect
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
import aetools
|
||||
import MacOS
|
||||
|
||||
_code = 'TEXT'
|
||||
|
||||
class Text_Suite:
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class character(aetools.ComponentItem):
|
||||
"""character - A character"""
|
||||
want = 'cha '
|
||||
class best_type(aetools.NProperty):
|
||||
"""best type - the best descriptor type"""
|
||||
which = 'pbst'
|
||||
want = 'type'
|
||||
class _class(aetools.NProperty):
|
||||
"""class - the class"""
|
||||
which = 'pcls'
|
||||
want = 'type'
|
||||
class color(aetools.NProperty):
|
||||
"""color - the color"""
|
||||
which = 'colr'
|
||||
want = 'cRGB'
|
||||
class default_type(aetools.NProperty):
|
||||
"""default type - the default descriptor type"""
|
||||
which = 'deft'
|
||||
want = 'type'
|
||||
class font(aetools.NProperty):
|
||||
"""font - the name of the font"""
|
||||
which = 'font'
|
||||
want = 'ctxt'
|
||||
class size(aetools.NProperty):
|
||||
"""size - the size in points"""
|
||||
which = 'ptsz'
|
||||
want = 'fixd'
|
||||
class writing_code(aetools.NProperty):
|
||||
"""writing code - the script system and language"""
|
||||
which = 'psct'
|
||||
want = 'intl'
|
||||
class style(aetools.NProperty):
|
||||
"""style - the text style"""
|
||||
which = 'txst'
|
||||
want = 'tsty'
|
||||
class uniform_styles(aetools.NProperty):
|
||||
"""uniform styles - the text style"""
|
||||
which = 'ustl'
|
||||
want = 'tsty'
|
||||
|
||||
class line(aetools.ComponentItem):
|
||||
"""line - A line of text"""
|
||||
want = 'clin'
|
||||
class justification(aetools.NProperty):
|
||||
"""justification - Justification of the text"""
|
||||
which = 'pjst'
|
||||
want = 'just'
|
||||
|
||||
lines = line
|
||||
|
||||
class paragraph(aetools.ComponentItem):
|
||||
"""paragraph - A paragraph"""
|
||||
want = 'cpar'
|
||||
|
||||
paragraphs = paragraph
|
||||
|
||||
class text(aetools.ComponentItem):
|
||||
"""text - Text"""
|
||||
want = 'ctxt'
|
||||
|
||||
class text_flow(aetools.ComponentItem):
|
||||
"""text flow - A contiguous block of text"""
|
||||
want = 'cflo'
|
||||
class name(aetools.NProperty):
|
||||
"""name - the name"""
|
||||
which = 'pnam'
|
||||
want = 'itxt'
|
||||
|
||||
text_flows = text_flow
|
||||
|
||||
class word(aetools.ComponentItem):
|
||||
"""word - A word"""
|
||||
want = 'cwor'
|
||||
|
||||
words = word
|
||||
character._propdict = {
|
||||
'best_type' : best_type,
|
||||
'_class' : _class,
|
||||
'color' : color,
|
||||
'default_type' : default_type,
|
||||
'font' : font,
|
||||
'size' : size,
|
||||
'writing_code' : writing_code,
|
||||
'style' : style,
|
||||
'uniform_styles' : uniform_styles,
|
||||
}
|
||||
character._elemdict = {
|
||||
}
|
||||
line._propdict = {
|
||||
'justification' : justification,
|
||||
}
|
||||
line._elemdict = {
|
||||
}
|
||||
paragraph._propdict = {
|
||||
}
|
||||
paragraph._elemdict = {
|
||||
}
|
||||
text._propdict = {
|
||||
}
|
||||
text._elemdict = {
|
||||
}
|
||||
text_flow._propdict = {
|
||||
'name' : name,
|
||||
}
|
||||
text_flow._elemdict = {
|
||||
}
|
||||
word._propdict = {
|
||||
}
|
||||
word._elemdict = {
|
||||
}
|
||||
_Enum_just = {
|
||||
'left' : 'left', # Align with left margin
|
||||
'right' : 'rght', # Align with right margin
|
||||
'center' : 'cent', # Align with center
|
||||
'full' : 'full', # Align with both left and right margins
|
||||
}
|
||||
|
||||
_Enum_styl = {
|
||||
'plain' : 'plan', # Plain
|
||||
'bold' : 'bold', # Bold
|
||||
'italic' : 'ital', # Italic
|
||||
'outline' : 'outl', # Outline
|
||||
'shadow' : 'shad', # Shadow
|
||||
'underline' : 'undl', # Underline
|
||||
'superscript' : 'spsc', # Superscript
|
||||
'subscript' : 'sbsc', # Subscript
|
||||
'strikethrough' : 'strk', # Strikethrough
|
||||
'small_caps' : 'smcp', # Small caps
|
||||
'all_caps' : 'alcp', # All capital letters
|
||||
'all_lowercase' : 'lowc', # Lowercase
|
||||
'condensed' : 'cond', # Condensed
|
||||
'expanded' : 'pexp', # Expanded
|
||||
'hidden' : 'hidn', # Hidden
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'cflo' : text_flow,
|
||||
'clin' : line,
|
||||
'ctxt' : text,
|
||||
'cha ' : character,
|
||||
'cwor' : word,
|
||||
'cpar' : paragraph,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'pbst' : best_type,
|
||||
'psct' : writing_code,
|
||||
'txst' : style,
|
||||
'colr' : color,
|
||||
'font' : font,
|
||||
'pnam' : name,
|
||||
'pcls' : _class,
|
||||
'deft' : default_type,
|
||||
'pjst' : justification,
|
||||
'ptsz' : size,
|
||||
'ustl' : uniform_styles,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
'styl' : _Enum_styl,
|
||||
'just' : _Enum_just,
|
||||
}
|
454
Mac/Lib/scripting/Type_Names_Suite.py
Normal file
454
Mac/Lib/scripting/Type_Names_Suite.py
Normal file
@ -0,0 +1,454 @@
|
||||
"""Suite Type Names Suite: Terminology for Registry data types
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:System Folder:Extensions:Scripting Additions:Dialects:English Dialect
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
import aetools
|
||||
import MacOS
|
||||
|
||||
_code = 'tpnm'
|
||||
|
||||
class Type_Names_Suite:
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class anything(aetools.ComponentItem):
|
||||
"""anything - various types of data"""
|
||||
want = '****'
|
||||
|
||||
class type_class(aetools.ComponentItem):
|
||||
"""type class - class name"""
|
||||
want = 'type'
|
||||
|
||||
class type_class_info(aetools.ComponentItem):
|
||||
"""type class info - information about properties and elements of a class"""
|
||||
want = 'gcli'
|
||||
|
||||
class type_event_info(aetools.ComponentItem):
|
||||
"""type event info - information about an event"""
|
||||
want = 'evin'
|
||||
|
||||
class string(aetools.ComponentItem):
|
||||
"""string - text in a specific language and script system"""
|
||||
want = 'itxt'
|
||||
|
||||
class writing_code(aetools.ComponentItem):
|
||||
"""writing code - codes which identify the language and script system"""
|
||||
want = 'intl'
|
||||
|
||||
class bounding_rectangle(aetools.ComponentItem):
|
||||
"""bounding rectangle - bounding rectangle"""
|
||||
want = 'qdrt'
|
||||
|
||||
class point(aetools.ComponentItem):
|
||||
"""point - point coordinates"""
|
||||
want = 'QDpt'
|
||||
|
||||
class fixed(aetools.ComponentItem):
|
||||
"""fixed - a real number"""
|
||||
want = 'fixd'
|
||||
|
||||
class location_reference(aetools.ComponentItem):
|
||||
"""location reference - """
|
||||
want = 'insl'
|
||||
|
||||
class application_dictionary(aetools.ComponentItem):
|
||||
"""application dictionary - """
|
||||
want = 'aete'
|
||||
|
||||
class color_table(aetools.ComponentItem):
|
||||
"""color table - """
|
||||
want = 'clrt'
|
||||
|
||||
class dash_style(aetools.ComponentItem):
|
||||
"""dash style - """
|
||||
want = 'tdas'
|
||||
|
||||
class double_integer(aetools.ComponentItem):
|
||||
"""double integer - """
|
||||
want = 'comp'
|
||||
|
||||
class extended_real(aetools.ComponentItem):
|
||||
"""extended real - """
|
||||
want = 'exte'
|
||||
|
||||
class file_specification(aetools.ComponentItem):
|
||||
"""file specification - """
|
||||
want = 'fss '
|
||||
|
||||
class fixed_point(aetools.ComponentItem):
|
||||
"""fixed point - """
|
||||
want = 'fpnt'
|
||||
|
||||
class fixed_rectangle(aetools.ComponentItem):
|
||||
"""fixed rectangle - """
|
||||
want = 'frct'
|
||||
|
||||
class long_fixed(aetools.ComponentItem):
|
||||
"""long fixed - """
|
||||
want = 'lfxd'
|
||||
|
||||
class long_fixed_point(aetools.ComponentItem):
|
||||
"""long fixed point - """
|
||||
want = 'lfpt'
|
||||
|
||||
class long_fixed_rectangle(aetools.ComponentItem):
|
||||
"""long fixed rectangle - """
|
||||
want = 'lfrc'
|
||||
|
||||
class long_point(aetools.ComponentItem):
|
||||
"""long point - """
|
||||
want = 'lpnt'
|
||||
|
||||
class long_rectangle(aetools.ComponentItem):
|
||||
"""long rectangle - """
|
||||
want = 'lrct'
|
||||
|
||||
class machine_location(aetools.ComponentItem):
|
||||
"""machine location - """
|
||||
want = 'mLoc'
|
||||
|
||||
class menu(aetools.ComponentItem):
|
||||
"""menu - """
|
||||
want = 'cmnu'
|
||||
|
||||
class menu_item(aetools.ComponentItem):
|
||||
"""menu item - """
|
||||
want = 'cmen'
|
||||
|
||||
class null(aetools.ComponentItem):
|
||||
"""null - """
|
||||
want = 'null'
|
||||
|
||||
class picture(aetools.ComponentItem):
|
||||
"""picture - """
|
||||
want = 'PICT'
|
||||
|
||||
class pixel_map_record(aetools.ComponentItem):
|
||||
"""pixel map record - """
|
||||
want = 'tpmm'
|
||||
|
||||
class PostScript_picture(aetools.ComponentItem):
|
||||
"""PostScript picture - """
|
||||
want = 'EPS '
|
||||
|
||||
class RGB16_color(aetools.ComponentItem):
|
||||
"""RGB16 color - """
|
||||
want = 'tr16'
|
||||
|
||||
class RGB96_color(aetools.ComponentItem):
|
||||
"""RGB96 color - """
|
||||
want = 'tr96'
|
||||
|
||||
class small_integer(aetools.ComponentItem):
|
||||
"""small integer - """
|
||||
want = 'shor'
|
||||
|
||||
class small_real(aetools.ComponentItem):
|
||||
"""small real - """
|
||||
want = 'sing'
|
||||
|
||||
class system_dictionary(aetools.ComponentItem):
|
||||
"""system dictionary - """
|
||||
want = 'aeut'
|
||||
|
||||
class rotation(aetools.ComponentItem):
|
||||
"""rotation - """
|
||||
want = 'trot'
|
||||
|
||||
class scrap_styles(aetools.ComponentItem):
|
||||
"""scrap styles - """
|
||||
want = 'styl'
|
||||
|
||||
class TIFF_picture(aetools.ComponentItem):
|
||||
"""TIFF picture - """
|
||||
want = 'TIFF'
|
||||
|
||||
class version(aetools.ComponentItem):
|
||||
"""version - """
|
||||
want = 'vers'
|
||||
|
||||
class unsigned_integer(aetools.ComponentItem):
|
||||
"""unsigned integer - """
|
||||
want = 'magn'
|
||||
|
||||
class type_property_info(aetools.ComponentItem):
|
||||
"""type property info - """
|
||||
want = 'pinf'
|
||||
|
||||
class type_element_info(aetools.ComponentItem):
|
||||
"""type element info - """
|
||||
want = 'elin'
|
||||
|
||||
class type_parameter_info(aetools.ComponentItem):
|
||||
"""type parameter info - """
|
||||
want = 'pmin'
|
||||
|
||||
class type_suite_info(aetools.ComponentItem):
|
||||
"""type suite info - """
|
||||
want = 'suin'
|
||||
|
||||
class target_id(aetools.ComponentItem):
|
||||
"""target id - """
|
||||
want = 'targ'
|
||||
|
||||
class plain_text(aetools.ComponentItem):
|
||||
"""plain text - """
|
||||
want = 'TEXT'
|
||||
|
||||
class writing_code(aetools.ComponentItem):
|
||||
"""writing code - codes which identify the language and script system"""
|
||||
want = 'psct'
|
||||
anything._propdict = {
|
||||
}
|
||||
anything._elemdict = {
|
||||
}
|
||||
type_class._propdict = {
|
||||
}
|
||||
type_class._elemdict = {
|
||||
}
|
||||
type_class_info._propdict = {
|
||||
}
|
||||
type_class_info._elemdict = {
|
||||
}
|
||||
type_event_info._propdict = {
|
||||
}
|
||||
type_event_info._elemdict = {
|
||||
}
|
||||
string._propdict = {
|
||||
}
|
||||
string._elemdict = {
|
||||
}
|
||||
writing_code._propdict = {
|
||||
}
|
||||
writing_code._elemdict = {
|
||||
}
|
||||
bounding_rectangle._propdict = {
|
||||
}
|
||||
bounding_rectangle._elemdict = {
|
||||
}
|
||||
point._propdict = {
|
||||
}
|
||||
point._elemdict = {
|
||||
}
|
||||
fixed._propdict = {
|
||||
}
|
||||
fixed._elemdict = {
|
||||
}
|
||||
location_reference._propdict = {
|
||||
}
|
||||
location_reference._elemdict = {
|
||||
}
|
||||
application_dictionary._propdict = {
|
||||
}
|
||||
application_dictionary._elemdict = {
|
||||
}
|
||||
color_table._propdict = {
|
||||
}
|
||||
color_table._elemdict = {
|
||||
}
|
||||
dash_style._propdict = {
|
||||
}
|
||||
dash_style._elemdict = {
|
||||
}
|
||||
double_integer._propdict = {
|
||||
}
|
||||
double_integer._elemdict = {
|
||||
}
|
||||
extended_real._propdict = {
|
||||
}
|
||||
extended_real._elemdict = {
|
||||
}
|
||||
file_specification._propdict = {
|
||||
}
|
||||
file_specification._elemdict = {
|
||||
}
|
||||
fixed_point._propdict = {
|
||||
}
|
||||
fixed_point._elemdict = {
|
||||
}
|
||||
fixed_rectangle._propdict = {
|
||||
}
|
||||
fixed_rectangle._elemdict = {
|
||||
}
|
||||
long_fixed._propdict = {
|
||||
}
|
||||
long_fixed._elemdict = {
|
||||
}
|
||||
long_fixed_point._propdict = {
|
||||
}
|
||||
long_fixed_point._elemdict = {
|
||||
}
|
||||
long_fixed_rectangle._propdict = {
|
||||
}
|
||||
long_fixed_rectangle._elemdict = {
|
||||
}
|
||||
long_point._propdict = {
|
||||
}
|
||||
long_point._elemdict = {
|
||||
}
|
||||
long_rectangle._propdict = {
|
||||
}
|
||||
long_rectangle._elemdict = {
|
||||
}
|
||||
machine_location._propdict = {
|
||||
}
|
||||
machine_location._elemdict = {
|
||||
}
|
||||
menu._propdict = {
|
||||
}
|
||||
menu._elemdict = {
|
||||
}
|
||||
menu_item._propdict = {
|
||||
}
|
||||
menu_item._elemdict = {
|
||||
}
|
||||
null._propdict = {
|
||||
}
|
||||
null._elemdict = {
|
||||
}
|
||||
picture._propdict = {
|
||||
}
|
||||
picture._elemdict = {
|
||||
}
|
||||
pixel_map_record._propdict = {
|
||||
}
|
||||
pixel_map_record._elemdict = {
|
||||
}
|
||||
PostScript_picture._propdict = {
|
||||
}
|
||||
PostScript_picture._elemdict = {
|
||||
}
|
||||
RGB16_color._propdict = {
|
||||
}
|
||||
RGB16_color._elemdict = {
|
||||
}
|
||||
RGB96_color._propdict = {
|
||||
}
|
||||
RGB96_color._elemdict = {
|
||||
}
|
||||
small_integer._propdict = {
|
||||
}
|
||||
small_integer._elemdict = {
|
||||
}
|
||||
small_real._propdict = {
|
||||
}
|
||||
small_real._elemdict = {
|
||||
}
|
||||
system_dictionary._propdict = {
|
||||
}
|
||||
system_dictionary._elemdict = {
|
||||
}
|
||||
rotation._propdict = {
|
||||
}
|
||||
rotation._elemdict = {
|
||||
}
|
||||
scrap_styles._propdict = {
|
||||
}
|
||||
scrap_styles._elemdict = {
|
||||
}
|
||||
TIFF_picture._propdict = {
|
||||
}
|
||||
TIFF_picture._elemdict = {
|
||||
}
|
||||
version._propdict = {
|
||||
}
|
||||
version._elemdict = {
|
||||
}
|
||||
unsigned_integer._propdict = {
|
||||
}
|
||||
unsigned_integer._elemdict = {
|
||||
}
|
||||
type_property_info._propdict = {
|
||||
}
|
||||
type_property_info._elemdict = {
|
||||
}
|
||||
type_element_info._propdict = {
|
||||
}
|
||||
type_element_info._elemdict = {
|
||||
}
|
||||
type_parameter_info._propdict = {
|
||||
}
|
||||
type_parameter_info._elemdict = {
|
||||
}
|
||||
type_suite_info._propdict = {
|
||||
}
|
||||
type_suite_info._elemdict = {
|
||||
}
|
||||
target_id._propdict = {
|
||||
}
|
||||
target_id._elemdict = {
|
||||
}
|
||||
plain_text._propdict = {
|
||||
}
|
||||
plain_text._elemdict = {
|
||||
}
|
||||
writing_code._propdict = {
|
||||
}
|
||||
writing_code._elemdict = {
|
||||
}
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'targ' : target_id,
|
||||
'fss ' : file_specification,
|
||||
'lrct' : long_rectangle,
|
||||
'exte' : extended_real,
|
||||
'tdas' : dash_style,
|
||||
'tr96' : RGB96_color,
|
||||
'gcli' : type_class_info,
|
||||
'suin' : type_suite_info,
|
||||
'evin' : type_event_info,
|
||||
'fixd' : fixed,
|
||||
'lfrc' : long_fixed_rectangle,
|
||||
'frct' : fixed_rectangle,
|
||||
'cmnu' : menu,
|
||||
'magn' : unsigned_integer,
|
||||
'aete' : application_dictionary,
|
||||
'styl' : scrap_styles,
|
||||
'QDpt' : point,
|
||||
'insl' : location_reference,
|
||||
'comp' : double_integer,
|
||||
'tr16' : RGB16_color,
|
||||
'vers' : version,
|
||||
'type' : type_class,
|
||||
'lfxd' : long_fixed,
|
||||
'TIFF' : TIFF_picture,
|
||||
'qdrt' : bounding_rectangle,
|
||||
'lfpt' : long_fixed_point,
|
||||
'pmin' : type_parameter_info,
|
||||
'psct' : writing_code,
|
||||
'pinf' : type_property_info,
|
||||
'****' : anything,
|
||||
'PICT' : picture,
|
||||
'lpnt' : long_point,
|
||||
'trot' : rotation,
|
||||
'null' : null,
|
||||
'sing' : small_real,
|
||||
'tpmm' : pixel_map_record,
|
||||
'cmen' : menu_item,
|
||||
'itxt' : string,
|
||||
'EPS ' : PostScript_picture,
|
||||
'mLoc' : machine_location,
|
||||
'elin' : type_element_info,
|
||||
'intl' : writing_code,
|
||||
'fpnt' : fixed_point,
|
||||
'clrt' : color_table,
|
||||
'aeut' : system_dictionary,
|
||||
'shor' : small_integer,
|
||||
'TEXT' : plain_text,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
"""Suite WorldWideWeb suite, as defined in Spyglass spec.:
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Programma's:Netscape Navigator<6F> Folder:Netscape Navigator<6F> 3.0
|
||||
Generated from flap:Programma's:Netscape Navigator<6F> Folder:Netscape Navigator<6F> 3.01
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
@ -10,7 +10,7 @@ import MacOS
|
||||
|
||||
_code = 'WWW!'
|
||||
|
||||
class WWW_Suite:
|
||||
class WorldWideWeb_suite_2c__as_defined_in_Spyglass_spec_2e_:
|
||||
|
||||
_argmap_OpenURL = {
|
||||
'to' : 'INTO',
|
||||
@ -409,3 +409,18 @@ class WWW_Suite:
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
}
|
@ -1,740 +0,0 @@
|
||||
"""Suite Finder Suite: Objects and Events for the Finder
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Systeemmap:Extensies:Finder Script-extensie
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
import aetools
|
||||
import MacOS
|
||||
|
||||
_code = 'fndr'
|
||||
|
||||
_Enum_vwby = {
|
||||
'conflicts' : 'cflc', #
|
||||
'existing_items' : 'exsi', #
|
||||
'small_icon' : 'smic', #
|
||||
'all' : 'kyal', #
|
||||
}
|
||||
|
||||
_Enum_gsen = {
|
||||
'CPU' : 'proc', #
|
||||
'FPU' : 'fpu ', #
|
||||
'MMU' : 'mmu ', #
|
||||
'hardware' : 'hdwr', #
|
||||
'operating_system' : 'os ', #
|
||||
'sound_system' : 'snd ', #
|
||||
'memory_available' : 'lram', #
|
||||
'memory_installed' : 'ram ', #
|
||||
}
|
||||
|
||||
class Finder_Suite:
|
||||
|
||||
_argmap_clean_up = {
|
||||
'by' : 'by ',
|
||||
}
|
||||
|
||||
def clean_up(self, _object, _attributes={}, **_arguments):
|
||||
"""clean up: Arrange items in window nicely
|
||||
Required argument: the window to clean up
|
||||
Keyword argument by: the order in which to clean up the objects
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
_subcode = 'fclu'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_clean_up)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_computer = {
|
||||
'has' : 'has ',
|
||||
}
|
||||
|
||||
def computer(self, _object, _attributes={}, **_arguments):
|
||||
"""computer: Test attributes of this computer
|
||||
Required argument: the attribute to test
|
||||
Keyword argument has: test specific bits of response
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: the result of the query
|
||||
"""
|
||||
_code = 'fndr'
|
||||
_subcode = 'gstl'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_computer)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def eject(self, _object=None, _attributes={}, **_arguments):
|
||||
"""eject: Eject the specified disk(s), or every ejectable disk if no parameter is specified
|
||||
Required argument: the items to eject
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
_subcode = 'ejct'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def empty(self, _object=None, _attributes={}, **_arguments):
|
||||
"""empty: Empty the trash
|
||||
Required argument: ³empty² and ³empty trash² both do the same thing
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
_subcode = 'empt'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def erase(self, _object, _attributes={}, **_arguments):
|
||||
"""erase: Erase the specified disk(s)
|
||||
Required argument: the items to erase
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
_subcode = 'fera'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_put_away = {
|
||||
'items' : 'fsel',
|
||||
}
|
||||
|
||||
def put_away(self, _object, _attributes={}, **_arguments):
|
||||
"""put away: Put away the specified object(s)
|
||||
Required argument: the items to put away
|
||||
Keyword argument items: DO NOT USE: provided for backwards compatibility with old event suite. Will be removed in future Finders
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: the object put away in its put-away location
|
||||
"""
|
||||
_code = 'fndr'
|
||||
_subcode = 'ptwy'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_put_away)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def restart(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""restart: Restart the Macintosh
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
_subcode = 'rest'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def reveal(self, _object, _attributes={}, **_arguments):
|
||||
"""reveal: Bring the specified object(s) into view
|
||||
Required argument: the object to be made visible
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'misc'
|
||||
_subcode = 'mvis'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def select(self, _object, _attributes={}, **_arguments):
|
||||
"""select: Select the specified object(s)
|
||||
Required argument: the object to select
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'misc'
|
||||
_subcode = 'slct'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def shut_down(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""shut down: Shut Down the Macintosh
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
_subcode = 'shut'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def sleep(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""sleep: Sleep the Macintosh
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
_subcode = 'snoz'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_sort = {
|
||||
'by' : 'by ',
|
||||
}
|
||||
|
||||
def sort(self, _object, _attributes={}, **_arguments):
|
||||
"""sort: Return the specified object(s) in a sorted list
|
||||
Required argument: a list of finder objects to sort
|
||||
Keyword argument by: the property to sort the items by
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: the sorted items in their new order
|
||||
"""
|
||||
_code = 'DATA'
|
||||
_subcode = 'SORT'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_sort)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def update(self, _object, _attributes={}, **_arguments):
|
||||
"""update: Update the display of the specified object(s) to match their on-disk representation
|
||||
Required argument: the item to update
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
_subcode = 'fupd'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
|
||||
# Class 'accessory process' ('pcda') -- 'A process launched from a desk accessory file'
|
||||
# property 'desk accessory file' ('dafi') 'obj ' -- 'the desk accessory file from which this process was launched' []
|
||||
|
||||
# Class 'accessory processes' ('pcda') -- 'every accessory process'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'accessory suitcase' ('dsut') -- 'A desk accessory suitcase'
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
|
||||
# Class 'accessory suitcases' ('dsut') -- 'every accessory suitcase'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'alias file' ('alia') -- 'An alias file (created with \322Make Alias\323)'
|
||||
# property 'original item' ('orig') 'obj ' -- 'the original item pointed to by the alias' []
|
||||
|
||||
# Class 'alias files' ('alia') -- 'every alias file'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'application' ('capp') -- 'An application program'
|
||||
# property 'about this macintosh' ('abbx') 'obj ' -- 'the \322About this Macintosh\323 dialog, and the list of running processes displayed in it' []
|
||||
# property 'apple menu items folder' ('amnu') 'obj ' -- 'the special folder \322Apple Menu Items,\323 the contents of which appear in the Apple menu' []
|
||||
# property 'clipboard' ('pcli') 'obj ' -- "the Finder's clipboard window" []
|
||||
# property 'control panels folder' ('ctrl') 'obj ' -- 'the special folder \322Control Panels\323' []
|
||||
# property 'desktop' ('desk') 'obj ' -- 'the desktop' []
|
||||
# property 'extensions folder' ('extn') 'obj ' -- 'the special folder \322Extensions\323' []
|
||||
# property 'file sharing' ('fshr') 'bool' -- 'Is file sharing on?' [mutable]
|
||||
# property 'fonts folder' ('ffnt') 'obj ' -- 'the special folder \322Fonts\323' []
|
||||
# property 'frontmost' ('pisf') 'bool' -- 'Is this the frontmost application?' [mutable]
|
||||
# property 'insertion location' ('pins') 'obj ' -- 'the container that a new folder would appear in if \322New Folder\323 was selected' []
|
||||
# property 'largest free block' ('mfre') 'long' -- 'the largest free block of process memory available to launch an application' []
|
||||
# property 'preferences folder' ('pref') 'obj ' -- 'the special folder \322Preferences\323' []
|
||||
# property 'product version' ('ver2') 'itxt' -- 'the version of the System software running on this Macintosh' []
|
||||
# property 'selection' ('sele') 'obj ' -- 'the selection visible to the user' [mutable]
|
||||
# property 'sharing starting up' ('fsup') 'bool' -- 'Is File sharing in the process of starting up (still off, but soon to be on)?' []
|
||||
# property 'shortcuts' ('scut') 'obj ' -- "the \322Finder Shortcuts\323 item in the Finder's help menu" []
|
||||
# property 'shutdown items folder' ('shdf') 'obj ' -- 'the special folder \322Shutdown Items\323' []
|
||||
# property 'startup items folder' ('strt') 'obj ' -- 'the special folder \322Startup Items\323' []
|
||||
# property 'system folder' ('macs') 'obj ' -- 'the System folder' []
|
||||
# property 'temporary items folder' ('temp') 'obj ' -- 'the special folder \322Temporary Items\323 (invisible)' []
|
||||
# property 'version' ('vers') 'itxt' -- 'the version of the Finder Scripting Extension' []
|
||||
# property 'view preferences' ('pvwp') 'obj ' -- 'the view preferences control panel' []
|
||||
# property 'visible' ('pvis') 'bool' -- "Is the Finder's layer visible?" [mutable]
|
||||
# element 'dsut' as ['indx', 'name']
|
||||
# element 'alia' as ['indx', 'name']
|
||||
# element 'appf' as ['indx', 'name', 'ID ']
|
||||
# element 'ctnr' as ['indx', 'name']
|
||||
# element 'cwnd' as ['indx', 'name']
|
||||
# element 'dwnd' as ['indx', 'name']
|
||||
# element 'ccdv' as ['indx', 'name']
|
||||
# element 'dafi' as ['indx', 'name']
|
||||
# element 'cdsk' as ['indx', 'name']
|
||||
# element 'cdis' as ['indx', 'name', 'ID ']
|
||||
# element 'docf' as ['indx', 'name']
|
||||
# element 'file' as ['indx', 'name']
|
||||
# element 'cfol' as ['indx', 'name', 'ID ']
|
||||
# element 'fntf' as ['indx', 'name']
|
||||
# element 'fsut' as ['indx', 'name']
|
||||
# element 'iwnd' as ['indx', 'name']
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
# element 'sctr' as ['indx', 'name']
|
||||
# element 'swnd' as ['indx', 'name']
|
||||
# element 'sndf' as ['indx', 'name']
|
||||
# element 'stcs' as ['indx', 'name']
|
||||
# element 'ctrs' as ['indx', 'name']
|
||||
# element 'cwin' as ['indx', 'name']
|
||||
|
||||
# Class 'application file' ('appf') -- "An application's file on disk"
|
||||
# property 'minimum partition size' ('mprt') 'long' -- 'the smallest memory size that the application can possibly be launched with' [mutable]
|
||||
# property 'partition size' ('appt') 'long' -- 'the memory size that the application will be launched with' [mutable]
|
||||
# property 'scriptable' ('isab') 'bool' -- 'Is this application high-level event aware (accepts open application, open document, print document, and quit)?' []
|
||||
# property 'suggested partition size' ('sprt') 'long' -- 'the memory size that the developer recommends that the application should be launched with' []
|
||||
|
||||
# Class 'application files' ('appf') -- 'every application file'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'application process' ('pcap') -- 'A process launched from an application file'
|
||||
# property 'application file' ('appf') 'appf' -- 'the application file from which this process was launched' []
|
||||
|
||||
# Class 'application processes' ('pcap') -- 'every application process'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'container' ('ctnr') -- 'An item that contains other items'
|
||||
# property 'completely expanded' ('pexc') 'bool' -- 'Is the container and all of its children open in outline view?' [mutable]
|
||||
# property 'container window' ('cwnd') 'obj ' -- 'the main window for the container' []
|
||||
# property 'entire contents' ('ects') 'obj ' -- 'the entire contents of the container, including the contents of its children' []
|
||||
# property 'expandable' ('pexa') 'bool' -- 'Is the container capable of being expanded into outline view?' []
|
||||
# property 'expanded' ('pexp') 'bool' -- 'Is the container open in outline view?' [mutable]
|
||||
# property 'previous list view' ('svew') 'long' -- 'the last non-icon view (by name, by date, etc.) selected for the container (forgotten as soon as the window is closed)' []
|
||||
# property 'selection' ('sele') 'obj ' -- 'the selection visible to the user' [mutable]
|
||||
# property 'view' ('pvew') 'long' -- 'the view selected for the container (by icon, by name, by date, etc.)' [mutable]
|
||||
# element 'dsut' as ['indx', 'name']
|
||||
# element 'alia' as ['indx', 'name']
|
||||
# element 'appf' as ['indx', 'name']
|
||||
# element 'ctnr' as ['indx', 'name']
|
||||
# element 'ccdv' as ['indx', 'name']
|
||||
# element 'dafi' as ['indx', 'name']
|
||||
# element 'docf' as ['indx', 'name']
|
||||
# element 'file' as ['indx', 'name']
|
||||
# element 'cfol' as ['indx', 'name']
|
||||
# element 'fntf' as ['indx', 'name']
|
||||
# element 'fsut' as ['indx', 'name']
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
# element 'sctr' as ['indx', 'name']
|
||||
# element 'sndf' as ['indx', 'name']
|
||||
# element 'stcs' as ['indx', 'name']
|
||||
|
||||
# Class 'containers' ('ctnr') -- 'every container'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'container window' ('cwnd') -- 'A window that contains items'
|
||||
# property 'container' ('ctnr') 'obj ' -- 'the container this window is opened from' []
|
||||
# property 'disk' ('cdis') 'obj ' -- 'the disk on which the item this window was opened from is stored' []
|
||||
# property 'folder' ('cfol') 'obj ' -- 'the folder this window is opened from' []
|
||||
# property 'item' ('cobj') 'obj ' -- 'the item this window is opened from' []
|
||||
# property 'previous list view' ('svew') 'long' -- 'the last non-icon view (by name, by date, etc.) selected for the window (forgotten as soon as the window is closed)' []
|
||||
# property 'selection' ('sele') 'obj ' -- 'the selection visible to the user' [mutable]
|
||||
# property 'view' ('pvew') 'long' -- 'the view selected for the window (by icon, by name, by date, etc.)' [mutable]
|
||||
# element 'dsut' as ['indx', 'name']
|
||||
# element 'alia' as ['indx', 'name']
|
||||
# element 'appf' as ['indx', 'name']
|
||||
# element 'ctnr' as ['indx', 'name']
|
||||
# element 'ccdv' as ['indx', 'name']
|
||||
# element 'dafi' as ['indx', 'name']
|
||||
# element 'docf' as ['indx', 'name']
|
||||
# element 'file' as ['indx', 'name']
|
||||
# element 'cfol' as ['indx', 'name']
|
||||
# element 'fntf' as ['indx', 'name']
|
||||
# element 'fsut' as ['indx', 'name']
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
# element 'sctr' as ['indx', 'name']
|
||||
# element 'sndf' as ['indx', 'name']
|
||||
# element 'stcs' as ['indx', 'name']
|
||||
|
||||
# Class 'container windows' ('cwnd') -- 'every container window'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'content space' ('dwnd') -- 'All windows, including the desktop window (\322Window\323 does not include the desktop window)'
|
||||
|
||||
# Class 'content spaces' ('dwnd') -- 'Every content space'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'control panel' ('ccdv') -- 'A control panel'
|
||||
# property 'calculate folder sizes' ('sfsz') 'bool' -- '(Views) Are folder sizes calculated and displayed in Finder list windows?' [mutable]
|
||||
# property 'comment heading' ('scom') 'bool' -- '(Views) Are comments displayed in Finder list windows?' [mutable]
|
||||
# property 'date heading' ('sdat') 'bool' -- '(Views) Are modification dates displayed in Finder list windows?' [mutable]
|
||||
# property 'disk information heading' ('sdin') 'bool' -- '(Views) Is information about the volume displayed in Finder list windows?' [mutable]
|
||||
# property 'icon size' ('lvis') 'long' -- '(Views) the size of icons displayed in Finder list windows' [mutable]
|
||||
# property 'kind heading' ('sknd') 'bool' -- '(Views) Are document kinds displayed in Finder list windows?' [mutable]
|
||||
# property 'label heading' ('slbl') 'bool' -- '(Views) Are labels displayed in Finder list windows?' [mutable]
|
||||
# property 'size heading' ('ssiz') 'bool' -- '(Views) Are file sizes displayed in Finder list windows' [mutable]
|
||||
# property 'snap to grid' ('fgrd') 'bool' -- '(Views) Are items always snapped to the nearest grid point when they are moved?' [mutable]
|
||||
# property 'staggered grid' ('fstg') 'bool' -- '(Views) Are grid lines staggered?' [mutable]
|
||||
# property 'version heading' ('svrs') 'bool' -- '(Views) Are file versions displayed in Finder list windows?' [mutable]
|
||||
# property 'view font' ('vfnt') 'long' -- '(Views) the id of the font used in Finder views' [mutable]
|
||||
# property 'view font size' ('vfsz') 'long' -- '(Views) the size of the font used in Finder views' [mutable]
|
||||
|
||||
# Class 'control panels' ('ccdv') -- 'every control panel'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'desk accessory file' ('dafi') -- 'A desk accessory file'
|
||||
|
||||
# Class 'desk accessory files' ('dafi') -- 'every desk accessory file'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'desktop-object' ('cdsk') -- 'Desktop-object is the class of the \322desktop\323 object'
|
||||
# property 'startup disk' ('sdsk') 'obj ' -- 'the startup disk' []
|
||||
# property 'trash' ('trsh') 'obj ' -- 'the trash' []
|
||||
# element 'dsut' as ['indx', 'name']
|
||||
# element 'alia' as ['indx', 'name']
|
||||
# element 'appf' as ['indx', 'name']
|
||||
# element 'ctnr' as ['indx', 'name']
|
||||
# element 'ccdv' as ['indx', 'name']
|
||||
# element 'dafi' as ['indx', 'name']
|
||||
# element 'docf' as ['indx', 'name']
|
||||
# element 'file' as ['indx', 'name']
|
||||
# element 'cfol' as ['indx', 'name']
|
||||
# element 'fntf' as ['indx', 'name']
|
||||
# element 'fsut' as ['indx', 'name']
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
# element 'sctr' as ['indx', 'name']
|
||||
# element 'sndf' as ['indx', 'name']
|
||||
# element 'stcs' as ['indx', 'name']
|
||||
|
||||
# Class 'disk' ('cdis') -- 'A disk'
|
||||
# property 'capacity' ('capa') 'long' -- 'the total number of bytes (free or used) on the disk' []
|
||||
# property 'ejectable' ('isej') 'bool' -- "Can the media can be ejected (floppies, CD's, syquest)?" []
|
||||
# property 'free space' ('frsp') 'long' -- 'the number of free bytes left on the disk' []
|
||||
# property 'local volume' ('isrv') 'bool' -- 'Is the media is a local volume (rather than a file server)?' []
|
||||
# property 'startup' ('istd') 'bool' -- 'Is this disk the boot disk?' []
|
||||
# element 'dsut' as ['indx', 'name']
|
||||
# element 'alia' as ['indx', 'name']
|
||||
# element 'appf' as ['indx', 'name']
|
||||
# element 'ctnr' as ['indx', 'name']
|
||||
# element 'ccdv' as ['indx', 'name']
|
||||
# element 'dafi' as ['indx', 'name']
|
||||
# element 'docf' as ['indx', 'name']
|
||||
# element 'file' as ['indx', 'name']
|
||||
# element 'cfol' as ['indx', 'ID ', 'name']
|
||||
# element 'fntf' as ['indx', 'name']
|
||||
# element 'fsut' as ['indx', 'name']
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
# element 'sctr' as ['indx', 'name']
|
||||
# element 'sndf' as ['indx', 'name']
|
||||
# element 'stcs' as ['indx', 'name']
|
||||
|
||||
# Class 'disks' ('cdis') -- 'every disk'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'document file' ('docf') -- 'A document file'
|
||||
|
||||
# Class 'document files' ('docf') -- 'every document file'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'file' ('file') -- 'A file'
|
||||
# property 'creator type' ('fcrt') 'type' -- 'the OSType identifying the application that created the item' [mutable]
|
||||
# property 'file type' ('fitp') 'type' -- 'the OSType identifying the type of data contained in the item' [mutable]
|
||||
# property 'locked' ('islk') 'bool' -- 'Is the file locked?' [mutable]
|
||||
# property 'product version' ('ver2') 'itxt' -- 'the version of the product (visible at the top of the \322Get Info\323 dialog)' []
|
||||
# property 'stationery' ('pspd') 'bool' -- 'Is the item a stationery pad?' [mutable]
|
||||
# property 'version' ('vers') 'itxt' -- 'the version of the file (visible at the bottom of the \322Get Info\323 dialog)' []
|
||||
|
||||
# Class 'files' ('file') -- 'every file'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'folder' ('cfol') -- 'A folder'
|
||||
# element 'dsut' as ['indx', 'name']
|
||||
# element 'alia' as ['indx', 'name']
|
||||
# element 'appf' as ['indx', 'name']
|
||||
# element 'ctnr' as ['indx', 'name']
|
||||
# element 'ccdv' as ['indx', 'name']
|
||||
# element 'dafi' as ['indx', 'name']
|
||||
# element 'docf' as ['indx', 'name']
|
||||
# element 'file' as ['indx', 'name']
|
||||
# element 'cfol' as ['indx', 'name']
|
||||
# element 'fntf' as ['indx', 'name']
|
||||
# element 'fsut' as ['indx', 'name']
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
# element 'sctr' as ['indx', 'name']
|
||||
# element 'sndf' as ['indx', 'name']
|
||||
# element 'stcs' as ['indx', 'name']
|
||||
|
||||
# Class 'folders' ('cfol') -- 'every folder'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'font file' ('fntf') -- 'A font file'
|
||||
|
||||
# Class 'font files' ('fntf') -- 'every font file'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'font suitcase' ('fsut') -- 'A font suitcase'
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
|
||||
# Class 'font suitcases' ('fsut') -- 'every font suitcase'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'group' ('sgrp') -- 'A Group in the Users and Groups control panel'
|
||||
# property 'bounds' ('pbnd') 'qdrt' -- 'the bounding rectangle of the group' [mutable]
|
||||
# property 'icon' ('iimg') 'ifam' -- 'the icon bitmap of the group' [mutable]
|
||||
# property 'label index' ('labi') 'long' -- 'the label of the group' [mutable]
|
||||
# property 'name' ('pnam') 'itxt' -- 'the name of the group' [mutable]
|
||||
# property 'position' ('posn') 'QDpt' -- 'the position of the group within its parent window' [mutable]
|
||||
|
||||
# Class 'groups' ('sgrp') -- 'every group'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'information window' ('iwnd') -- 'An information window (opened by \322Get Info\311\323)'
|
||||
# property 'comment' ('comt') 'itxt' -- 'the comment' [mutable]
|
||||
# property 'creation date' ('crtd') 'ldt ' -- 'the date on which the item was created' []
|
||||
# property 'icon' ('iimg') 'ifam' -- 'the icon bitmap of the item' [mutable]
|
||||
# property 'item' ('cobj') 'obj ' -- 'the item this window was opened from' []
|
||||
# property 'locked' ('islk') 'bool' -- 'Is the item locked?' [mutable]
|
||||
# property 'minimum partition size' ('mprt') 'long' -- 'the smallest memory size that the application can possibly be launched with' [mutable]
|
||||
# property 'modification date' ('modd') 'ldt ' -- 'the date on which the item was last modified' []
|
||||
# property 'partition size' ('appt') 'long' -- 'the memory size that the application will be launched with' [mutable]
|
||||
# property 'physical size' ('phys') 'long' -- 'the actual space used by the item on disk' []
|
||||
# property 'product version' ('ver2') 'itxt' -- 'the version of the product (visible at the top of the \322Get Info\323 dialog)' []
|
||||
# property 'size' ('ptsz') 'long' -- 'the logical size of the item' []
|
||||
# property 'stationery' ('pspd') 'bool' -- 'Is the item a stationery pad?' [mutable]
|
||||
# property 'suggested partition size' ('sprt') 'long' -- 'the memory size that the developer recommends that the application should be launched with' []
|
||||
# property 'version' ('vers') 'itxt' -- 'the version of the file (visible at the bottom of the \322Get Info\323 dialog)' []
|
||||
# property 'warn before emptying' ('warn') 'bool' -- 'Is a dialog displayed when \322Empty trash\311\323 is selected?' [mutable]
|
||||
|
||||
# Class 'information windows' ('iwnd') -- 'every information window'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'item' ('cobj') -- 'An item'
|
||||
# property 'bounds' ('pbnd') 'qdrt' -- 'the bounding rectangle of the item' [mutable]
|
||||
# property 'comment' ('comt') 'itxt' -- 'the comment displayed in the \322Get Info\323 window of the item' [mutable]
|
||||
# property 'container' ('ctnr') 'obj ' -- 'the container of this item' []
|
||||
# property 'content space' ('dwnd') 'dwnd' -- 'the window that would open if the item was opened' []
|
||||
# property 'creation date' ('crtd') 'ldt ' -- 'the date on which the item was created' []
|
||||
# property 'disk' ('cdis') 'obj ' -- 'the disk on which the item is stored' []
|
||||
# property 'folder' ('cfol') 'obj ' -- 'the folder in which the item is stored' []
|
||||
# property 'icon' ('iimg') 'ifam' -- 'the icon bitmap of the item' [mutable]
|
||||
# property 'id' ('ID ') 'long' -- 'an id that identifies the item' []
|
||||
# property 'information window' ('iwnd') 'obj ' -- 'the information window for the item' []
|
||||
# property 'kind' ('kind') 'itxt' -- 'the kind of the item' []
|
||||
# property 'label index' ('labi') 'long' -- 'the label of the item' [mutable]
|
||||
# property 'modification date' ('modd') 'ldt ' -- 'the date on which the item was last modified' []
|
||||
# property 'name' ('pnam') 'itxt' -- 'the name of the item' [mutable]
|
||||
# property 'physical size' ('phys') 'long' -- 'the actual space used by the item on disk' []
|
||||
# property 'position' ('posn') 'QDpt' -- 'the position of the item within its parent window' [mutable]
|
||||
# property 'selected' ('issl') 'bool' -- 'Is the item selected?' [mutable]
|
||||
# property 'size' ('ptsz') 'long' -- 'the logical size of the item' []
|
||||
# property 'window' ('cwin') 'cwin' -- 'the window that would open if the item was opened' []
|
||||
|
||||
# Class 'items' ('cobj') -- 'every item'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'process' ('prcs') -- 'A process running on this Macintosh'
|
||||
# property 'creator type' ('fcrt') 'type' -- 'the creator type of this process' []
|
||||
# property 'file' ('file') 'obj ' -- 'the file that launched this process' []
|
||||
# property 'file type' ('fitp') 'type' -- 'the file type of the file that launched this process' []
|
||||
# property 'frontmost' ('pisf') 'bool' -- 'Is this the frontmost application?' [mutable]
|
||||
# property 'name' ('pnam') 'itxt' -- 'the name of the process' []
|
||||
# property 'partition size' ('appt') 'long' -- 'the size of the partition that this application was launched with' []
|
||||
# property 'partition space used' ('pusd') 'long' -- 'the number of bytes currently used in this partition' []
|
||||
# property 'remote events' ('revt') 'bool' -- 'Will this process accepts remote events?' []
|
||||
# property 'scriptable' ('isab') 'bool' -- 'Is this process high-level event aware (accepts open application, open document, print document, and quit)?' []
|
||||
# property 'visible' ('pvis') 'bool' -- "Is this process' layer visible?" [mutable]
|
||||
|
||||
# Class 'processes' ('prcs') -- 'every process'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'sharable container' ('sctr') -- 'A container that may be shared (disks and folders)'
|
||||
# property 'exported' ('sexp') 'bool' -- 'Is this folder a share point or inside a share point?' []
|
||||
# property 'group' ('sgrp') 'itxt' -- 'the user or group that has special access to the folder' [mutable]
|
||||
# property 'group privileges' ('gppr') 'priv' -- 'the see folders/see files/make changes privileges for the group' [mutable]
|
||||
# property 'guest privileges' ('gstp') 'priv' -- 'the see folders/see files/make changes privileges for everyone' [mutable]
|
||||
# property 'inherited privileges' ('iprv') 'bool' -- 'Are the privileges of this item always the same as the container it is stored in?' [mutable]
|
||||
# property 'mounted' ('smou') 'bool' -- "Is this folder mounted on another machine's desktop?" []
|
||||
# property 'owner' ('sown') 'itxt' -- 'the user that owns this folder' [mutable]
|
||||
# property 'owner privileges' ('ownr') 'priv' -- 'the see folders/see files/make changes privileges for the owner' [mutable]
|
||||
# property 'protected' ('spro') 'bool' -- 'Is container protected from being moved, renamed or deleted?' [mutable]
|
||||
# property 'shared' ('shar') 'bool' -- 'Is container a share point?' [mutable]
|
||||
# property 'sharing window' ('swnd') 'obj ' -- 'the sharing window for the container' []
|
||||
# element 'dsut' as ['indx', 'name']
|
||||
# element 'alia' as ['indx', 'name']
|
||||
# element 'appf' as ['indx', 'name']
|
||||
# element 'ctnr' as ['indx', 'name']
|
||||
# element 'ccdv' as ['indx', 'name']
|
||||
# element 'dafi' as ['indx', 'name']
|
||||
# element 'docf' as ['indx', 'name']
|
||||
# element 'file' as ['indx', 'name']
|
||||
# element 'cfol' as ['indx', 'name']
|
||||
# element 'fntf' as ['indx', 'name']
|
||||
# element 'fsut' as ['indx', 'name']
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
# element 'sctr' as ['indx', 'name']
|
||||
# element 'sndf' as ['indx', 'name']
|
||||
# element 'stcs' as ['indx', 'name']
|
||||
|
||||
# Class 'sharable containers' ('sctr') -- 'every sharable container'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'sharing privileges' ('priv') -- 'A set of sharing properties'
|
||||
# property 'make changes' ('prvw') 'bool' -- 'privileges to make changes' [mutable]
|
||||
# property 'see files' ('prvr') 'bool' -- 'privileges to see files' [mutable]
|
||||
# property 'see folders' ('prvs') 'bool' -- 'privileges to see folders' [mutable]
|
||||
|
||||
# Class 'sharing window' ('swnd') -- 'A sharing window (opened by \322Sharing\311\323)'
|
||||
# property 'container' ('ctnr') 'obj ' -- 'the container that this window was opened from' []
|
||||
# property 'exported' ('sexp') 'bool' -- 'Is this container a share point or inside a share point?' []
|
||||
# property 'folder' ('cfol') 'obj ' -- 'the folder that this window was opened from' []
|
||||
# property 'group' ('sgrp') 'itxt' -- 'the user or group that has special access to the container' [mutable]
|
||||
# property 'group privileges' ('gppr') 'priv' -- 'the see folders/see files/make changes privileges for the group' [mutable]
|
||||
# property 'guest privileges' ('gstp') 'priv' -- 'the see folders/see files/make changes privileges for everyone' [mutable]
|
||||
# property 'inherited privileges' ('iprv') 'bool' -- 'Are the privileges of this item always the same as the container it is stored in?' [mutable]
|
||||
# property 'item' ('cobj') 'obj ' -- 'the item that this window was opened from' []
|
||||
# property 'mounted' ('smou') 'bool' -- "Is this container mounted on another machine's desktop?" []
|
||||
# property 'owner' ('sown') 'itxt' -- 'the user that owns the container' [mutable]
|
||||
# property 'owner privileges' ('ownr') 'priv' -- 'the see folders/see files/make changes privileges for the owner' [mutable]
|
||||
# property 'protected' ('spro') 'bool' -- 'Is container protected from being moved, renamed or deleted?' [mutable]
|
||||
# property 'sharable container' ('sctr') 'obj ' -- 'the sharable container that this window was opened from' []
|
||||
# property 'shared' ('shar') 'bool' -- 'Is container a share point?' [mutable]
|
||||
|
||||
# Class 'sharing windows' ('swnd') -- 'every sharing window'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'sound file' ('sndf') -- 'This class represents sound files'
|
||||
|
||||
# Class 'sound files' ('sndf') -- 'every sound file'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'status window' ('qwnd') -- 'These windows are progress dialogs (copy window, rebuild desktop database, empty trash)'
|
||||
|
||||
# Class 'status windows' ('qwnd') -- 'every status window'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'suitcase' ('stcs') -- 'A font or desk accessory suitcase'
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
|
||||
# Class 'suitcases' ('stcs') -- 'every suitcase'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'trash-object' ('ctrs') -- 'Trash-object is the class of the \322trash\323 object'
|
||||
# property 'warn before emptying' ('warn') 'bool' -- 'Is a dialog displayed when \322Empty trash\311\323 is selected?' [mutable]
|
||||
# element 'dsut' as ['indx', 'name']
|
||||
# element 'alia' as ['indx', 'name']
|
||||
# element 'appf' as ['indx', 'name']
|
||||
# element 'ctnr' as ['indx', 'name']
|
||||
# element 'ccdv' as ['indx', 'name']
|
||||
# element 'dafi' as ['indx', 'name']
|
||||
# element 'docf' as ['indx', 'name']
|
||||
# element 'file' as ['indx', 'name']
|
||||
# element 'cfol' as ['indx', 'name']
|
||||
# element 'fntf' as ['indx', 'name']
|
||||
# element 'fsut' as ['indx', 'name']
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
# element 'sctr' as ['indx', 'name']
|
||||
# element 'sndf' as ['indx', 'name']
|
||||
# element 'stcs' as ['indx', 'name']
|
||||
|
||||
# Class 'user' ('cuse') -- 'A User in the Users and Groups control panel'
|
||||
# property 'bounds' ('pbnd') 'qdrt' -- 'the bounding rectangle of the user' [mutable]
|
||||
# property 'icon' ('iimg') 'ifam' -- 'the icon bitmap of the user' [mutable]
|
||||
# property 'label index' ('labi') 'long' -- 'the label of the user' [mutable]
|
||||
# property 'name' ('pnam') 'itxt' -- 'the name of the user' [mutable]
|
||||
# property 'position' ('posn') 'QDpt' -- 'the position of the user within its parent window' [mutable]
|
||||
|
||||
# Class 'users' ('cuse') -- 'every user'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'window' ('cwin') -- 'A window'
|
||||
|
||||
# Class 'windows' ('cwin') -- 'every window'
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
@ -1,992 +0,0 @@
|
||||
"""Suite Metrowerks Shell Suite: Events supported by the Metrowerks Project Shell
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Metrowerks:Metrowerks CodeWarrior:CodeWarrior IDE 1.7.4
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
import aetools
|
||||
import MacOS
|
||||
|
||||
_code = 'MMPR'
|
||||
|
||||
_Enum_savo = {
|
||||
'yes' : 'yes ', # Save changes
|
||||
'no' : 'no ', # Do not save changes
|
||||
'ask' : 'ask ', # Ask the user whether to save
|
||||
}
|
||||
|
||||
_Enum_ErrT = {
|
||||
'information' : 'ErIn', #
|
||||
'compiler_warning' : 'ErCW', #
|
||||
'compiler_error' : 'ErCE', #
|
||||
'definition' : 'ErDf', #
|
||||
'linker_warning' : 'ErLW', #
|
||||
'linker_error' : 'ErLE', #
|
||||
'find_result' : 'ErFn', #
|
||||
'generic_error' : 'ErGn', #
|
||||
}
|
||||
|
||||
_Enum_Mode = {
|
||||
'ReadWrite' : 'RdWr', # The file is open with read/write privileges
|
||||
'ReadOnly' : 'Read', # The file is open with read/only privileges
|
||||
'CheckedOut_ReadWrite' : 'CkRW', # The file is checked out with read/write privileges
|
||||
'CheckedOut_ReadOnly' : 'CkRO', # The file is checked out with read/only privileges
|
||||
'CheckedOut_ReadModify' : 'CkRM', # The file is checked out with read/modify privileges
|
||||
'Locked' : 'Lock', # The file is locked on disk
|
||||
'None' : 'None', # The file is new
|
||||
}
|
||||
|
||||
_Enum_SrcT = {
|
||||
'source' : 'FTxt', # A source file (.c, .cp, .p, etc).
|
||||
'unknown' : 'FUnk', # An unknown file type.
|
||||
}
|
||||
|
||||
_Enum_PPrm = {
|
||||
'absolute' : 'Abso', # An absolute path name, including volume name.
|
||||
'project_relative' : 'PRel', # A path relative to the current project¹s folder.
|
||||
'shell_relative' : 'SRel', # A path relative to the CodeWarrior<6F> folder.
|
||||
}
|
||||
|
||||
_Enum_RefP = {
|
||||
'Think_Reference' : 'DanR', #
|
||||
'QuickView' : 'ALTV', #
|
||||
}
|
||||
|
||||
_Enum_Lang = {
|
||||
'C' : 'LC ', #
|
||||
'C_2b__2b_' : 'LC++', #
|
||||
'Pascal' : 'LP ', #
|
||||
'Object_Pascal' : 'LP++', #
|
||||
'Java' : 'LJav', #
|
||||
'Assembler' : 'LAsm', #
|
||||
'Unknown' : 'L? ', #
|
||||
}
|
||||
|
||||
_Enum_Acce = {
|
||||
'public' : 'Publ', #
|
||||
'protected' : 'Prot', #
|
||||
'private' : 'Priv', #
|
||||
}
|
||||
|
||||
class Metrowerks_Shell_Suite:
|
||||
|
||||
_argmap_Add_Files = {
|
||||
'To_Segment' : 'Segm',
|
||||
}
|
||||
|
||||
def Add_Files(self, _object, _attributes={}, **_arguments):
|
||||
"""Add Files: Add the specified file(s) to the current project
|
||||
Required argument: List of files to add
|
||||
Keyword argument To_Segment: Segment number into which to add the file(s)
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Error code for each file added
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'AddF'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Add_Files)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Check_Syntax = {
|
||||
'ExternalEditor' : 'Errs',
|
||||
}
|
||||
|
||||
def Check_Syntax(self, _object, _attributes={}, **_arguments):
|
||||
"""Check Syntax: Check the syntax of the specified file(s)
|
||||
Required argument: List of files to check the syntax of
|
||||
Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Errors for each file whose syntax was checked
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'Chek'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Check_Syntax)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Close_Project(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Close Project: Close the current project
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'ClsP'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Close_Window = {
|
||||
'Saving' : 'savo',
|
||||
}
|
||||
|
||||
def Close_Window(self, _object, _attributes={}, **_arguments):
|
||||
"""Close Window: Close the windows showing the specified files
|
||||
Required argument: The files to close
|
||||
Keyword argument Saving: Whether to save changes to each file before closing its window
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'ClsW'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Close_Window)
|
||||
_arguments['----'] = _object
|
||||
|
||||
aetools.enumsubst(_arguments, 'savo', _Enum_savo)
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Compile = {
|
||||
'ExternalEditor' : 'Errs',
|
||||
}
|
||||
|
||||
def Compile(self, _object, _attributes={}, **_arguments):
|
||||
"""Compile: Compile the specified file(s)
|
||||
Required argument: List of files to compile
|
||||
Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Errors for each file compiled
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'Comp'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Compile)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Create_Project = {
|
||||
'from_stationery' : 'Tmpl',
|
||||
}
|
||||
|
||||
def Create_Project(self, _object, _attributes={}, **_arguments):
|
||||
"""Create Project: Create a new project file
|
||||
Required argument: New project file specifier
|
||||
Keyword argument from_stationery: undocumented, typecode 'alis'
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'NewP'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Create_Project)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Get_Definition(self, _object, _attributes={}, **_arguments):
|
||||
"""Get Definition: Returns the location(s) of a globally scoped function or data object.
|
||||
Required argument: undocumented, typecode 'TEXT'
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: undocumented, typecode 'FDef'
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'GDef'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Get_Open_Documents(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Get Open Documents: Returns the list of open documents
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: The list of documents
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'GDoc'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Get_Preferences = {
|
||||
'of' : 'PRec',
|
||||
'from_panel' : 'PNam',
|
||||
}
|
||||
|
||||
def Get_Preferences(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Get Preferences: Get the preferences for the current project
|
||||
Keyword argument of: Names of requested preferences
|
||||
Keyword argument from_panel: Name of the preference panel
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: The requested preferences
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'Gref'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Get_Preferences)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Get_Project_File = {
|
||||
'Segment' : 'Segm',
|
||||
}
|
||||
|
||||
def Get_Project_File(self, _object, _attributes={}, **_arguments):
|
||||
"""Get Project File: Returns a description of a file in the project window.
|
||||
Required argument: The index of the file within its segment.
|
||||
Keyword argument Segment: The segment containing the file.
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: undocumented, typecode 'SrcF'
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'GFil'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Get_Project_File)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Get_Project_Specifier(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Get Project Specifier: Return the File Specifier for the current project
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: File Specifier for the current project
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'GetP'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Get_Segments(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Get Segments: Returns a description of each segment in the project.
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: undocumented, typecode 'Seg '
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'GSeg'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Goto_Function(self, _object, _attributes={}, **_arguments):
|
||||
"""Goto Function: Goto Specified Function Name
|
||||
Required argument: undocumented, typecode 'TEXT'
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'GoFn'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Goto_Line(self, _object, _attributes={}, **_arguments):
|
||||
"""Goto Line: Goto Specified Line Number
|
||||
Required argument: The requested source file line number
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'GoLn'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Is_In_Project(self, _object, _attributes={}, **_arguments):
|
||||
"""Is In Project: Whether or not the specified file(s) is in the current project
|
||||
Required argument: List of files to check for project membership
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Result code for each file
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'FInP'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Make_Project = {
|
||||
'ExternalEditor' : 'Errs',
|
||||
}
|
||||
|
||||
def Make_Project(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Make Project: Make the current project
|
||||
Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Errors that occurred while making the project
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'Make'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Make_Project)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Precompile = {
|
||||
'Saving_As' : 'Targ',
|
||||
'ExternalEditor' : 'Errs',
|
||||
}
|
||||
|
||||
def Precompile(self, _object, _attributes={}, **_arguments):
|
||||
"""Precompile: Precompile the specified file to the specified destination file
|
||||
Required argument: File to precompile
|
||||
Keyword argument Saving_As: Destination file for precompiled header
|
||||
Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Errors for the precompiled file
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'PreC'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Precompile)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Preprocess = {
|
||||
'ExternalEditor' : 'Errs',
|
||||
}
|
||||
|
||||
def Preprocess(self, _object, _attributes={}, **_arguments):
|
||||
"""Preprocess: Preprocesses the specified file(s)
|
||||
Required argument: undocumented, typecode 'alis'
|
||||
Keyword argument ExternalEditor: undocumented, typecode 'bool'
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Errors for each preprocessed file
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'PreP'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Preprocess)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Remove_Binaries(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Remove Binaries: Remove the binary object code from the current project
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'RemB'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Remove_Files(self, _object, _attributes={}, **_arguments):
|
||||
"""Remove Files: Remove the specified file(s) from the current project
|
||||
Required argument: List of files to remove
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Error code for each file removed
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'RemF'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Reset_File_Paths(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Reset File Paths: Resets access paths for all files belonging to open project.
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'ReFP'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Run_Project = {
|
||||
'ExternalEditor' : 'Errs',
|
||||
'SourceDebugger' : 'DeBg',
|
||||
}
|
||||
|
||||
def Run_Project(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Run Project: Run the current project
|
||||
Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
|
||||
Keyword argument SourceDebugger: Run the application under the control of the source-level debugger
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Errors that occurred when running the project
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'RunP'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Run_Project)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Save_Error_Window_As(self, _object, _attributes={}, **_arguments):
|
||||
"""Save Error Window As: Saves the Errors & Warnings window as a text file
|
||||
Required argument: Destination file for Save Message Window As
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'SvMs'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Set_Modification_Date = {
|
||||
'to' : 'MDat',
|
||||
}
|
||||
|
||||
def Set_Modification_Date(self, _object, _attributes={}, **_arguments):
|
||||
"""Set Modification Date: Changes the internal modification date of the specified file(s)
|
||||
Required argument: List of files
|
||||
Keyword argument to: undocumented, typecode 'ldt '
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Error code for each modified file
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'SMod'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Set_Modification_Date)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Set_Preferences = {
|
||||
'of_panel' : 'PNam',
|
||||
'to' : 'PRec',
|
||||
}
|
||||
|
||||
def Set_Preferences(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Set Preferences: Set the preferences for the current project
|
||||
Keyword argument of_panel: Name of the preference panel
|
||||
Keyword argument to: Preferences settings
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'Pref'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Set_Preferences)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Set_Project_File = {
|
||||
'to' : 'SrcS',
|
||||
}
|
||||
|
||||
def Set_Project_File(self, _object, _attributes={}, **_arguments):
|
||||
"""Set Project File: Changes the settings for a given file in the project.
|
||||
Required argument: The name of the file
|
||||
Keyword argument to: The new settings for the file
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'SFil'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Set_Project_File)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Set_Segment = {
|
||||
'to' : 'Segm',
|
||||
}
|
||||
|
||||
def Set_Segment(self, _object, _attributes={}, **_arguments):
|
||||
"""Set Segment: Changes the name and attributes of a segment.
|
||||
Required argument: The segment to change
|
||||
Keyword argument to: The new name and attributes for the segment.
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'SSeg'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Set_Segment)
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Touch(self, _object, _attributes={}, **_arguments):
|
||||
"""Touch: Force recompilation of the specified file(s)
|
||||
Required argument: List of files to compile
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Error code for each file touched
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'Toch'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_Update_Project = {
|
||||
'ExternalEditor' : 'Errs',
|
||||
}
|
||||
|
||||
def Update_Project(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Update Project: Update the current project
|
||||
Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Errors that occurred while updating the project
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'UpdP'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_Update_Project)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Open_browser(self, _object, _attributes={}, **_arguments):
|
||||
"""Open browser: Display a class, member function, or data member object in a single class browser window
|
||||
Required argument: an AE object reference
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'Brow'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Get_nonsimple_classes(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""Get nonsimple classes: Returns an alphabetical list of classes with member functions, bases classes, or subclasses
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: undocumented, typecode 'list'
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'NsCl'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
def Get_member_function_names(self, _object, _attributes={}, **_arguments):
|
||||
"""Get member function names: Returns a list containing the names of all the member functions of a class object
|
||||
Required argument: must be a class object
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: undocumented, typecode 'list'
|
||||
"""
|
||||
_code = 'MMPR'
|
||||
_subcode = 'MbFN'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
|
||||
# Class 'Access Paths' ('PATH') -- 'Contains the definitions of a project\325s access (search) paths.'
|
||||
# property 'User Paths' ('PA01') 'PInf' -- 'To add an access path for the source files.' [mutable list]
|
||||
# property 'System Paths' ('PA03') 'PInf' -- 'To add an access path for the include files. (Not supported in Pascal)' [mutable list]
|
||||
# property 'Always Full Search' ('PA02') 'bool' -- 'To force the compiler to search for system includes like it searches for user includes.' [mutable]
|
||||
|
||||
# Class 'Editor' ('EDTR') -- ''
|
||||
# property 'Flash delay' ('ED01') 'long' -- 'The amount of time, in sixtieths of a second, the editor highlights a matching bracket.' [mutable]
|
||||
# property 'Dynamic scroll' ('ED02') 'bool' -- 'Display a window\325s contents as you move the scroll box.' [mutable]
|
||||
# property 'Balance' ('ED03') 'bool' -- 'Flash the matching opening bracket when you type a closing bracket.' [mutable]
|
||||
# property 'Use Drag & Drop Editing' ('ED04') 'bool' -- 'Use Drag & Drop text editing.' [mutable]
|
||||
# property 'Save on update' ('ED05') 'bool' -- 'Save all editor windows automatically when you choose the Update command.' [mutable]
|
||||
# property 'Sort Function Popup' ('ED06') 'bool' -- '' [mutable]
|
||||
# property 'Use Multiple Undo' ('ED07') 'bool' -- '' [mutable]
|
||||
# property 'Remember font' ('ED08') 'bool' -- 'Display a source file with its own font settings.' [mutable]
|
||||
# property 'Remember selection' ('ED09') 'bool' -- 'Restore the previous selection in a file when you open it.' [mutable]
|
||||
# property 'Remember window' ('ED10') 'bool' -- 'Restore the last size and position for a source file window when you open it.' [mutable]
|
||||
# property 'Main Text Color' ('ED12') 'cRGB' -- 'Main, default, color for text.' [mutable]
|
||||
# property 'Background Color' ('ED13') 'cRGB' -- 'Color of the background of editor windows.' [mutable]
|
||||
# property 'Context Popup Delay' ('ED14') 'bool' -- 'The amount of time, in sixtieths of a second, before the context popup is displayed if you click and hold on a browser symbol.' [mutable]
|
||||
|
||||
# Class 'Syntax Coloring' ('SNTX') -- ''
|
||||
# property 'Syntax coloring' ('GH01') 'bool' -- 'Mark keywords and comments with color.' [mutable]
|
||||
# property 'Comment color' ('GH02') 'cRGB' -- 'The color for comments.' [mutable]
|
||||
# property 'Keyword color' ('GH03') 'cRGB' -- 'The color for language keywords.' [mutable]
|
||||
# property 'String color' ('GH04') 'cRGB' -- 'The color for strings.' [mutable]
|
||||
# property 'Custom color 1' ('GH05') 'cRGB' -- 'The color for the first set of custom keywords.' [mutable]
|
||||
# property 'Custom color 2' ('GH06') 'cRGB' -- 'The color for the second set custom keywords.' [mutable]
|
||||
# property 'Custom color 3' ('GH07') 'cRGB' -- 'The color for the third set of custom keywords.' [mutable]
|
||||
# property 'Custom color 4' ('GH08') 'cRGB' -- 'The color for the fourth set of custom keywords.' [mutable]
|
||||
|
||||
# Class 'Custom Keywords' ('CUKW') -- ''
|
||||
# property 'Custom color 1' ('KW01') 'cRGB' -- 'The color for the first set of custom keywords.' [mutable]
|
||||
# property 'Custom color 2' ('KW02') 'cRGB' -- 'The color for the second set custom keywords.' [mutable]
|
||||
# property 'Custom color 3' ('KW03') 'cRGB' -- 'The color for the third set of custom keywords.' [mutable]
|
||||
# property 'Custom color 4' ('KW04') 'cRGB' -- 'The color for the fourth set of custom keywords.' [mutable]
|
||||
|
||||
# Class 'Browser Coloring' ('BRKW') -- 'Colors for Browser symbols.'
|
||||
# property 'Browser Keywords' ('BW00') 'bool' -- 'Mark Browser symbols with color.' [mutable]
|
||||
# property 'Classes Color' ('BW01') 'cRGB' -- 'The color for classes.' [mutable]
|
||||
# property 'Constants Color' ('BW02') 'cRGB' -- 'The color for constants.' [mutable]
|
||||
# property 'Enums Color' ('BW03') 'cRGB' -- 'The color for enums.' [mutable]
|
||||
# property 'Functions Color' ('BW04') 'cRGB' -- 'Set color for functions.' [mutable]
|
||||
# property 'Globals Color' ('BW05') 'cRGB' -- 'The color for globals' [mutable]
|
||||
# property 'Macros Color' ('BW06') 'cRGB' -- 'The color for macros.' [mutable]
|
||||
# property 'Templates Color' ('BW07') 'cRGB' -- 'Set color for templates.' [mutable]
|
||||
# property 'Typedefs Color' ('BW08') 'cRGB' -- 'The color for typedefs.' [mutable]
|
||||
|
||||
# Class 'Error Information' ('ErrM') -- 'Describes a single error or warning from the compiler or the linker.'
|
||||
# property 'kind' ('ErrT') 'ErrT' -- 'The type of error or warning.' [enum]
|
||||
# property 'message' ('ErrS') 'TEXT' -- 'The error or warning message.' []
|
||||
# property 'disk file' ('file') 'fss ' -- 'The file where the error occurred. May not be returned for certain kinds of errors (eg, link errors).' []
|
||||
# property 'lineNumber' ('ErrL') 'long' -- 'The line in the file where the error occurred. May not be returned for certain kinds of errors (eg, link errors).' []
|
||||
|
||||
# Class 'Extras' ('GXTR') -- ''
|
||||
# property 'Completion sound' ('EX01') 'bool' -- 'Play a sound when finished a Bring Up To Date or Make command.' [mutable]
|
||||
# property 'Success sound' ('EX02') 'TEXT' -- 'The sound CodeWarrior plays when it successfully finishes a Bring Up To Date or Make command.' [mutable]
|
||||
# property 'Failure sound' ('EX03') 'TEXT' -- 'The sound CodeWarrior plays when it cannot finish a Bring Up To Date or Make command.' [mutable]
|
||||
# property 'Full screen zoom' ('EX07') 'bool' -- 'Zoom windows to the full screen width.' [mutable]
|
||||
# property 'External reference' ('EX08') 'RefP' -- 'Which on-line function reference to use.' [mutable enum]
|
||||
# property 'Use Script Menu' ('EX12') 'bool' -- 'Controls the use of the AppleScript menu' [mutable]
|
||||
# property 'Use Editor Extensions' ('EX10') 'bool' -- 'Controls the use of the Editor Extensions menu' [mutable]
|
||||
# property 'Use External Editor' ('EX11') 'bool' -- 'Controls whether CodeWarrior uses its own integrated editor or an external application for editing text files.' [mutable]
|
||||
# property 'Honor Projector State for Projects' ('EX13') 'bool' -- 'Controls whether CodeWarrior opens files set to read-only by Projector.' [mutable]
|
||||
|
||||
# Class 'Build Extras' ('LXTR') -- ''
|
||||
# property 'Browser active' ('EX09') 'bool' -- 'Allow the collection of browser information.' [mutable]
|
||||
# property 'Modification date caching' ('EX04') 'bool' -- '' [mutable]
|
||||
# property 'Generate Map' ('EX05') 'bool' -- 'Generate a Pascal Make map file.' [mutable]
|
||||
# property 'Store analysis results' ('EX06') 'bool' -- '' [mutable]
|
||||
|
||||
# Class 'Font' ('mFNT') -- ''
|
||||
# property 'Auto indent' ('FN01') 'bool' -- 'Indent new lines automatically.' [mutable]
|
||||
# property 'Tab size' ('FN02') 'shor' -- '' [mutable]
|
||||
# property 'Text font' ('ptxf') 'TEXT' -- 'The font used in editing windows.' [mutable]
|
||||
# property 'Text size' ('ptps') 'shor' -- 'The size of the text in an editing window.' [mutable]
|
||||
|
||||
# Class 'Function Information' ('FDef') -- 'Describes the location of any function or global data definition within the current project.'
|
||||
# property 'disk file' ('file') 'fss ' -- 'The location on disk of the file containing the definition.' []
|
||||
# property 'lineNumber' ('ErrL') 'long' -- 'The line number where the definition begins.' []
|
||||
|
||||
# Class 'Path Information' ('PInf') -- 'Contains all of the parameters that describe an access path.'
|
||||
# property 'name' ('pnam') 'TEXT' -- 'The actual path name.' [mutable]
|
||||
# property 'recursive' ('Recu') 'bool' -- 'Will the path be searched recursively? (Default is true)' [mutable]
|
||||
# property 'origin' ('Orig') 'PPrm' -- '' [mutable enum]
|
||||
|
||||
# Class 'ProjectFile' ('SrcF') -- 'A file contained in a project'
|
||||
# property 'filetype' ('SrcT') 'SrcT' -- 'What kind of file is this ?' [enum]
|
||||
# property 'name' ('pnam') 'TEXT' -- 'The file\325s name' []
|
||||
# property 'disk file' ('file') 'fss ' -- 'The file\325s location on disk' []
|
||||
# property 'codesize' ('CSiz') 'long' -- 'The size of this file\325s code.' []
|
||||
# property 'datasize' ('DSiz') 'long' -- 'The size of this file\325s data.' []
|
||||
# property 'up to date' ('UpTD') 'bool' -- 'Has the file been compiled since its last modification ?' []
|
||||
# property 'symbols' ('SymG') 'bool' -- 'Are debugging symbols generated for this file ?' [mutable]
|
||||
# property 'weak link' ('Weak') 'bool' -- 'Is this file imported weakly into the project ? [PowerPC only]' [mutable]
|
||||
# property 'initialize before' ('Bfor') 'bool' -- 'Intiailize the shared library before the main application.' [mutable]
|
||||
# property 'includes' ('IncF') 'fss ' -- '' []
|
||||
|
||||
# Class 'Segment' ('Seg ') -- 'A segment or group in the project'
|
||||
# property 'name' ('pnam') 'TEXT' -- '' [mutable]
|
||||
# property 'filecount' ('NumF') 'shor' -- '' []
|
||||
# property 'preloaded' ('Prel') 'bool' -- 'Is the segment preloaded ? [68K only]' [mutable]
|
||||
# property 'protected' ('Prot') 'bool' -- 'Is the segment protected ? [68K only]' [mutable]
|
||||
# property 'locked' ('PLck') 'bool' -- 'Is the segment locked ? [68K only]' [mutable]
|
||||
# property 'purgeable' ('Purg') 'bool' -- 'Is the segment purgeable ? [68K only]' [mutable]
|
||||
# property 'system heap' ('SysH') 'bool' -- 'Is the segment loaded into the system heap ? [68K only]' [mutable]
|
||||
|
||||
# Class 'Target' ('TARG') -- 'Contains the definitions of a project\325s target.'
|
||||
# property 'Current Target' ('TA01') 'TEXT' -- 'The name of the current target.' [mutable]
|
||||
# property 'Mappings' ('TA08') 'TInf' -- '' [mutable list]
|
||||
|
||||
# Class 'Target Information' ('TInf') -- ''
|
||||
# property 'File Type' ('PR04') 'TEXT' -- '' [mutable]
|
||||
# property 'Extension' ('TA02') 'TEXT' -- '' [mutable]
|
||||
# property 'Precompiled' ('TA03') 'bool' -- '' [mutable]
|
||||
# property 'Resource File' ('TA04') 'bool' -- '' [mutable]
|
||||
# property 'Launchable' ('TA05') 'bool' -- '' [mutable]
|
||||
# property 'Ignored by Make' ('TA06') 'bool' -- '' [mutable]
|
||||
# property 'Compiler' ('TA07') 'TEXT' -- '' [mutable]
|
||||
|
||||
# Class 'class' ('Clas') -- 'A class, struct, or record type in the current project'
|
||||
# property 'name' ('pnam') 'TEXT' -- '' []
|
||||
# property 'language' ('Lang') 'Lang' -- 'Implementation language of this class' [enum]
|
||||
# property 'declaration file' ('DcFl') 'fss ' -- 'Source file containing the class declaration' []
|
||||
# property 'declaration start offset' ('DcSt') 'long' -- 'Start of class declaration source code' []
|
||||
# property 'declaration end offset' ('DcEn') 'long' -- 'End of class declaration' []
|
||||
# property 'subclasses' ('SubC') 'Clas' -- 'the immediate subclasses of this class' [list]
|
||||
# property 'all subclasses' ('SubA') 'Clas' -- 'the classes directly or indirectly derived from this class' [list]
|
||||
# element 'BsCl' as ['indx']
|
||||
# element 'MbFn' as ['indx', 'name']
|
||||
# element 'DtMb' as ['indx', 'name']
|
||||
|
||||
# Class 'classes' ('Clas') -- ''
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'member function' ('MbFn') -- 'A class member function or method.'
|
||||
# property 'name' ('pnam') 'TEXT' -- '' []
|
||||
# property 'access' ('Acce') 'Acce' -- '' [enum]
|
||||
# property 'virtual' ('Virt') 'bool' -- '' []
|
||||
# property 'static' ('Stat') 'bool' -- '' []
|
||||
# property 'declaration file' ('DcFl') 'fss ' -- 'Source file containing the member function declaration' []
|
||||
# property 'declaration start offset' ('DcSt') 'long' -- 'start of member function declaration source code' []
|
||||
# property 'declaration end offset' ('DcEn') 'long' -- 'end of member function declaration' []
|
||||
# property 'implementation file' ('DfFl') 'fss ' -- 'Source file containing the member function definition' []
|
||||
# property 'implementation start offset' ('DfSt') 'long' -- 'start of member function definition source code' []
|
||||
# property 'implementation end offset' ('DfEn') 'long' -- 'end of member function definition' []
|
||||
|
||||
# Class 'member functions' ('MbFn') -- ''
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'data member' ('DtMb') -- 'A class data member or field'
|
||||
# property 'name' ('pnam') 'TEXT' -- '' []
|
||||
# property 'access' ('Acce') 'Acce' -- '' [enum]
|
||||
# property 'static' ('Stat') 'bool' -- '' []
|
||||
# property 'declaration start offset' ('DcSt') 'long' -- '' []
|
||||
# property 'declaration end offset' ('DcEn') 'long' -- '' []
|
||||
|
||||
# Class 'data members' ('DtMb') -- ''
|
||||
# property '' ('c@#!') 'type' -- '' [0]
|
||||
|
||||
# Class 'base class' ('BsCl') -- 'A base class or super class of a class'
|
||||
# property 'class' ('Clas') 'obj ' -- 'The class object corresponding to this base class' []
|
||||
# property 'access' ('Acce') 'Acce' -- '' [enum]
|
||||
# property 'virtual' ('Virt') 'bool' -- '' []
|
||||
|
||||
# Class 'base classes' ('BsCl') -- ''
|
||||
# property '' ('c@#!') 'type' -- '' [0 enum]
|
||||
|
||||
# Class 'browser catalog' ('Cata') -- 'The browser symbol catalog for the current project'
|
||||
# element 'Clas' as ['indx', 'name']
|
||||
|
||||
# Class 'VCS Setup' ('VCSs') -- 'The version control system perferences.'
|
||||
# property 'VCS Active' ('VC01') 'bool' -- 'Use Version Control' [mutable]
|
||||
# property 'Connection Method' ('VC02') 'TEXT' -- 'Name of Version Control System to use.' [mutable]
|
||||
# property 'Username' ('VC03') 'TEXT' -- 'The user name for the VCS.' [mutable]
|
||||
# property 'Password' ('VC04') 'TEXT' -- 'The password for the VCS.' [mutable]
|
||||
# property 'Auto Connect' ('VC05') 'bool' -- 'Automatically connect to database when starting.' [mutable]
|
||||
# property 'Store Password' ('VC06') 'bool' -- 'Store the password.' [mutable]
|
||||
# property 'Always Prompt' ('VC07') 'bool' -- 'Always show login dialog' [mutable]
|
||||
# property 'Mount Volume' ('VC08') 'bool' -- "Attempt to mount the database volume if it isn't available." [mutable]
|
||||
# property 'Database Path' ('VC09') 'PInf' -- 'Path to the VCS database.' [mutable]
|
||||
# property 'Local Root' ('VC10') 'PInf' -- 'Path to the local directory to checkout to.' [mutable]
|
Loading…
Reference in New Issue
Block a user