def closewindow(object):
 finder = _getfinder()
 object = Carbon.File.FSRef(object)
 object_alias = object.FSNewAliasMinimal()
 args = {}
 attrs = {}
 _code = 'core'
 _subcode = 'clos'
 aeobj_0 = aetypes.ObjectSpecifier(want=aetypes.Type('cfol'), form='alis', seld=object_alias, fr=None)
 args['----'] = aeobj_0
 (_reply, args, attrs) = finder.send(_code, _subcode, args, attrs)
 if ('errn' in args):
  raise Error, aetools.decodeerror(args)

def closewindow ( object ) : finder = _getfinder ( ) object = Carbon . File . FSRef ( object ) object_alias = object . FSNewAliasMinimal ( ) args = { } attrs = { } _code = 'core' _subcode = 'clos' aeobj_0 = aetypes . ObjectSpecifier ( want = aetypes . Type ( 'cfol' ) , form = 'alis' , seld = object_alias , fr = None ) args [ '----' ] = aeobj_0 ( _reply , args , attrs ) = finder . send ( _code , _subcode , args , attrs ) if ( 'errn' in args ) : raise Error , aetools . decodeerror ( args )
close a finder window for folder .