[Python-checkins] CVS: python/dist/src/Mac/Lib/lib-scripting Finder_Suite.py,1.1,1.2

Jack Jansen jackjansen@users.sourceforge.net
Thu, 17 May 2001 05:41:32 -0700


Update of /cvsroot/python/python/dist/src/Mac/Lib/lib-scripting
In directory usw-pr-cvs1:/tmp/cvs-serv27833/Python/Mac/Lib/lib-scripting

Modified Files:
	Finder_Suite.py 
Log Message:
Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the
same macroman characters.

Index: Finder_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scripting/Finder_Suite.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Finder_Suite.py	1997/12/18 17:45:19	1.1
--- Finder_Suite.py	2001/05/17 12:41:30	1.2
***************
*** 86,90 ****
  	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
  		"""
--- 86,90 ----
  	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
  		"""
***************
*** 312,316 ****
  
  class alias_file(aetools.ComponentItem):
! 	"""alias file - An alias file (created with ³Make Alias²)"""
  	want = 'alia'
  class original_item(aetools.NProperty):
--- 312,316 ----
  
  class alias_file(aetools.ComponentItem):
! 	"""alias file - An alias file (created with –Make Alias”)"""
  	want = 'alia'
  class original_item(aetools.NProperty):
***************
*** 325,333 ****
  	want = 'capp'
  class about_this_macintosh(aetools.NProperty):
! 	"""about this macintosh - the ³About this Macintosh² dialog, and the list of running processes displayed in it"""
  	which = 'abbx'
  	want = 'obj '
  class apple_menu_items_folder(aetools.NProperty):
! 	"""apple menu items folder - the special folder ³Apple Menu Items,² the contents of which appear in the Apple menu"""
  	which = 'amnu'
  	want = 'obj '
--- 325,333 ----
  	want = 'capp'
  class about_this_macintosh(aetools.NProperty):
! 	"""about this macintosh - the –About this Macintosh” dialog, and the list of running processes displayed in it"""
  	which = 'abbx'
  	want = 'obj '
  class apple_menu_items_folder(aetools.NProperty):
! 	"""apple menu items folder - the special folder –Apple Menu Items,” the contents of which appear in the Apple menu"""
  	which = 'amnu'
  	want = 'obj '
***************
*** 337,341 ****
  	want = 'obj '
  class control_panels_folder(aetools.NProperty):
! 	"""control panels folder - the special folder ³Control Panels²"""
  	which = 'ctrl'
  	want = 'obj '
--- 337,341 ----
  	want = 'obj '
  class control_panels_folder(aetools.NProperty):
! 	"""control panels folder - the special folder –Control Panels”"""
  	which = 'ctrl'
  	want = 'obj '
***************
*** 345,349 ****
  	want = 'obj '
  class extensions_folder(aetools.NProperty):
! 	"""extensions folder - the special folder ³Extensions²"""
  	which = 'extn'
  	want = 'obj '
--- 345,349 ----
  	want = 'obj '
  class extensions_folder(aetools.NProperty):
! 	"""extensions folder - the special folder –Extensions”"""
  	which = 'extn'
  	want = 'obj '
***************
*** 353,357 ****
  	want = 'bool'
  class fonts_folder(aetools.NProperty):
! 	"""fonts folder - the special folder ³Fonts²"""
  	which = 'ffnt'
  	want = 'obj '
--- 353,357 ----
  	want = 'bool'
  class fonts_folder(aetools.NProperty):
! 	"""fonts folder - the special folder –Fonts”"""
  	which = 'ffnt'
  	want = 'obj '
***************
*** 361,365 ****
  	want = 'bool'
  class insertion_location(aetools.NProperty):
! 	"""insertion location - the container that a new folder would appear in if ³New Folder² was selected"""
  	which = 'pins'
  	want = 'obj '
--- 361,365 ----
  	want = 'bool'
  class insertion_location(aetools.NProperty):
! 	"""insertion location - the container that a new folder would appear in if –New Folder” was selected"""
  	which = 'pins'
  	want = 'obj '
***************
*** 369,373 ****
  	want = 'long'
  class preferences_folder(aetools.NProperty):
! 	"""preferences folder - the special folder ³Preferences²"""
  	which = 'pref'
  	want = 'obj '
--- 369,373 ----
  	want = 'long'
  class preferences_folder(aetools.NProperty):
! 	"""preferences folder - the special folder –Preferences”"""
  	which = 'pref'
  	want = 'obj '
***************
*** 385,397 ****
  	want = 'bool'
  class shortcuts(aetools.NProperty):
! 	"""shortcuts - the ³Finder Shortcuts² item in the Finder's help menu"""
  	which = 'scut'
  	want = 'obj '
  class shutdown_items_folder(aetools.NProperty):
! 	"""shutdown items folder - the special folder ³Shutdown Items²"""
  	which = 'shdf'
  	want = 'obj '
  class startup_items_folder(aetools.NProperty):
! 	"""startup items folder - the special folder ³Startup Items²"""
  	which = 'strt'
  	want = 'obj '
--- 385,397 ----
  	want = 'bool'
  class shortcuts(aetools.NProperty):
! 	"""shortcuts - the –Finder Shortcuts” item in the Finder's help menu"""
  	which = 'scut'
  	want = 'obj '
  class shutdown_items_folder(aetools.NProperty):
! 	"""shutdown items folder - the special folder –Shutdown Items”"""
  	which = 'shdf'
  	want = 'obj '
  class startup_items_folder(aetools.NProperty):
! 	"""startup items folder - the special folder –Startup Items”"""
  	which = 'strt'
  	want = 'obj '
***************
*** 401,405 ****
  	want = 'obj '
  class temporary_items_folder(aetools.NProperty):
