Methods
|
|
_print
close
data_size
get
make
open
save
set
|
|
_print
|
_print (
self,
_object,
_attributes={},
**_arguments,
)
print: Print the specified object(s)
Required argument: Objects to print. Can be a list of files or an object specifier.
Keyword argument _attributes: AppleEvent attribute dictionary
Exceptions
|
|
TypeError, 'No optional args expected'
aetools.Error, aetools.decodeerror( _arguments )
|
|
|
close
|
close (
self,
_object,
_attributes={},
**_arguments,
)
close: Close an object
Required argument: the objects to close
Keyword argument saving: specifies whether or not changes should be saved before closing
Keyword argument _in: the file in which to save the object
Keyword argument _attributes: AppleEvent attribute dictionary
Exceptions
|
|
aetools.Error, aetools.decodeerror( _arguments )
|
|
|
data_size
|
data_size (
self,
_object,
_attributes={},
**_arguments,
)
data size: Return the size in bytes of an object
Required argument: the object whose data size is to be returned
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the size of the object in bytes
Exceptions
|
|
TypeError, 'No optional args expected'
aetools.Error, aetools.decodeerror( _arguments )
|
|
|
get
|
get (
self,
_object,
_attributes={},
**_arguments,
)
get: Get the data for an object
Required argument: the object whose data is to be returned
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: The data from the object
Exceptions
|
|
TypeError, 'No optional args expected'
aetools.Error, aetools.decodeerror( _arguments )
|
|
|
make
|
make (
self,
_no_object=None,
_attributes={},
**_arguments,
)
make: Make a new element
Keyword argument new: the class of the new element
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: Object specifier for the new element
Exceptions
|
|
TypeError, 'No direct arg expected'
aetools.Error, aetools.decodeerror( _arguments )
|
|
|
open
|
open (
self,
_object,
_attributes={},
**_arguments,
)
open: Open the specified object(s)
Required argument: Objects to open. Can be a list of files or an object specifier.
Keyword argument _attributes: AppleEvent attribute dictionary
Exceptions
|
|
TypeError, 'No optional args expected'
aetools.Error, aetools.decodeerror( _arguments )
|
|
|
save
|
save (
self,
_object,
_attributes={},
**_arguments,
)
save: save a set of objects
Required argument: Objects to save.
Keyword argument _in: the file in which to save the object(s)
Keyword argument as: the file type of the document in which to save the data
Keyword argument _attributes: AppleEvent attribute dictionary
Exceptions
|
|
aetools.Error, aetools.decodeerror( _arguments )
|
|
|
set
|
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
Exceptions
|
|
aetools.Error, aetools.decodeerror( _arguments )
|
|
|