parameters: (self, _object, _attributes={}, **_arguments)
docstring: duplicate: Duplicate one or more object(s)
          Required argument: the object(s) to duplicate
          Keyword argument to: the new location for the object(s)
          Keyword argument replacing: Specifies whether or not to replace items in the destination that have the same name as items being duplicated
          Keyword argument routing_suppressed: Specifies whether or not to autoroute items (default is false). Only applies when copying to the system folder.
          Keyword argument _attributes: AppleEvent attribute dictionary
          Returns: to the duplicated object(s)
docstring_summary: duplicate: Duplicate one or more object(s)
          Required argument: the object(s) to duplicate
          Keyword argument to: the new location for the object(s)
          Keyword argument replacing: Specifies whether or not to replace items in the destination that have the same name as items being duplicated
          Keyword argument routing_suppressed: Specifies whether or not to autoroute items (default is false). Only applies when copying to the system folder.
          Keyword argument _attributes: AppleEvent attribute dictionary
          Returns: to the duplicated object(s)
docstring_tokens: duplicate : Duplicate one or more object ( s ) Required argument : the object ( s ) to duplicate Keyword argument to : the new location for the object ( s ) Keyword argument replacing : Specifies whether or not to replace items in the destination that have the same name as items being duplicated Keyword argument routing_suppressed : Specifies whether or not to autoroute items ( default is false ) . Only applies when copying to the system folder . Keyword argument _attributes : AppleEvent attribute dictionary Returns : to the duplicated object ( s )
function: def duplicate(self, _object, _attributes={}, **_arguments):
          """duplicate: Duplicate one or more object(s)
          Required argument: the object(s) to duplicate
          Keyword argument to: the new location for the object(s)
          Keyword argument replacing: Specifies whether or not to replace items in the destination that have the same name as items being duplicated
          Keyword argument routing_suppressed: Specifies whether or not to autoroute items (default is false). Only applies when copying to the system folder.
          Keyword argument _attributes: AppleEvent attribute dictionary
          Returns: to the duplicated object(s)
          """
          _code = 'core'
          _subcode = 'clon'
  
          aetools.keysubst(_arguments, self._argmap_duplicate)
          _arguments['----'] = _object
  
          aetools.enumsubst(_arguments, 'alrp', _Enum_bool)
          aetools.enumsubst(_arguments, 'rout', _Enum_bool)
  
          _reply, _arguments, _attributes = self.send(_code, _subcode,
                  _arguments, _attributes)
          if _arguments.get('errn', 0):
              raise aetools.Error, aetools.decodeerror(_arguments)
          # XXXX Optionally decode result
          if _arguments.has_key('----'):
              return _arguments['----']
function_tokens: def duplicate ( self , _object , _attributes = { } , * * _arguments ) : _code = 'core' _subcode = 'clon' aetools . keysubst ( _arguments , self . _argmap_duplicate ) _arguments [ '----' ] = _object aetools . enumsubst ( _arguments , 'alrp' , _Enum_bool ) aetools . enumsubst ( _arguments , 'rout' , _Enum_bool ) _reply , _arguments , _attributes = self . send ( _code , _subcode , _arguments , _attributes ) if _arguments . get ( 'errn' , 0 ) : raise aetools . Error , aetools . decodeerror ( _arguments ) # XXXX Optionally decode result if _arguments . has_key ( '----' ) : return _arguments [ '----' ]