! 	"""temporary items folder - the special folder ³Temporary Items² (invisible)"""
  	which = 'temp'
  	want = 'obj '
--- 401,405 ----
  	want = 'obj '
  class temporary_items_folder(aetools.NProperty):
! 	"""temporary items folder - the special folder –Temporary Items” (invisible)"""
  	which = 'temp'
  	want = 'obj '
***************
*** 563,567 ****
  
  class content_space(aetools.ComponentItem):
! 	"""content space - All windows, including the desktop window (³Window² does not include the desktop window)"""
  	want = 'dwnd'
  
--- 563,567 ----
  
  class content_space(aetools.ComponentItem):
! 	"""content space - All windows, including the desktop window (–Window” does not include the desktop window)"""
  	want = 'dwnd'
  
***************
*** 633,637 ****
  
  class desktop_2d_object(aetools.ComponentItem):
! 	"""desktop-object - Desktop-object is the class of the ³desktop² object"""
  	want = 'cdsk'
  class startup_disk(aetools.NProperty):
--- 633,637 ----
  
  class desktop_2d_object(aetools.ComponentItem):
! 	"""desktop-object - Desktop-object is the class of the –desktop” object"""
  	want = 'cdsk'
  class startup_disk(aetools.NProperty):
***************
*** 721,730 ****
  	which = 'islk'
  	want = 'bool'
! # repeated property product_version the version of the product (visible at the top of the ³Get Info² dialog)
  class stationery(aetools.NProperty):
  	"""stationery - Is the item a stationery pad?"""
  	which = 'pspd'
  	want = 'bool'
! # repeated property version the version of the file (visible at the bottom of the ³Get Info² dialog)
  
  files = file
--- 721,730 ----
  	which = 'islk'
  	want = 'bool'
! # repeated property product_version the version of the product (visible at the top of the –Get Info” dialog)
  class stationery(aetools.NProperty):
  	"""stationery - Is the item a stationery pad?"""
  	which = 'pspd'
  	want = 'bool'
! # repeated property version the version of the file (visible at the bottom of the –Get Info” dialog)
  
  files = file
***************
*** 791,795 ****
  
  class information_window(aetools.ComponentItem):
! 	"""information window - An information window (opened by ³Get InfoŠ²)"""
  	want = 'iwnd'
  class comment(aetools.NProperty):
--- 791,795 ----
  
  class information_window(aetools.ComponentItem):
! 	"""information window - An information window (opened by –Get Infoƒ”)"""
  	want = 'iwnd'
  class comment(aetools.NProperty):
***************
*** 814,818 ****
  	which = 'phys'
  	want = 'long'
! # repeated property product_version the version of the product (visible at the top of the ³Get Info² dialog)
  class size(aetools.NProperty):
  	"""size - the logical size of the item"""
--- 814,818 ----
  	which = 'phys'
  	want = 'long'
! # repeated property product_version the version of the product (visible at the top of the –Get Info” dialog)
  class size(aetools.NProperty):
  	"""size - the logical size of the item"""
***************
*** 821,827 ****
  # repeated property stationery Is the item a stationery pad?
  # repeated property suggested_partition_size the memory size that the developer recommends that the application should be launched with
! # repeated property version the version of the file (visible at the bottom of the ³Get Info² dialog)
  class warn_before_emptying(aetools.NProperty):
! 	"""warn before emptying - Is a dialog displayed when ³Empty trashŠ² is selected?"""
  	which = 'warn'
  	want = 'bool'
--- 821,827 ----
  # repeated property stationery Is the item a stationery pad?
  # repeated property suggested_partition_size the memory size that the developer recommends that the application should be launched with
! # repeated property version the version of the file (visible at the bottom of the –Get Info” dialog)
  class warn_before_emptying(aetools.NProperty):
! 	"""warn before emptying - Is a dialog displayed when –Empty trashƒ” is selected?"""
  	which = 'warn'
  	want = 'bool'
***************
*** 833,837 ****
  	want = 'cobj'
  # repeated property bounds the bounding rectangle of the item
! # repeated property comment the comment displayed in the ³Get Info² window of the item
  # repeated property container the container of this item
  class content_space(aetools.NProperty):
--- 833,837 ----
  	want = 'cobj'
  # repeated property bounds the bounding rectangle of the item
! # repeated property comment the comment displayed in the –Get Info” window of the item
  # repeated property container the container of this item
  class content_space(aetools.NProperty):
***************
*** 979,983 ****
  
  class sharing_window(aetools.ComponentItem):
! 	"""sharing window - A sharing window (opened by ³SharingŠ²)"""
  	want = 'swnd'
  # repeated property container the container that this window was opened from
--- 979,983 ----
  
  class sharing_window(aetools.ComponentItem):
! 	"""sharing window - A sharing window (opened by –Sharingƒ”)"""
  	want = 'swnd'
  # repeated property container the container that this window was opened from
***************
*** 1021,1027 ****
  
  class trash_2d_object(aetools.ComponentItem):
! 	"""trash-object - Trash-object is the class of the ³trash² object"""
  	want = 'ctrs'
! # repeated property warn_before_emptying Is a dialog displayed when ³Empty trashŠ² is selected?
  #        element 'dsut' as ['indx', 'name']
  #        element 'alia' as ['indx', 'name']
--- 1021,1027 ----
  
  class trash_2d_object(aetools.ComponentItem):
! 	"""trash-object - Trash-object is the class of the –trash” object"""
  	want = 'ctrs'
! # repeated property warn_before_emptying Is a dialog displayed when –Empty trashƒ” is selected?
  #        element 'dsut' as ['indx', 'name']
  #        element 'alia' as ['indx', 'name']