def _setwindowsize(folder_alias, (w, h)):
 finder = _getfinder()
 args = {}
 attrs = {}
 _code = 'core'
 _subcode = 'setd'
 aevar00 = [w, h]
 aeobj_0 = aetypes.ObjectSpecifier(want=aetypes.Type('cfol'), form='alis', seld=folder_alias, fr=None)
 aeobj_1 = aetypes.ObjectSpecifier(want=aetypes.Type('prop'), form='prop', seld=aetypes.Type('cwnd'), fr=aeobj_0)
 aeobj_2 = aetypes.ObjectSpecifier(want=aetypes.Type('prop'), form='prop', seld=aetypes.Type('ptsz'), fr=aeobj_1)
 args['----'] = aeobj_2
 args['data'] = aevar00
 (_reply, args, attrs) = finder.send(_code, _subcode, args, attrs)
 if ('errn' in args):
  raise Error, aetools.decodeerror(args)
 return (w, h)

def _setwindowsize ( folder_alias , ( w , h ) ) : finder = _getfinder ( ) args = { } attrs = { } _code = 'core' _subcode = 'setd' aevar00 = [ w , h ] aeobj_0 = aetypes . ObjectSpecifier ( want = aetypes . Type ( 'cfol' ) , form = 'alis' , seld = folder_alias , fr = None ) aeobj_1 = aetypes . ObjectSpecifier ( want = aetypes . Type ( 'prop' ) , form = 'prop' , seld = aetypes . Type ( 'cwnd' ) , fr = aeobj_0 ) aeobj_2 = aetypes . ObjectSpecifier ( want = aetypes . Type ( 'prop' ) , form = 'prop' , seld = aetypes . Type ( 'ptsz' ) , fr = aeobj_1 ) args [ '----' ] = aeobj_2 args [ 'data' ] = aevar00 ( _reply , args , attrs ) = finder . send ( _code , _subcode , args , attrs ) if ( 'errn' in args ) : raise Error , aetools . decodeerror ( args ) return ( w , h )
set the size of a finder window for folder to .