'type(': [('type(', "aetypes.Type('"), (')', "')")],
"'null'()": [("'null'()", "None")],
'abso(': [('abso(', "aetypes.Unknown('abso', ")],
- '³': [('³', '"')],
- '²': [('²', '"')],
+ '\96': [('\96', '"')],
+ '\94': [('\94', '"')],
'[': [('[', '('), (', ', ',')],
']': [(']', ')')],
'«': [('«', "«")],
eventreceptacle = """
[event: target="Finder", class=core, id=setd]
-'----':obj {form:prop, want:type(prop), seld:type(posn), from:obj {form:name, want:type(cfol), seld:³MoPar:Data:DevDev:Python:Python 1.5.2c1:Extensions², from:'null'()}}, data:[100, 10]
+'----':obj {form:prop, want:type(prop), seld:type(posn), from:obj {form:name, want:type(cfol), seld:\96MoPar:Data:DevDev:Python:Python 1.5.2c1:Extensions\94, from:'null'()}}, data:[100, 10]
[/event]
"""
r.last_start = pb.fCalcRunParams.fStartOffset;
r.pos = pb.fCalcRunParams.fStartOffset;
r.p = ((unsigned char*)pb.fText) + pb.fCalcRunParams.fStartOffset;
- // Adjust for the gap if we¹re not already past it.
+ // Adjust for the gap if weÕre not already past it.
if ((!r.past_gap) && (r.pos >= pb.fTextGapLocation)){
r.p += pb.fTextGapLength;
r.past_gap = true;
This software is a plugin to Bare Bones Software's BBEdit 6.0.2 (or more), designed to make editing & browsing Python Language files easer.
-It parses any file ending in .py (or extentions of your choice.) providing BBEdit with the information BBEdit needs to provide services for python files similar to those it provides for 'C'. Namely: syntax coloring and populating BBEdit's '\9f' popup menu with file's functions and classes.
+It parses any file ending in .py (or extentions of your choice.) providing BBEdit with the information BBEdit needs to provide services for python files similar to those it provides for 'C'. Namely: syntax coloring and populating BBEdit's '\80' popup menu with file's functions and classes.
This Plug-in needs to be placed in your :BBEdit 6.0:BBEdit Support:Language Modules: folder.
raise self
def getabouttext(self):
- return "About PythonSlave\8a"
+ return "About PythonSlave\83"
def do_about(self, id, item, window, event):
EasyDialogs.Message("PythonSlave " + __version__ + "\rCopyright © 1996, Letterror, JvR")
Object is a appleevent object specifier and is of the form
-PythonScript.PsClass.Class1(arg).Class2(arg)\8a.Property()
+PythonScript.PsClass.Class1(arg).Class2(arg)\83.Property()
All applescript event, class and property names are capitalised to
distinguish them from python methods.
Required argument: a reference to the disk image to be mounted
Keyword argument access_mode: the access mode for mounted volume (default is "any", i.e. best possible)
Keyword argument checksum_verification: Verify the checksum before mounting?
- Keyword argument signature_verification: Verify the DigiSign\81 signature before mounting?
+ Keyword argument signature_verification: Verify the DigiSign\8e signature before mounting?
Keyword argument RAM_caching: Cache the disk image in RAM? (if omitted, don't cache)
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: a reference to mounted disk
"""execute DiskScript: Executes a Disk Copy-specific DiskScript
Required argument: a reference to the DiskScript to execute
Keyword argument checksum_verification: Should checksums be verified when mounting images referenced in the DiskScript?
- Keyword argument signature_verification: Should the DigiSign\81 signature of the DiskScript and the images it references be verified?
+ Keyword argument signature_verification: Should the DigiSign\8e signature of the DiskScript and the images it references be verified?
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'ddsk'
return _arguments['----']
def verify_signature(self, _object, _attributes={}, **_arguments):
- """verify signature: Verify the DigiSign\81 signature for a Disk Copy document
+ """verify signature: Verify the DigiSign\8e signature for a Disk Copy document
Required argument: the disk image to be verified
Keyword argument _attributes: AppleEvent attribute dictionary
- Returns: Is the DigiSign\81 signature valid?
+ Returns: Is the DigiSign\8e signature valid?
"""
_code = 'ddsk'
_subcode = 'Vsig'
}
def sign_image(self, _object, _attributes={}, **_arguments):
- """sign image: Add a DigiSign\81 signature to a Disk Copy document
+ """sign image: Add a DigiSign\8e signature to a Disk Copy document
Required argument: the disk image to be signed
Keyword argument using_signer: a reference to signer file to use
Keyword argument _attributes: AppleEvent attribute dictionary
def create_a_floppy_from(self, _object, _attributes={}, **_arguments):
"""create a floppy from: create a floppy disk from a Disk Copy document
Required argument: the disk image to make a floppy from
- Keyword argument signature_verification: Should the DigiSign\81 signature be verified before creating a floppy disk?
+ Keyword argument signature_verification: Should the DigiSign\8e signature be verified before creating a floppy disk?
Keyword argument erase_confirmation: Should the user be asked to confirm the erasure of the previous contents of floppy disks?
Keyword argument make_multiple_floppies: Should the user be prompted to create multiple floppy disks?
Keyword argument _attributes: AppleEvent attribute dictionary
}
def check_image(self, _object, _attributes={}, **_arguments):
- """check image: Check the disk image¹s internal data structures for any inconsistencies. Works on NDIF, Disk Copy 4.2, DART\81, or DiskSet images.
+ """check image: Check the disk imageÕs internal data structures for any inconsistencies. Works on NDIF, Disk Copy 4.2, DART\8e, or DiskSet images.
Required argument: the disk image to be verified
Keyword argument details: Should the disk image details be displayed?
Keyword argument _attributes: AppleEvent attribute dictionary
Keyword argument launching_document: the path to a document to open
Keyword argument version_string: sets the 'vers' 1 resource of the self-mounting image
Keyword argument checksum_verification: Should the checksum of the source images be verified before creating the SMI?
- Keyword argument signature_verification: Should the DigiSign\81 signature of the source images be verified before creating the SMI?
+ Keyword argument signature_verification: Should the DigiSign\8e signature of the source images be verified before creating the SMI?
Keyword argument image_signing: Should the SMI be given a digital signature when it is created?
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: a reference to the self-mounting image created
Keyword argument _in: the target object
Keyword argument using_format: the format for the target
Keyword argument checksum_verification: Should the checksum be verified before saving?
- Keyword argument signature_verification: Should the DigiSign\81 signature be verified before saving?
+ Keyword argument signature_verification: Should the DigiSign\8e signature be verified before saving?
Keyword argument image_signing: Should the image be signed?
Keyword argument leave_image_mounted: Should the image be mounted after saving?
Keyword argument percent_free_space: percent free space to reserve (for image folder operation, 0-255%)
which = 'Ifmt'
want = 'TEXT'
class signed(aetools.NProperty):
- """signed - Does the disk image have a DigiSign\81 signature? """
+ """signed - Does the disk image have a DigiSign\8e signature? """
which = 'Isin'
want = 'bool'
class compressed(aetools.NProperty):
Save_reply_record._elemdict = {
}
_Enum_UIAc = {
- 'never_interact' : 'eNvr', # Don¹t allow any interaction at all
+ 'never_interact' : 'eNvr', # DonÕt allow any interaction at all
'interact_with_self' : 'eInS', # Only allow interaction from internal events
'interact_with_local' : 'eInL', # Allow interaction from any event originating on this machine
'interact_with_all' : 'eInA', # Allow interaction from network events
_Enum_rcpT = {
'block_disk_copy' : 'cpBl', # block-by-block disk-level copy
- 'files_and_file_ID_copy' : 'cpID', # all files including desktop databases and file ID¹s
+ 'files_and_file_ID_copy' : 'cpID', # all files including desktop databases and file IDÕs
'files_and_desktop_info' : 'cpDT', # all files and most desktop information
'files_only' : 'cpFI', # all files but no desktop information
'disk_image_conversion' : 'cpCV', # disk image format conversion
try:
self.talker = Toolbox('ALTV', start = 1)
except:
- raise W.AlertError, "Can¹t find ³Toolbox Assistant²"
+ raise W.AlertError, "CanÕt find \96Toolbox Assistant\94"
lookup = self.w.edit.get()
try:
self.talker.LookupTopic(lookup)
kVolumeRootFolderType = 'root'
kChewableItemsFolderType = 'flnt'
kApplicationSupportFolderType = 'asup'
-kTextEncodingsFolderType = '\9ftex'
+kTextEncodingsFolderType = '\80tex'
kStationeryFolderType = 'odst'
kOpenDocFolderType = 'odod'
kOpenDocShellPlugInsFolderType = 'odsp'
kEditorsFolderType = 'oded'
-kOpenDocEditorsFolderType = '\9fodf'
+kOpenDocEditorsFolderType = '\80odf'
kOpenDocLibrariesFolderType = 'odlb'
-kGenEditorsFolderType = '\9fedi'
-kHelpFolderType = '\9fhlp'
-kInternetPlugInFolderType = '\9fnet'
-kModemScriptsFolderType = '\9fmod'
+kGenEditorsFolderType = '\80edi'
+kHelpFolderType = '\80hlp'
+kInternetPlugInFolderType = '\80net'
+kModemScriptsFolderType = '\80mod'
kPrinterDescriptionFolderType = 'ppdf'
-kPrinterDriverFolderType = '\9fprd'
-kScriptingAdditionsFolderType = '\9fscr'
-kSharedLibrariesFolderType = '\9flib'
+kPrinterDriverFolderType = '\80prd'
+kScriptingAdditionsFolderType = '\80scr'
+kSharedLibrariesFolderType = '\80lib'
kVoicesFolderType = 'fvoc'
kControlStripModulesFolderType = 'sdev'
-kAssistantsFolderType = 'ast\9f'
-kUtilitiesFolderType = 'uti\9f'
-kAppleExtrasFolderType = 'aex\9f'
+kAssistantsFolderType = 'ast\80'
+kUtilitiesFolderType = 'uti\80'
+kAppleExtrasFolderType = 'aex\80'
kContextualMenuItemsFolderType = 'cmnu'
-kMacOSReadMesFolderType = 'mor\9f'
+kMacOSReadMesFolderType = 'mor\80'
kALMModulesFolderType = 'walk'
kALMPreferencesFolderType = 'trip'
kALMLocationsFolderType = 'fall'
try:
data = Res.Get1Resource('cfrg', 0).data
except Res.Error:
- raise Res.Error, "no \8ccfrg¹ resource found", sys.exc_traceback
+ raise Res.Error, "no \95cfrgÕ resource found", sys.exc_traceback
finally:
Res.CloseResFile(resref)
Res.UseResFile(currentresref)
def getfragment(self):
if self.where <> 1:
- raise error, "can¹t read fragment, unsupported location"
+ raise error, "canÕt read fragment, unsupported location"
f = open(self.path, "rb")
f.seek(self.offset)
if self.length:
def copydata(self, outfile):
if self.where <> 1:
- raise error, "can¹t read fragment, unsupported location"
+ raise error, "canÕt read fragment, unsupported location"
infile = open(self.path, "rb")
if self.length == 0:
infile.seek(0, 2)
#
def comment(object, comment=None):
- """comment: get or set the Finder-comment of the item, displayed in the ³Get Info² window."""
+ """comment: get or set the Finder-comment of the item, displayed in the \96Get Info\94 window."""
object = macfs.FSSpec(object)
fss = macfs.FSSpec(object)
object_alias = fss.NewAlias()
sys.stdin.readline()
def _test2():
- print '\nmorefindertools version %s\nTests coming up\8a' %__version__
+ print '\nmorefindertools version %s\nTests coming up\83' %__version__
import os
import random
pos = (100+i*10, 100+i*10)
windowposition(base, pos)
print '\twindow position', pos
- windowposition(base, orgpos) # park it where it was before\8a
+ windowposition(base, orgpos) # park it where it was before\83
print 'Put a comment in file', f, ':'
print '\t', comment(f) # print the Finder comment this file has
}
def Call_a5_subroutine(self, _object=None, _attributes={}, **_arguments):
- """Call\80subroutine: A subroutine call
+ """Call\82subroutine: A subroutine call
Required argument: anything
Keyword argument at: a preposition
Keyword argument _from: a preposition
return _arguments['----']
def _ad_(self, _object, _attributes={}, **_arguments):
- """\82: Inequality
+ """: Inequality
Required argument: an AE object reference
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: anything
return _arguments['----']
def _b3_(self, _object, _attributes={}, **_arguments):
- """\84: Greater than or equal to
+ """³: Greater than or equal to
Required argument: an AE object reference
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: anything
return _arguments['----']
def _b2_(self, _object, _attributes={}, **_arguments):
- """¾: Less than or equal to
+ """²: Less than or equal to
Required argument: an AE object reference
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: anything
which = 'pidx'
want = 'long'
class mode(aetools.NProperty):
- """mode - The document¹s open mode"""
+ """mode - The documentÕs open mode"""
which = 'Mode'
want = 'Mode'
class modified(aetools.NProperty):
def empty(self, _object=None, _attributes={}, **_arguments):
"""empty: Empty the trash
- Required argument: ³empty² and ³empty trash² both do the same thing
+ Required argument: \96empty\94 and \96empty trash\94 both do the same thing
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'fndr'
accessory_suitcases = accessory_suitcase
class alias_file(aetools.ComponentItem):
- """alias file - An alias file (created with ³Make Alias²)"""
+ """alias file - An alias file (created with \96Make Alias\94)"""
want = 'alia'
class original_item(aetools.NProperty):
"""original item - the original item pointed to by the alias"""
"""application - An application program"""
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"""
+ """about this macintosh - the \96About this Macintosh\94 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"""
+ """apple menu items folder - the special folder \96Apple Menu Items,\94 the contents of which appear in the Apple menu"""
which = 'amnu'
want = 'obj '
class clipboard(aetools.NProperty):
which = 'pcli'
want = 'obj '
class control_panels_folder(aetools.NProperty):
- """control panels folder - the special folder ³Control Panels²"""
+ """control panels folder - the special folder \96Control Panels\94"""
which = 'ctrl'
want = 'obj '
class desktop(aetools.NProperty):
which = 'desk'
want = 'obj '
class extensions_folder(aetools.NProperty):
- """extensions folder - the special folder ³Extensions²"""
+ """extensions folder - the special folder \96Extensions\94"""
which = 'extn'
want = 'obj '
class file_sharing(aetools.NProperty):
which = 'fshr'
want = 'bool'
class fonts_folder(aetools.NProperty):
- """fonts folder - the special folder ³Fonts²"""
+ """fonts folder - the special folder \96Fonts\94"""
which = 'ffnt'
want = 'obj '
class frontmost(aetools.NProperty):
which = 'pisf'
want = 'bool'
class insertion_location(aetools.NProperty):
- """insertion location - the container that a new folder would appear in if ³New Folder² was selected"""
+ """insertion location - the container that a new folder would appear in if \96New Folder\94 was selected"""
which = 'pins'
want = 'obj '
class largest_free_block(aetools.NProperty):
which = 'mfre'
want = 'long'
class preferences_folder(aetools.NProperty):
- """preferences folder - the special folder ³Preferences²"""
+ """preferences folder - the special folder \96Preferences\94"""
which = 'pref'
want = 'obj '
class product_version(aetools.NProperty):
which = 'fsup'
want = 'bool'
class shortcuts(aetools.NProperty):
- """shortcuts - the ³Finder Shortcuts² item in the Finder's help menu"""
+ """shortcuts - the \96Finder Shortcuts\94 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²"""
+ """shutdown items folder - the special folder \96Shutdown Items\94"""
which = 'shdf'
want = 'obj '
class startup_items_folder(aetools.NProperty):
- """startup items folder - the special folder ³Startup Items²"""
+ """startup items folder - the special folder \96Startup Items\94"""
which = 'strt'
want = 'obj '
class system_folder(aetools.NProperty):
which = 'macs'
want = 'obj '
class temporary_items_folder(aetools.NProperty):
- """temporary items folder - the special folder ³Temporary Items² (invisible)"""
+ """temporary items folder - the special folder \96Temporary Items\94 (invisible)"""
which = 'temp'
want = 'obj '
class version(aetools.NProperty):
container_windows = container_window
class content_space(aetools.ComponentItem):
- """content space - All windows, including the desktop window (³Window² does not include the desktop window)"""
+ """content space - All windows, including the desktop window (\96Window\94 does not include the desktop window)"""
want = 'dwnd'
content_spaces = content_space
desk_accessory_files = desk_accessory_file
class desktop_2d_object(aetools.ComponentItem):
- """desktop-object - Desktop-object is the class of the ³desktop² object"""
+ """desktop-object - Desktop-object is the class of the \96desktop\94 object"""
want = 'cdsk'
class startup_disk(aetools.NProperty):
"""startup disk - the startup disk"""
"""locked - Is the file locked?"""
which = 'islk'
want = 'bool'
-# repeated property product_version the version of the product (visible at the top of the ³Get Info² dialog)
+# repeated property product_version the version of the product (visible at the top of the \96Get Info\94 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)
+# repeated property version the version of the file (visible at the bottom of the \96Get Info\94 dialog)
files = file
groups = group
class information_window(aetools.ComponentItem):
- """information window - An information window (opened by ³Get Info\8a²)"""
+ """information window - An information window (opened by \96Get Info\83\94)"""
want = 'iwnd'
class comment(aetools.NProperty):
"""comment - the comment"""
"""physical size - the actual space used by the item on disk"""
which = 'phys'
want = 'long'
-# repeated property product_version the version of the product (visible at the top of the ³Get Info² dialog)
+# repeated property product_version the version of the product (visible at the top of the \96Get Info\94 dialog)
class size(aetools.NProperty):
"""size - the logical size of the item"""
which = 'ptsz'
want = 'long'
# 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)
+# repeated property version the version of the file (visible at the bottom of the \96Get Info\94 dialog)
class warn_before_emptying(aetools.NProperty):
- """warn before emptying - Is a dialog displayed when ³Empty trash\8a² is selected?"""
+ """warn before emptying - Is a dialog displayed when \96Empty trash\83\94 is selected?"""
which = 'warn'
want = 'bool'
"""item - An item"""
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 comment the comment displayed in the \96Get Info\94 window of the item
# repeated property container the container of this item
class content_space(aetools.NProperty):
"""content space - the window that would open if the item was opened"""
want = 'bool'
class sharing_window(aetools.ComponentItem):
- """sharing window - A sharing window (opened by ³Sharing\8a²)"""
+ """sharing window - A sharing window (opened by \96Sharing\83\94)"""
want = 'swnd'
# repeated property container the container that this window was opened from
# repeated property exported Is this container a share point or inside a share point?
suitcases = suitcase
class trash_2d_object(aetools.ComponentItem):
- """trash-object - Trash-object is the class of the ³trash² object"""
+ """trash-object - Trash-object is the class of the \96trash\94 object"""
want = 'ctrs'
-# repeated property warn_before_emptying Is a dialog displayed when ³Empty trash\8a² is selected?
+# repeated property warn_before_emptying Is a dialog displayed when \96Empty trash\83\94 is selected?
# element 'dsut' as ['indx', 'name']
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name']
class Access_Paths(aetools.ComponentItem):
- """Access Paths - Contains the definitions of a project¹s access (search) paths."""
+ """Access Paths - Contains the definitions of a projectÕs access (search) paths."""
want = 'PATH'
class User_Paths(aetools.NProperty):
"""User Paths - To add an access path for the source files."""
which = 'ED01'
want = 'long'
class Dynamic_scroll(aetools.NProperty):
- """Dynamic scroll - Display a window¹s contents as you move the scroll box."""
+ """Dynamic scroll - Display a windowÕs contents as you move the scroll box."""
which = 'ED02'
want = 'bool'
class Balance(aetools.NProperty):
"""filetype - What kind of file is this ?"""
which = 'SrcT'
want = 'SrcT'
-# repeated property name The file¹s name
-# repeated property disk_file The file¹s location on disk
+# repeated property name The fileÕs name
+# repeated property disk_file The fileÕs location on disk
class codesize(aetools.NProperty):
- """codesize - The size of this file¹s code."""
+ """codesize - The size of this fileÕs code."""
which = 'CSiz'
want = 'long'
class datasize(aetools.NProperty):
- """datasize - The size of this file¹s data."""
+ """datasize - The size of this fileÕs data."""
which = 'DSiz'
want = 'long'
class up_to_date(aetools.NProperty):
want = 'bool'
class Target_Settings(aetools.ComponentItem):
- """Target Settings - Contains the definitions of a project¹s target."""
+ """Target Settings - Contains the definitions of a projectÕs target."""
want = 'TARG'
class Linker(aetools.NProperty):
"""Linker - The name of the current linker."""
_Enum_PPrm = {
'absolute' : 'Abso', # An absolute path name, including volume name.
- 'project_relative' : 'PRel', # A path relative to the current project¹s folder.
- 'shell_relative' : 'SRel', # A path relative to the CodeWarrior\81 folder.
+ 'project_relative' : 'PRel', # A path relative to the current projectÕs folder.
+ 'shell_relative' : 'SRel', # A path relative to the CodeWarrior\8e folder.
'system_relative' : 'YRel', # A path relative to the system folder
}
Required argument: the object class about which information is requested
Keyword argument _in: the human language and script system in which to return information
Keyword argument _attributes: AppleEvent attribute dictionary
- Returns: a record containing the object¹s properties and elements
+ Returns: a record containing the objectÕs properties and elements
"""
_code = 'core'
_subcode = 'qobj'
class _3e_(aetools.NComparison):
"""> - Greater than"""
class _b3_(aetools.NComparison):
- """\84 - Greater than or equal to"""
+ """³ - Greater than or equal to"""
class _3c_(aetools.NComparison):
"""< - Less than"""
class _b2_(aetools.NComparison):
- """¾ - Less than or equal to"""
+ """² - Less than or equal to"""
_Enum_savo = {
'yes' : 'yes ', # Save objects now
'no' : 'no ', # Do not save objects
Level 1, version 1
-Generated from flap:Programma's:Netscape Navigator\81 Folder:Netscape Navigator\81 3.01
+Generated from flap:Programma's:Netscape Navigator\8e Folder:Netscape Navigator\8e 3.01
AETE/AEUT resource version 1/0, language 0, script 0
"""
"""Suite WorldWideWeb suite, as defined in Spyglass spec.:
Level 1, version 1
-Generated from flap:Programma's:Netscape Navigator\81 Folder:Netscape Navigator\81 3.01
+Generated from flap:Programma's:Netscape Navigator\8e Folder:Netscape Navigator\8e 3.01
AETE/AEUT resource version 1/0, language 0, script 0
"""
return _arguments['----']
def register_URL_echo(self, _object=None, _attributes={}, **_arguments):
- """register URL echo: Registers the ³echo² application. Each download from now on will be echoed to this application.
+ """register URL echo: Registers the \96echo\94 application. Each download from now on will be echoed to this application.
Required argument: Application signature
Keyword argument _attributes: AppleEvent attribute dictionary
"""
}
def register_viewer(self, _object, _attributes={}, **_arguments):
- """register viewer: Registers an application as a \8cspecial¹ viewer for this MIME type. The application will be launched with ViewDoc events
+ """register viewer: Registers an application as a \95specialÕ viewer for this MIME type. The application will be launched with ViewDoc events
Required argument: Application sig
Keyword argument MIME_type: MIME type viewer is registering for
Keyword argument with_file_type: Mac file type for the downloaded files
}
def register_protocol(self, _object=None, _attributes={}, **_arguments):
- """register protocol: Registers application as a ³handler² for this protocol with a given prefix. The handler will receive ³OpenURL², or if that fails, ³GetURL² event.
+ """register protocol: Registers application as a \96handler\94 for this protocol with a given prefix. The handler will receive \96OpenURL\94, or if that fails, \96GetURL\94 event.
Required argument: Application sig
- Keyword argument for_protocol: protocol prefix: ³finger:², ³file²,
+ Keyword argument for_protocol: protocol prefix: \96finger:\94, \96file\94,
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: TRUE if registration has been successful
"""
}
def unregister_protocol(self, _object=None, _attributes={}, **_arguments):
- """unregister protocol: reverses the effects of ³register protocol²
+ """unregister protocol: reverses the effects of \96register protocol\94
Required argument: Application sig.
Keyword argument for_protocol: protocol prefix. If none, unregister for all protocols
Keyword argument _attributes: AppleEvent attribute dictionary
which = 'LINK'
want = 'bool'
class link_index(aetools.NProperty):
- """link index - the index of the source file in its target¹s link order (-1 if source file is not in link order) """
+ """link index - the index of the source file in its targetÕs link order (-1 if source file is not in link order) """
which = 'LIDX'
want = 'long'
class modified_date(aetools.NProperty):
which = 'WEAK'
want = 'bool'
class init_before(aetools.NProperty):
- """init before - is the \8cinitialize before¹ flag set for this shared library? """
+ """init before - is the \95initialize beforeÕ flag set for this shared library? """
which = 'INIT'
want = 'bool'
class merge_output(aetools.NProperty):
class Access_Paths(aetools.ComponentItem):
- """Access Paths - Contains the definitions of a project¹s access (search) paths. """
+ """Access Paths - Contains the definitions of a projectÕs access (search) paths. """
want = 'PATH'
class User_Paths(aetools.NProperty):
"""User Paths - To add an access path for the source files. """
which = 'Dg03'
want = 'bool'
class Confirm_Kill(aetools.NProperty):
- """Confirm Kill - Confirm the \8ckilling¹ of the process. """
+ """Confirm Kill - Confirm the \95killingÕ of the process. """
which = 'Dg04'
want = 'bool'
class Stop_at_Main(aetools.NProperty):
which = 'Dg06'
want = 'bool'
class Dont_Step_in_Runtime(aetools.NProperty):
- """Dont Step in Runtime - Don¹t step into runtime code when debugging. """
+ """Dont Step in Runtime - DonÕt step into runtime code when debugging. """
which = 'Dg07'
want = 'bool'
class Auto_Target_Libraries(aetools.NProperty):
which = 'Dt14'
want = 'ctxt'
class Cache_symbolics(aetools.NProperty):
- """Cache symbolics - Cache symbolics between runs when executable doesn¹t change, else release symbolics files after killing process. """
+ """Cache symbolics - Cache symbolics between runs when executable doesnÕt change, else release symbolics files after killing process. """
which = 'Dt15'
want = 'bool'
class Temp_Breakpoint_Type(aetools.NProperty):
which = 'ED01'
want = 'long'
class Dynamic_Scroll(aetools.NProperty):
- """Dynamic Scroll - Display a window¹s contents as you move the scroll box. """
+ """Dynamic Scroll - Display a windowÕs contents as you move the scroll box. """
which = 'ED02'
want = 'bool'
class Balance(aetools.NProperty):
which = 'EX07'
want = 'bool'
class Recent_Editor_Count(aetools.NProperty):
- """Recent Editor Count - Maximum number of editor documents to show in the ³Open Recent² menu """
+ """Recent Editor Count - Maximum number of editor documents to show in the \96Open Recent\94 menu """
which = 'EX16'
want = 'shor'
class Recent_Project_Count(aetools.NProperty):
- """Recent Project Count - Maximum number of project documents to show in the ³Open Recent² menu """
+ """Recent Project Count - Maximum number of project documents to show in the \96Open Recent\94 menu """
which = 'EX17'
want = 'shor'
class Use_Editor_Extensions(aetools.NProperty):
which = 'Orig'
want = 'PPrm'
class root(aetools.NProperty):
- """root - Name of the root of the relative path. Pre-defined values are ³Absolute², ³Project², ³CodeWarrior², and ³System². Anything else is a user-defined root. """
+ """root - Name of the root of the relative path. Pre-defined values are \96Absolute\94, \96Project\94, \96CodeWarrior\94, and \96System\94. Anything else is a user-defined root. """
which = 'Root'
want = 'TEXT'
class recursive(aetools.NProperty):
"""filetype - What kind of file is this ? """
which = 'SrcT'
want = 'SrcT'
-# repeated property name The file¹s name
-# repeated property disk_file The file¹s location on disk
+# repeated property name The fileÕs name
+# repeated property disk_file The fileÕs location on disk
class codesize(aetools.NProperty):
- """codesize - The size of this file¹s code. """
+ """codesize - The size of this fileÕs code. """
which = 'CSiz'
want = 'long'
class datasize(aetools.NProperty):
- """datasize - The size of this file¹s data. """
+ """datasize - The size of this fileÕs data. """
which = 'DSiz'
want = 'long'
class up_to_date(aetools.NProperty):
# repeated property Custom_Color_4 The color for the fourth set of custom keywords.
class Target_Settings(aetools.ComponentItem):
- """Target Settings - Contains the definitions of a project¹s target. """
+ """Target Settings - Contains the definitions of a projectÕs target. """
want = 'TARG'
class Linker(aetools.NProperty):
"""Linker - The name of the current linker. """
which = 'TA10'
want = 'TEXT'
class Output_Directory_Path(aetools.NProperty):
- """Output Directory Path - Path to output directory. Usage of this property is deprecated. Use the ³Output Directory Location² property instead. """
+ """Output Directory Path - Path to output directory. Usage of this property is deprecated. Use the \96Output Directory Location\94 property instead. """
which = 'TA11'
want = 'TEXT'
class Output_Directory_Origin(aetools.NProperty):
- """Output Directory Origin - Origin of path to output directory. Usage of this property is deprecated. Use the ³Output Directory Location² property instead. """
+ """Output Directory Origin - Origin of path to output directory. Usage of this property is deprecated. Use the \96Output Directory Location\94 property instead. """
which = 'TA12'
want = 'PPrm'
class Output_Directory_Location(aetools.NProperty):
_Enum_PPrm = {
'absolute' : 'Abso', # An absolute path name, including volume name.
- 'project_relative' : 'PRel', # A path relative to the current project¹s folder.
- 'shell_relative' : 'SRel', # A path relative to the CodeWarrior\81 folder.
+ 'project_relative' : 'PRel', # A path relative to the current projectÕs folder.
+ 'shell_relative' : 'SRel', # A path relative to the CodeWarrior\8e folder.
'system_relative' : 'YRel', # A path relative to the system folder
'root_relative' : 'RRel', #
}
_Enum_DbSA = {
- 'No_Action' : 'DSA1', # Don¹t do anything to non-debug windows
+ 'No_Action' : 'DSA1', # DonÕt do anything to non-debug windows
'Hide_Windows' : 'DSA2', # Hide non-debugging windows
'Collapse_Windows' : 'DSA3', # Collapse non-debugging windows
'Close_Windows' : 'DSA4', # Close non-debugging windows
}
_Enum_STKd = {
- 'Absolute_Path' : 'STK0', # The ³path² property is an absolute path to the location of the source tree.
- 'Registry_Key' : 'STK1', # The ³path² property is the name of a registry key that contains the path to the root.
- 'Environment_Variable' : 'STK2', # The ³path² property is the name of an environment variable that contains the path to the root.
+ 'Absolute_Path' : 'STK0', # The \96path\94 property is an absolute path to the location of the source tree.
+ 'Registry_Key' : 'STK1', # The \96path\94 property is the name of a registry key that contains the path to the root.
+ 'Environment_Variable' : 'STK2', # The \96path\94 property is the name of an environment variable that contains the path to the root.
}
_Enum_PthF = {
def make(self, _no_object=None, _attributes={}, **_arguments):
"""make: make a new element
- Keyword argument new: the class of the new element\8bkeyword 'new' is optional in AppleScript
+ Keyword argument new: the class of the new element\84keyword 'new' is optional in AppleScript
Keyword argument as: the desired types for the data, in order of preference
Keyword argument at: the location at which to insert the element
Keyword argument with_data: the initial data for the element
folders = folder
class desktop_2d_object(aetools.ComponentItem):
- """desktop-object - Desktop-object is the class of the ³desktop² object """
+ """desktop-object - Desktop-object is the class of the \96desktop\94 object """
want = 'cdsk'
class startup_disk(aetools.NProperty):
"""startup disk - the startup disk """
# element 'dsut' as ['indx', 'name']
class trash_2d_object(aetools.ComponentItem):
- """trash-object - Trash-object is the class of the ³trash² object """
+ """trash-object - Trash-object is the class of the \96trash\94 object """
want = 'ctrs'
class warns_before_emptying(aetools.NProperty):
"""warns before emptying - Display a dialog when emptying the trash? """
which = 'qpro'
want = 'reco'
class clipboard(aetools.NProperty):
- """clipboard - the Finder¹s clipboard window """
+ """clipboard - the FinderÕs clipboard window """
which = 'pcli'
want = 'obj '
class largest_free_block(aetools.NProperty):
which = 'mfre'
want = 'long'
class name(aetools.NProperty):
- """name - the Finder¹s name """
+ """name - the FinderÕs name """
which = 'pnam'
want = 'itxt'
class visible(aetools.NProperty):
- """visible - Is the Finder¹s layer visible? """
+ """visible - Is the FinderÕs layer visible? """
which = 'pvis'
want = 'bool'
class frontmost(aetools.NProperty):
which = 'sele'
want = 'obj '
class insertion_location(aetools.NProperty):
- """insertion location - the container in which a new folder would appear if ³New Folder² was selected """
+ """insertion location - the container in which a new folder would appear if \96New Folder\94 was selected """
which = 'pins'
want = 'obj '
class file_sharing(aetools.NProperty):
which = 'vers'
want = 'itxt'
class about_this_computer(aetools.NProperty):
- """about this computer - the ³About this Computer² dialog and the list of running processes displayed in it """
+ """about this computer - the \96About this Computer\94 dialog and the list of running processes displayed in it """
which = 'abbx'
want = 'obj '
class desktop(aetools.NProperty):
internet_locations = internet_location
class information_window(aetools.ComponentItem):
- """information window - An information window (opened by ³Get Info²) """
+ """information window - An information window (opened by \96Get Info\94) """
want = 'iwnd'
class comment(aetools.NProperty):
"""comment - the comment """
want = 'bool'
class trash_2d_object(aetools.ComponentItem):
- """trash-object - Trash-object is the class of the ³trash² object """
+ """trash-object - Trash-object is the class of the \96trash\94 object """
want = 'ctrs'
class preferences(aetools.ComponentItem):
which = 'pspd'
want = 'bool'
class product_version(aetools.NProperty):
- """product version - the version of the product (visible at the top of the ³Get Info² window) """
+ """product version - the version of the product (visible at the top of the \96Get Info\94 window) """
which = 'ver2'
want = 'itxt'
class version(aetools.NProperty):
- """version - the version of the file (visible at the bottom of the ³Get Info² window) """
+ """version - the version of the file (visible at the bottom of the \96Get Info\94 window) """
which = 'vers'
want = 'itxt'
files = file
class alias_file(aetools.ComponentItem):
- """alias file - An alias file (created with ³Make Alias²) """
+ """alias file - An alias file (created with \96Make Alias\94) """
want = 'alia'
class original_item(aetools.NProperty):
"""original item - the original item pointed to by the alias """
"""application - The Finder """
want = 'capp'
class clipboard(aetools.NProperty):
- """clipboard - the Finder¹s clipboard window """
+ """clipboard - the FinderÕs clipboard window """
which = 'pcli'
want = 'obj '
class largest_free_block(aetools.NProperty):
which = 'mfre'
want = 'long'
class name(aetools.NProperty):
- """name - the Finder¹s name """
+ """name - the FinderÕs name """
which = 'pnam'
want = 'itxt'
class visible(aetools.NProperty):
- """visible - Is the Finder¹s layer visible? """
+ """visible - Is the FinderÕs layer visible? """
which = 'pvis'
want = 'bool'
class frontmost(aetools.NProperty):
which = 'sele'
want = 'obj '
class insertion_location(aetools.NProperty):
- """insertion location - the container in which a new folder would appear if ³New Folder² was selected """
+ """insertion location - the container in which a new folder would appear if \96New Folder\94 was selected """
which = 'pins'
want = 'obj '
class file_sharing(aetools.NProperty):
which = 'vers'
want = 'itxt'
class about_this_computer(aetools.NProperty):
- """about this computer - the ³About this Computer² dialog and the list of running processes displayed in it """
+ """about this computer - the \96About this Computer\94 dialog and the list of running processes displayed in it """
which = 'abbx'
want = 'obj '
class desktop(aetools.NProperty):
which = 'macs'
want = 'obj '
class apple_menu_items_folder(aetools.NProperty):
- """apple menu items folder - the special folder named ³Apple Menu Items,² the contents of which appear in the Apple menu """
+ """apple menu items folder - the special folder named \96Apple Menu Items,\94 the contents of which appear in the Apple menu """
which = 'amnu'
want = 'obj '
class control_panels_folder(aetools.NProperty):
- """control panels folder - the special folder named ³Control Panels² """
+ """control panels folder - the special folder named \96Control Panels\94 """
which = 'ctrl'
want = 'obj '
class extensions_folder(aetools.NProperty):
- """extensions folder - the special folder named ³Extensions² """
+ """extensions folder - the special folder named \96Extensions\94 """
which = 'extn'
want = 'obj '
class fonts_folder(aetools.NProperty):
- """fonts folder - the special folder named ³Fonts² """
+ """fonts folder - the special folder named \96Fonts\94 """
which = 'font'
want = 'obj '
class preferences_folder(aetools.NProperty):
- """preferences folder - the special folder named ³Preferences² """
+ """preferences folder - the special folder named \96Preferences\94 """
which = 'pref'
want = 'obj '
class shutdown_items_folder(aetools.NProperty):
- """shutdown items folder - the special folder named ³Shutdown Items² """
+ """shutdown items folder - the special folder named \96Shutdown Items\94 """
which = 'shdf'
want = 'obj '
class startup_items_folder(aetools.NProperty):
- """startup items folder - the special folder named ³Startup Items² """
+ """startup items folder - the special folder named \96Startup Items\94 """
which = 'strt'
want = 'obj '
class temporary_items_folder(aetools.NProperty):
- """temporary items folder - the special folder named ³Temporary Items² (invisible) """
+ """temporary items folder - the special folder named \96Temporary Items\94 (invisible) """
which = 'temp'
want = 'obj '
import Earlier_terms
def empty(self, _object=None, _attributes={}, **_arguments):
"""empty: Empty the trash
- Required argument: ³empty² and ³empty trash² both do the same thing
+ Required argument: \96empty\94 and \96empty trash\94 both do the same thing
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'fndr'
which = 'dscr'
want = 'itxt'
class comment(aetools.NProperty):
- """comment - the comment of the item, displayed in the ³Get Info² window """
+ """comment - the comment of the item, displayed in the \96Get Info\94 window """
which = 'comt'
want = 'itxt'
class size(aetools.NProperty):
want = 'bool'
class information_window(aetools.ComponentItem):
- """information window - An information window (opened by ³Get Info²) """
+ """information window - An information window (opened by \96Get Info\94) """
want = 'iwnd'
class creation_date_obsolete(aetools.NProperty):
"""creation date obsolete - the date on which the item was created (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
want = 'obj '
class sharing_window(aetools.ComponentItem):
- """sharing window - A sharing window (opened by ³Sharing\8a²) """
+ """sharing window - A sharing window (opened by \96Sharing\83\94) """
want = 'swnd'
class sharable_container(aetools.NProperty):
"""sharable container - the sharable container from which the window was opened """
want = 'ics4'
class alias_list(aetools.ComponentItem):
- """alias list - A list of aliases. Use \8cas alias list¹ when a list of aliases is needed (instead of a list of file system item references). """
+ """alias list - A list of aliases. Use \95as alias listÕ when a list of aliases is needed (instead of a list of file system item references). """
want = 'alst'
preferences._propdict = {
'window' : window,
container_windows = container_window
class information_window(aetools.ComponentItem):
- """information window - An information window (opened by ³Get Info²) """
+ """information window - An information window (opened by \96Get Info\94) """
want = 'iwnd'
class current_panel(aetools.NProperty):
"""current panel - the current panel in the information window """
which = 'warn'
want = 'bool'
class product_version(aetools.NProperty):
- """product version - the version of the product (visible at the top of the ³Get Info² window) """
+ """product version - the version of the product (visible at the top of the \96Get Info\94 window) """
which = 'ver2'
want = 'itxt'
class version(aetools.NProperty):
- """version - the version of the file (visible at the bottom of the ³Get Info² window) """
+ """version - the version of the file (visible at the bottom of the \96Get Info\94 window) """
which = 'vers'
want = 'itxt'
clipping_windows = clipping_window
class content_space(aetools.ComponentItem):
- """content space - All windows, including the desktop window (³Window² does not include the desktop window) """
+ """content space - All windows, including the desktop window (\96Window\94 does not include the desktop window) """
want = 'dwnd'
content_spaces = content_space
"""Suite Mozilla suite: Experimental Mozilla suite
Level 1, version 1
-Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\81-map:Netscape Communicator\81
+Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\8e-map:Netscape Communicator\8e
AETE/AEUT resource version 1/0, language 0, script 0
"""
def Read_help_file(self, _object, _attributes={}, **_arguments):
"""Read help file: Reads in the help file (file should be in the help file format)
Required argument: undocumented, typecode 'alis'
- Keyword argument with_index: Index to the help file. Defaults to \8cDEFAULT¹)
+ Keyword argument with_index: Index to the help file. Defaults to \95DEFAULTÕ)
Keyword argument search_text: Optional text to search for
Keyword argument _attributes: AppleEvent attribute dictionary
"""
def Get_workingURL(self, _no_object=None, _attributes={}, **_arguments):
"""Get workingURL: Get the path to the running application in URL format. This will allow a script to construct a relative URL
Keyword argument _attributes: AppleEvent attribute dictionary
- Returns: Will return text of the from ³FILE://foo/applicationname²
+ Returns: Will return text of the from \96FILE://foo/applicationname\94
"""
_code = 'MOSS'
_subcode = 'wurl'
def Get_Import_Data(self, _no_object=None, _attributes={}, **_arguments):
"""Get Import Data: Returns a structure containing information that is of use to an external module in importing data from an external mail application into Communicator.
Keyword argument _attributes: AppleEvent attribute dictionary
- Returns: vRefNum and dirID of profile folder (2+4 bytes), vRefNum and DirID of the local mail folder (2+4 bytes), window type of front window (0 if none, \8cBrwz¹ browser, \8cAddr¹ addressbook, \8cMesg¹ messenger, etc., 4 bytes)
+ Returns: vRefNum and dirID of profile folder (2+4 bytes), vRefNum and DirID of the local mail folder (2+4 bytes), window type of front window (0 if none, \95BrwzÕ browser, \95AddrÕ addressbook, \95MesgÕ messenger, etc., 4 bytes)
"""
_code = 'MOSS'
_subcode = 'Impt'
def Get_Profile_Name(self, _no_object=None, _attributes={}, **_arguments):
"""Get Profile Name: Get the current User Profile
Keyword argument _attributes: AppleEvent attribute dictionary
- Returns: Name of the current profile, like ³Joe Bloggs². This is the name of the profile folder in the Netscape Users folder.
+ Returns: Name of the current profile, like \96Joe Bloggs\94. This is the name of the profile folder in the Netscape Users folder.
"""
_code = 'MOSS'
_subcode = 'upro'
"""Suite PowerPlant:
Level 0, version 0
-Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\81-map:Netscape Communicator\81
+Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\8e-map:Netscape Communicator\8e
AETE/AEUT resource version 1/0, language 0, script 0
"""
}
def SwitchTellTarget(self, _no_object=None, _attributes={}, **_arguments):
- """SwitchTellTarget: Makes an object the ³focus² of AppleEvents
+ """SwitchTellTarget: Makes an object the \96focus\94 of AppleEvents
Keyword argument to: reference to new focus of AppleEvents
Keyword argument _attributes: AppleEvent attribute dictionary
"""
"""Suite Required suite:
Level 0, version 0
-Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\81-map:Netscape Communicator\81
+Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\8e-map:Netscape Communicator\8e
AETE/AEUT resource version 1/0, language 0, script 0
"""
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
-Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\81-map:Netscape Communicator\81
+Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\8e-map:Netscape Communicator\8e
AETE/AEUT resource version 1/0, language 0, script 0
"""
}
def set(self, _object, _attributes={}, **_arguments):
- """set: Set an object¹s data
+ """set: Set an objectÕs data
Required argument: the object to change
Keyword argument to: the new value
Keyword argument _attributes: AppleEvent attribute dictionary
"""application - An application program """
want = 'capp'
class alert_application(aetools.NProperty):
- """alert application - Most of the alerts will be sent to this application using yet unspecified AE interface. We need a few alert boxes: alert, confirm and notify. Any ideas on how to design this event? mailto:atotic@netscape.com. I¹d like to conform to the standard. """
+ """alert application - Most of the alerts will be sent to this application using yet unspecified AE interface. We need a few alert boxes: alert, confirm and notify. Any ideas on how to design this event? mailto:atotic@netscape.com. IÕd like to conform to the standard. """
which = 'ALAP'
want = 'type'
class kiosk_mode(aetools.NProperty):
which = 'curl'
want = 'TEXT'
class unique_ID(aetools.NProperty):
- """unique ID - Window¹s unique ID (a bridge between WWW! suite window id¹s and standard AE windows) """
+ """unique ID - WindowÕs unique ID (a bridge between WWW! suite window idÕs and standard AE windows) """
which = 'wiid'
want = 'long'
class busy(aetools.NProperty):
"""Suite Standard URL suite: Mac URL standard, supported by many apps
+
Level 1, version 1
-Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\81-map:Netscape Communicator\81
+Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\8e-map:Netscape Communicator\8e
AETE/AEUT resource version 1/0, language 0, script 0
"""
def GetURL(self, _object, _attributes={}, **_arguments):
"""GetURL: Loads the URL (optionally to disk)
+
Required argument: The url
Keyword argument to: file the URL should be loaded into
Keyword argument inside: Window the URL should be loaded to
"""Suite Text:
Level 0, version 0
-Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\81-map:Netscape Communicator\81
+Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\8e-map:Netscape Communicator\8e
AETE/AEUT resource version 1/0, language 0, script 0
"""
# element 'stys' as ['indx', 'name']
class styleset(aetools.ComponentItem):
- """styleset - A style ³set² that may be used repeatedly in text objects. """
+ """styleset - A style \96set\94 that may be used repeatedly in text objects. """
want = 'stys'
class name(aetools.NProperty):
"""name - style name """
"""Suite WorldWideWeb suite, as defined in Spyglass spec.:
Level 1, version 1
-Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\81-map:Netscape Communicator\81
+Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\8e-map:Netscape Communicator\8e
AETE/AEUT resource version 1/0, language 0, script 0
"""
return _arguments['----']
def register_URL_echo(self, _object=None, _attributes={}, **_arguments):
- """register URL echo: Registers the ³echo² application. Each download from now on will be echoed to this application.
+ """register URL echo: Registers the \96echo\94 application. Each download from now on will be echoed to this application.
Required argument: Application signature
Keyword argument _attributes: AppleEvent attribute dictionary
"""
}
def register_viewer(self, _object, _attributes={}, **_arguments):
- """register viewer: Registers an application as a \8cspecial¹ viewer for this MIME type. The application will be launched with ViewDoc events
+ """register viewer: Registers an application as a \95specialÕ viewer for this MIME type. The application will be launched with ViewDoc events
Required argument: Application sig
Keyword argument MIME_type: MIME type viewer is registering for
Keyword argument with_file_type: Mac file type for the downloaded files
}
def register_protocol(self, _object=None, _attributes={}, **_arguments):
- """register protocol: Registers application as a ³handler² for this protocol with a given prefix. The handler will receive ³OpenURL², or if that fails, ³GetURL² event.
+ """register protocol: Registers application as a \96handler\94 for this protocol with a given prefix. The handler will receive \96OpenURL\94, or if that fails, \96GetURL\94 event.
Required argument: Application sig
- Keyword argument for_protocol: protocol prefix: ³finger:², ³file²,
+ Keyword argument for_protocol: protocol prefix: \96finger:\94, \96file\94,
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: TRUE if registration has been successful
"""
}
def unregister_protocol(self, _object=None, _attributes={}, **_arguments):
- """unregister protocol: reverses the effects of ³register protocol²
+ """unregister protocol: reverses the effects of \96register protocol\94
Required argument: Application sig.
Keyword argument for_protocol: protocol prefix. If none, unregister for all protocols
Keyword argument _attributes: AppleEvent attribute dictionary
"""
-Package generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\81-map:Netscape Communicator\81
+Package generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator\8e-map:Netscape Communicator\8e
Resource aete resid 0
"""
import aetools
return _arguments['----']
def tell(self, _no_object=None, _attributes={}, **_arguments):
- """tell: Record or log a \8ctell¹ statement
+ """tell: Record or log a \95tellÕ statement
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'ascr'
return _arguments['----']
def end_tell(self, _no_object=None, _attributes={}, **_arguments):
- """end tell: Record or log an \8cend tell¹ statement
+ """end tell: Record or log an \95end tellÕ statement
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'ascr'
}
def Call_a5_subroutine(self, _object=None, _attributes={}, **_arguments):
- """Call\80subroutine: A subroutine call
+ """Call\82subroutine: A subroutine call
Required argument: anything
Keyword argument at: a preposition
Keyword argument _from: a preposition
return _arguments['----']
def _ad_(self, _object, _attributes={}, **_arguments):
- """\82: Inequality
+ """: Inequality
Required argument: an AE object reference
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: anything
return _arguments['----']
def _b3_(self, _object, _attributes={}, **_arguments):
- """\84: Greater than or equal to
+ """³: Greater than or equal to
Required argument: an AE object reference
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: anything
return _arguments['----']
def _b2_(self, _object, _attributes={}, **_arguments):
- """¾: Less than or equal to
+ """²: Less than or equal to
Required argument: an AE object reference
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: anything
which = 'pnam'
want = 'TEXT'
class parent(aetools.NProperty):
- """parent - its parent, i.e. the script that will handle events that this script doesn¹t """
+ """parent - its parent, i.e. the script that will handle events that this script doesnÕt """
which = 'pare'
want = 'scpt'
Required argument: the object class about which information is requested
Keyword argument _in: the human language and script system in which to return information
Keyword argument _attributes: AppleEvent attribute dictionary
- Returns: a record containing the object¹s properties and elements
+ Returns: a record containing the objectÕs properties and elements
"""
_code = 'core'
_subcode = 'qobj'
which = 'pisf'
want = 'bool'
class selection(aetools.NProperty):
- """selection - the selection visible to the user. Use the \8cselect¹ command to set a new selection; use \8ccontents of selection¹ to get or change information in the document. """
+ """selection - the selection visible to the user. Use the \95selectÕ command to set a new selection; use \95contents of selectionÕ to get or change information in the document. """
which = 'sele'
want = 'csel'
class clipboard(aetools.NProperty):
aliases = alias
class selection_2d_object(aetools.ComponentItem):
- """selection-object - A way to refer to the state of the current of the selection. Use the \8cselect¹ command to make a new selection. """
+ """selection-object - A way to refer to the state of the current of the selection. Use the \95selectÕ command to make a new selection. """
want = 'csel'
class contents(aetools.NProperty):
- """contents - the information currently selected. Use \8ccontents of selection¹ to get or change information in a document. """
+ """contents - the information currently selected. Use \95contents of selectionÕ to get or change information in a document. """
which = 'pcnt'
want = '****'
class _3e_(aetools.NComparison):
"""> - Greater than """
class _b3_(aetools.NComparison):
- """\84 - Greater than or equal to """
+ """³ - Greater than or equal to """
class _3c_(aetools.NComparison):
"""< - Less than """
class _b2_(aetools.NComparison):
- """¾ - Less than or equal to """
+ """² - Less than or equal to """
_Enum_savo = {
'yes' : 'yes ', # Save objects now
'no' : 'no ', # Do not save objects
table._elemdict = {
}
_Enum_prtn = {
- 'read_only' : 'nmod', # Can¹t change values or formulas
+ 'read_only' : 'nmod', # CanÕt change values or formulas
'formulas_protected' : 'fpro', # Can changes values but not formulas
'read_2f_write' : 'modf', # Can change values and formulas
}
# element 'cwor' as ['indx']
class text_flow(aetools.ComponentItem):
- """text flow - A contiguous block of text. Page layout applications call this a \8cstory.¹ """
+ """text flow - A contiguous block of text. Page layout applications call this a \95story.Õ """
want = 'cflo'
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
class name(aetools.NProperty):
kFAFileParam = FOUR_CHAR_CODE('faal')
kFAIndexParam = FOUR_CHAR_CODE('indx')
kAEInternetSuite = FOUR_CHAR_CODE('gurl')
-kAEISWebStarSuite = FOUR_CHAR_CODE('WWW\87')
+kAEISWebStarSuite = FOUR_CHAR_CODE('WWW½')
kAEISGetURL = FOUR_CHAR_CODE('gurl')
KAEISHandleCGI = FOUR_CHAR_CODE('sdoc')
cURL = FOUR_CHAR_CODE('url ')
kUserIcon = FOUR_CHAR_CODE('user')
kOwnerIcon = FOUR_CHAR_CODE('susr')
kGroupIcon = FOUR_CHAR_CODE('grup')
-kAppleExtrasFolderIcon = FOUR_CHAR_CODE('aex\9f')
+kAppleExtrasFolderIcon = FOUR_CHAR_CODE('aex\80')
kAppleMenuFolderIcon = FOUR_CHAR_CODE('amnu')
kApplicationsFolderIcon = FOUR_CHAR_CODE('apps')
kApplicationSupportFolderIcon = FOUR_CHAR_CODE('asup')
-kAssistantsFolderIcon = FOUR_CHAR_CODE('ast\9f')
+kAssistantsFolderIcon = FOUR_CHAR_CODE('ast\80')
kContextualMenuItemsFolderIcon = FOUR_CHAR_CODE('cmnu')
kControlPanelDisabledFolderIcon = FOUR_CHAR_CODE('ctrD')
kControlPanelFolderIcon = FOUR_CHAR_CODE('ctrl')
-kControlStripModulesFolderIcon = FOUR_CHAR_CODE('sdv\9f')
+kControlStripModulesFolderIcon = FOUR_CHAR_CODE('sdv\80')
kDocumentsFolderIcon = FOUR_CHAR_CODE('docs')
kExtensionsDisabledFolderIcon = FOUR_CHAR_CODE('extD')
kExtensionsFolderIcon = FOUR_CHAR_CODE('extn')
kFavoritesFolderIcon = FOUR_CHAR_CODE('favs')
kFontsFolderIcon = FOUR_CHAR_CODE('font')
-kHelpFolderIcon = FOUR_CHAR_CODE('\9fhlp')
-kInternetFolderIcon = FOUR_CHAR_CODE('int\9f')
-kInternetPlugInFolderIcon = FOUR_CHAR_CODE('\9fnet')
-kLocalesFolderIcon = FOUR_CHAR_CODE('\9floc')
-kMacOSReadMeFolderIcon = FOUR_CHAR_CODE('mor\9f')
-kPreferencesFolderIcon = FOUR_CHAR_CODE('prf\9f')
+kHelpFolderIcon = FOUR_CHAR_CODE('\80hlp')
+kInternetFolderIcon = FOUR_CHAR_CODE('int\80')
+kInternetPlugInFolderIcon = FOUR_CHAR_CODE('\80net')
+kLocalesFolderIcon = FOUR_CHAR_CODE('\80loc')
+kMacOSReadMeFolderIcon = FOUR_CHAR_CODE('mor\80')
+kPreferencesFolderIcon = FOUR_CHAR_CODE('prf\80')
kPrinterDescriptionFolderIcon = FOUR_CHAR_CODE('ppdf')
-kPrinterDriverFolderIcon = FOUR_CHAR_CODE('\9fprd')
+kPrinterDriverFolderIcon = FOUR_CHAR_CODE('\80prd')
kPrintMonitorFolderIcon = FOUR_CHAR_CODE('prnt')
kRecentApplicationsFolderIcon = FOUR_CHAR_CODE('rapp')
kRecentDocumentsFolderIcon = FOUR_CHAR_CODE('rdoc')
kRecentServersFolderIcon = FOUR_CHAR_CODE('rsrv')
-kScriptingAdditionsFolderIcon = FOUR_CHAR_CODE('\9fscr')
-kSharedLibrariesFolderIcon = FOUR_CHAR_CODE('\9flib')
-kScriptsFolderIcon = FOUR_CHAR_CODE('scr\9f')
+kScriptingAdditionsFolderIcon = FOUR_CHAR_CODE('\80scr')
+kSharedLibrariesFolderIcon = FOUR_CHAR_CODE('\80lib')
+kScriptsFolderIcon = FOUR_CHAR_CODE('scr\80')
kShutdownItemsDisabledFolderIcon = FOUR_CHAR_CODE('shdD')
kShutdownItemsFolderIcon = FOUR_CHAR_CODE('shdf')
kSpeakableItemsFolder = FOUR_CHAR_CODE('spki')
kStartupItemsFolderIcon = FOUR_CHAR_CODE('strt')
kSystemExtensionDisabledFolderIcon = FOUR_CHAR_CODE('macD')
kSystemFolderIcon = FOUR_CHAR_CODE('macs')
-kTextEncodingsFolderIcon = FOUR_CHAR_CODE('\9ftex')
+kTextEncodingsFolderIcon = FOUR_CHAR_CODE('\80tex')
kAppearanceFolderIcon = FOUR_CHAR_CODE('appr')
-kUtilitiesFolderIcon = FOUR_CHAR_CODE('uti\9f')
+kUtilitiesFolderIcon = FOUR_CHAR_CODE('uti\80')
kVoicesFolderIcon = FOUR_CHAR_CODE('fvoc')
kColorSyncFolderIcon = FOUR_CHAR_CODE('prof')
kInternetSearchSitesFolderIcon = FOUR_CHAR_CODE('issf')
-kUsersFolderIcon = FOUR_CHAR_CODE('usr\9f')
+kUsersFolderIcon = FOUR_CHAR_CODE('usr\80')
kAppleScriptBadgeIcon = FOUR_CHAR_CODE('scrp')
kLockedBadgeIcon = FOUR_CHAR_CODE('lbdg')
kMountedBadgeIcon = FOUR_CHAR_CODE('mbdg')
telDeviceNotFound = -10109 #device not found
telBadCodeResource = -10108 #code resource not found
telInitFailed = -10107 #initialization failed
-telNoCommFolder = -10106 #Communications/Extensions \9f not found
+telNoCommFolder = -10106 #Communications/Extensions \80 not found
telUnknownErr = -10103 #unable to set config
telNoSuchTool = -10102 #unable to find tool with name specified
telBadFunction = -10091 #bad msgCode specified
kDMSWNotInitializedErr = -6227 #Required software not initialized (eg windowmanager or display mgr).
kSysSWTooOld = -6226 #Missing critical pieces of System Software.
kDMMirroringNotOn = -6225 #Returned by all calls that need mirroring to be on to do their thing.
-kDMCantBlock = -6224 #Mirroring is already on, can¹t Block now (call DMUnMirror() first).
+kDMCantBlock = -6224 #Mirroring is already on, canÕt Block now (call DMUnMirror() first).
kDMMirroringBlocked = -6223 #DMBlockMirroring() has been called.
kDMWrongNumberOfDisplays = -6222 #Can only handle 2 displays for now.
kDMMirroringOnAlready = -6221 #Returned by all calls that need mirroring to be off to do their thing.
errUnrecognizedWindowClass = -5605 #tried to create a window with a bad WindowClass
errWindowPropertyNotFound = -5604 #tried to get a nonexistent property
errInvalidWindowProperty = -5603 #tried to access a property tag with private creator
-errWindowDoesNotHaveProxy = -5602 #tried to do something requiring a proxy to a window which doesn¹t have a proxy
+errWindowDoesNotHaveProxy = -5602 #tried to do something requiring a proxy to a window which doesnÕt have a proxy
errUnsupportedWindowAttributesForClass = -5601 #tried to create a window with WindowAttributes not supported by the WindowClass
errInvalidWindowPtr = -5600 #tried to pass a bad WindowRef argument
gestaltLocationErr = -5553 #gestalt function ptr wasn't in sysheap
kEBADMSGErr = -3272 #
kENOSRErr = -3271 #
kETIMEErr = -3270 #
-kEPROTOErr = -3269 #\80\80\80 fill out missing codes \80\80\80
+kEPROTOErr = -3269 #\82\82\82 fill out missing codes \82\82\82
kEHOSTUNREACHErr = -3264 #No route to host
kEHOSTDOWNErr = -3263 #Host is down
kECONNREFUSEDErr = -3260 #Connection refused
tsmUseInputWindowErr = -2512 #not TSM aware because we are using input window
tsmDocumentOpenErr = -2511 #there are open documents
tsmTextServiceNotFoundErr = -2510 #no text service found
-tsmCantOpenComponentErr = -2509 #can¹t open the component
+tsmCantOpenComponentErr = -2509 #canÕt open the component
tsmNoOpenTSErr = -2508 #no open text service
tsmDocNotActiveErr = -2507 #document is NOT active
tsmTSMDocBusyErr = -2506 #document is still active
kernelCanceledErr = -2402 #kernelCanceledErr
kernelIncompleteErr = -2401 #kernelIncompleteErr
badCallOrderErr = -2209 #Usually due to a status call being called prior to being setup first
-noDMAErr = -2208 #Can¹t do DMA digitizing (i.e. can't go to requested dest
-badDepthErr = -2207 #Can¹t digitize into this depth
-notExactSizeErr = -2206 #Can¹t do exact size requested
+noDMAErr = -2208 #CanÕt do DMA digitizing (i.e. can't go to requested dest
+badDepthErr = -2207 #CanÕt digitize into this depth
+notExactSizeErr = -2206 #CanÕt do exact size requested
noMoreKeyColorsErr = -2205 #all key indexes in use
notExactMatrixErr = -2204 #warning of bad matrix, digitizer did its best
matrixErr = -2203 #bad matrix, digitizer did nothing
rcDBNull = -800 #rcDBNull
noMMUErr = -626 #no MMU present
cannotDeferErr = -625 #unable to defer additional functions
-interruptsMaskedErr = -624 #don¹t call with interrupts masked
+interruptsMaskedErr = -624 #donÕt call with interrupts masked
notLockedErr = -623 #specified range of memory is not locked
cannotMakeContiguousErr = -622 #cannot make specified range contiguous
notHeldErr = -621 #specified range of memory is not held
readErr = -19 #I/O System Errors
statusErr = -18 #I/O System Errors
controlErr = -17 #I/O System Errors
-dsExtensionsDisabled = -13 #say ³Extensions Disabled²
-dsHD20Installed = -12 #say ³HD20 Startup²
-dsDisassemblerInstalled = -11 #say ³Disassembler Installed²
-dsMacsBugInstalled = -10 #say ³MacsBug Installed²
+dsExtensionsDisabled = -13 #say \96Extensions Disabled\94
+dsHD20Installed = -12 #say \96HD20 Startup\94
+dsDisassemblerInstalled = -11 #say \96Disassembler Installed\94
+dsMacsBugInstalled = -10 #say \96MacsBug Installed\94
seNoDB = -8 #no debugger installed to handle debugger command
SlpTypeErr = -5 #invalid queue element
unimpErr = -4 #unimplemented core routine
#self.window.bevelbox = W.BevelBox((0, 0, 0, 56))
self.window.openbutton = W.Button((10, 8, 80, 16), "Open", self.openbuttonhit)
- self.window.browsebutton = W.Button((100, 8, 80, 16), "Browse\8a", self.browsebuttonhit)
+ self.window.browsebutton = W.Button((100, 8, 80, 16), "Browse\83", self.browsebuttonhit)
self.window.reloadbutton = W.Button((10, 32, 80, 16), "Reload", self.reloadbuttonhit)
- self.window.openotherbutton = W.Button((100, 32, 80, 16), "Open other\8a", self.openother)
+ self.window.openotherbutton = W.Button((100, 32, 80, 16), "Open other\83", self.openother)
self.window.openbutton.enable(0)
self.window.reloadbutton.enable(0)
file, path, description = imp.find_module(modname)
except ImportError:
W.SetCursor("arrow")
- W.Message("Can¹t find file for module ³%s²."
+ W.Message("CanÕt find file for module \96%s\94."
% modname)
else:
self.openscript(path, modname)
elif path[-4:] in ['.pyc', '.pyo']:
W.getapplication().openscript(path[:-1], modname=modname)
else:
- W.Message("Can¹t edit ³%s²; it might be a shared library or a .pyc file."
+ W.Message("CanÕt edit \96%s\94; it might be a shared library or a .pyc file."
% modname)
def openother(self):
file, path, description = imp.find_module(modname)
except ImportError:
if modname in sys.builtin_module_names:
- alerttext = "³%s² is a builtin module, which you can¹t edit." % modname
+ alerttext = "\96%s\94 is a builtin module, which you canÕt edit." % modname
else:
- alerttext = "No module named ³%s²." % modname
+ alerttext = "No module named \96%s\94." % modname
raise W.AlertError, alerttext
self.openscript(path, modname)
value = _repr(value)
'' + value # test to see if it is a string, in case a __repr__ method is buggy
except:
- value = '\80\80\80 exception in repr()'
+ value = '\82\82\82 exception in repr()'
if truncvalue:
return key + '\t' + value[:255]
return key + '\t' + value
def unpack_object(object, indent = 0):
tp = type(object)
if tp in SIMPLE_TYPES and tp is not types.NoneType:
- raise TypeError, 'can¹t browse simple type: %s' % tp.__name__
+ raise TypeError, 'canÕt browse simple type: %s' % tp.__name__
elif tp == types.DictionaryType:
return unpack_dict(object, indent)
elif tp in (types.TupleType, types.ListType):
def makenamespacemenu(self, *args):
W.SetCursor('watch')
namespacelist = self.getnamespacelist()
- self.namespacemenu.set([("Clear window", self.clearbuffer), ("Font settings\8a", self.dofontsettings),
- ["Namespace"] + namespacelist, ("Browse namespace\8a", self.browsenamespace)])
+ self.namespacemenu.set([("Clear window", self.clearbuffer), ("Font settings\83", self.dofontsettings),
+ ["Namespace"] + namespacelist, ("Browse namespace\83", self.browsenamespace)])
currentname = self.consoletext._namespace["__name__"]
for i in range(len(namespacelist)):
if namespacelist[i][0] == currentname:
tabbable = 0)
self.w.outputtext = OutputTextWidget((-1, -1, -14, 1), inset = (6, 5),
fontsettings = self.fontsettings, tabsettings = self.tabsettings, readonly = 1)
- menuitems = [("Clear window", self.clearbuffer), ("Font settings\8a", self.dofontsettings)]
+ menuitems = [("Clear window", self.clearbuffer), ("Font settings\83", self.dofontsettings)]
self.w.popupmenu = W.PopupMenu((-15, -1, 16, 16), menuitems)
self.w._bary = W.Scrollbar((-15, 14, 16, -14), self.w.outputtext.vscroll, max = 32767)
self.botframe = bottomframe
if running:
self.set_continue()
- self.reason = 'Running\8a'
+ self.reason = 'Running\83'
self.setstate('running')
else:
self.set_step()
def makeoptionsmenu(self):
options = [('Clear breakpoints', self.w.panes.bottom.src.source.clearbreakpoints),
('Clear all breakpoints', self.clear_all_breaks),
- ('Edit breakpoints\8a', self.edit_breaks), '-',
+ ('Edit breakpoints\83', self.edit_breaks), '-',
(self.tracemagic and
'Disable __magic__ tracing' or 'Enable __magic__ tracing', self.togglemagic)]
self.w.panes.bottom.src.optionsmenu.set(options)
def running(self):
W.SetCursor('watch')
- self.reason = 'Running\8a'
+ self.reason = 'Running\83'
self.setstate('running')
#self.w.panes.bottom.src.source.set('')
#self.w.panes.browserpanes.stacklist.stack.set([])
try:
f, filename, (suff, mode, dummy) = imp.find_module(modname)
except ImportError:
- self.w.panes.bottom.src.source.set('can¹t find file')
+ self.w.panes.bottom.src.source.set('canÕt find file')
else:
if f:
f.close()
f.close()
self.w.panes.bottom.src.source.set(data, filename)
else:
- self.w.panes.bottom.src.source.set('can¹t find file')
+ self.w.panes.bottom.src.source.set('canÕt find file')
else:
- self.w.panes.bottom.src.source.set('can¹t find file')
+ self.w.panes.bottom.src.source.set('canÕt find file')
else:
self.w.panes.bottom.src.source.set(data, filename)
self.file = filename
self.w.panes.files = W.List(None, callback = self.filehit) #, flags = Lists.lOnlyOne)
self.w.panes.gr = W.Group(None)
self.w.panes.gr.breaks = W.List((0, 0, -130, 0), callback = self.linehit) #, flags = Lists.lOnlyOne)
- self.w.panes.gr.openbutton = W.Button((-80, 4, 0, 16), 'View\8a', self.openbuttonhit)
+ self.w.panes.gr.openbutton = W.Button((-80, 4, 0, 16), 'View\83', self.openbuttonhit)
self.w.panes.gr.deletebutton = W.Button((-80, 28, 0, 16), 'Delete', self.deletebuttonhit)
self.w.bind('<close>', self.close)
def getdebugger():
if not __debug__:
- raise W.AlertError, "Can¹t debug in ³Optimize bytecode² mode.\r(see ³Default startup options² in EditPythonPreferences)"
+ raise W.AlertError, "CanÕt debug in \96Optimize bytecode\94 mode.\r(see \96Default startup options\94 in EditPythonPreferences)"
global _debugger
if _debugger is None:
_debugger = Debugger()