Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the same macroman characters.
This commit is contained in:
parent
dfebe90c4c
commit
6f84ed5afc
|
@ -260,8 +260,8 @@ class AECaptureParser:
|
|||
'type(': [('type(', "aetypes.Type('"), (')', "')")],
|
||||
"'null'()": [("'null'()", "None")],
|
||||
'abso(': [('abso(', "aetypes.Unknown('abso', ")],
|
||||
'³': [('³', '"')],
|
||||
'²': [('²', '"')],
|
||||
'–': [('–', '"')],
|
||||
'”': [('”', '"')],
|
||||
'[': [('[', '('), (', ', ',')],
|
||||
']': [(']', ')')],
|
||||
'«': [('«', "«")],
|
||||
|
@ -353,7 +353,7 @@ def addquotes(txt):
|
|||
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:–MoPar:Data:DevDev:Python:Python 1.5.2c1:Extensions”, from:'null'()}}, data:[100, 10]
|
||||
[/event]
|
||||
|
||||
"""
|
||||
|
|
|
@ -56,7 +56,7 @@ char start(struct runloc& r,BBLMParamBlock &pb)
|
|||
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;
|
||||
|
|
|
@ -2,7 +2,7 @@ This is the Python Language Module for BBEdit.
|
|||
|
||||
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 'Ÿ' 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 '€' 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.
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ class PythonSlave(FrameWork.Application):
|
|||
raise self
|
||||
|
||||
def getabouttext(self):
|
||||
return "About PythonSlaveŠ"
|
||||
return "About PythonSlaveƒ"
|
||||
|
||||
def do_about(self, id, item, window, event):
|
||||
EasyDialogs.Message("PythonSlave " + __version__ + "\rCopyright © 1996, Letterror, JvR")
|
||||
|
|
|
@ -29,7 +29,7 @@ from the target before going on to the next event
|
|||
|
||||
Object is a appleevent object specifier and is of the form
|
||||
|
||||
PythonScript.PsClass.Class1(arg).Class2(arg)Š.Property()
|
||||
PythonScript.PsClass.Class1(arg).Class2(arg)ƒ.Property()
|
||||
|
||||
All applescript event, class and property names are capitalised to
|
||||
distinguish them from python methods.
|
||||
|
|
|
@ -24,7 +24,7 @@ class Special_Events_Events:
|
|||
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<EFBFBD> signature before mounting?
|
||||
Keyword argument signature_verification: Verify the DigiSignŽ 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
|
||||
|
@ -57,7 +57,7 @@ class Special_Events_Events:
|
|||
"""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<EFBFBD> signature of the DiskScript and the images it references be verified?
|
||||
Keyword argument signature_verification: Should the DigiSignŽ signature of the DiskScript and the images it references be verified?
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'ddsk'
|
||||
|
@ -158,10 +158,10 @@ class Special_Events_Events:
|
|||
return _arguments['----']
|
||||
|
||||
def verify_signature(self, _object, _attributes={}, **_arguments):
|
||||
"""verify signature: Verify the DigiSign<EFBFBD> signature for a Disk Copy document
|
||||
"""verify signature: Verify the DigiSignŽ signature for a Disk Copy document
|
||||
Required argument: the disk image to be verified
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: Is the DigiSign<EFBFBD> signature valid?
|
||||
Returns: Is the DigiSignŽ signature valid?
|
||||
"""
|
||||
_code = 'ddsk'
|
||||
_subcode = 'Vsig'
|
||||
|
@ -183,7 +183,7 @@ class Special_Events_Events:
|
|||
}
|
||||
|
||||
def sign_image(self, _object, _attributes={}, **_arguments):
|
||||
"""sign image: Add a DigiSign<EFBFBD> signature to a Disk Copy document
|
||||
"""sign image: Add a DigiSignŽ 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
|
||||
|
@ -213,7 +213,7 @@ class Special_Events_Events:
|
|||
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<EFBFBD> signature be verified before creating a floppy disk?
|
||||
Keyword argument signature_verification: Should the DigiSignŽ 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
|
||||
|
@ -241,7 +241,7 @@ class Special_Events_Events:
|
|||
}
|
||||
|
||||
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<52>, or DiskSet images.
|
||||
"""check image: Check the disk imageÕs internal data structures for any inconsistencies. Works on NDIF, Disk Copy 4.2, DARTŽ, 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
|
||||
|
@ -313,7 +313,7 @@ class Special_Events_Events:
|
|||
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<EFBFBD> signature of the source images be verified before creating the SMI?
|
||||
Keyword argument signature_verification: Should the DigiSignŽ 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
|
||||
|
|
|
@ -30,7 +30,7 @@ class Standard_Suite_Events:
|
|||
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<EFBFBD> signature be verified before saving?
|
||||
Keyword argument signature_verification: Should the DigiSignŽ 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%)
|
||||
|
@ -258,7 +258,7 @@ class file_format(aetools.NProperty):
|
|||
which = 'Ifmt'
|
||||
want = 'TEXT'
|
||||
class signed(aetools.NProperty):
|
||||
"""signed - Does the disk image have a DigiSign<EFBFBD> signature? """
|
||||
"""signed - Does the disk image have a DigiSignŽ signature? """
|
||||
which = 'Isin'
|
||||
want = 'bool'
|
||||
class compressed(aetools.NProperty):
|
||||
|
@ -384,7 +384,7 @@ Save_reply_record._propdict = {
|
|||
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
|
||||
|
@ -399,7 +399,7 @@ _Enum_SvAs = {
|
|||
|
||||
_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
|
||||
|
|
|
@ -35,7 +35,7 @@ class ToolboxAssi:
|
|||
try:
|
||||
self.talker = Toolbox('ALTV', start = 1)
|
||||
except:
|
||||
raise W.AlertError, "Can¹t find ³Toolbox Assistant²"
|
||||
raise W.AlertError, "CanÕt find –Toolbox Assistant”"
|
||||
lookup = self.w.edit.get()
|
||||
try:
|
||||
self.talker.LookupTopic(lookup)
|
||||
|
|
|
@ -70,28 +70,28 @@ kDocumentsFolderType = 'docs'
|
|||
kVolumeRootFolderType = 'root'
|
||||
kChewableItemsFolderType = 'flnt'
|
||||
kApplicationSupportFolderType = 'asup'
|
||||
kTextEncodingsFolderType = 'Ÿtex'
|
||||
kTextEncodingsFolderType = '€tex'
|
||||
kStationeryFolderType = 'odst'
|
||||
kOpenDocFolderType = 'odod'
|
||||
kOpenDocShellPlugInsFolderType = 'odsp'
|
||||
kEditorsFolderType = 'oded'
|
||||
kOpenDocEditorsFolderType = 'Ÿodf'
|
||||
kOpenDocEditorsFolderType = '€odf'
|
||||
kOpenDocLibrariesFolderType = 'odlb'
|
||||
kGenEditorsFolderType = 'Ÿedi'
|
||||
kHelpFolderType = 'Ÿhlp'
|
||||
kInternetPlugInFolderType = 'Ÿnet'
|
||||
kModemScriptsFolderType = 'Ÿmod'
|
||||
kGenEditorsFolderType = '€edi'
|
||||
kHelpFolderType = '€hlp'
|
||||
kInternetPlugInFolderType = '€net'
|
||||
kModemScriptsFolderType = '€mod'
|
||||
kPrinterDescriptionFolderType = 'ppdf'
|
||||
kPrinterDriverFolderType = 'Ÿprd'
|
||||
kScriptingAdditionsFolderType = 'Ÿscr'
|
||||
kSharedLibrariesFolderType = 'Ÿlib'
|
||||
kPrinterDriverFolderType = '€prd'
|
||||
kScriptingAdditionsFolderType = '€scr'
|
||||
kSharedLibrariesFolderType = '€lib'
|
||||
kVoicesFolderType = 'fvoc'
|
||||
kControlStripModulesFolderType = 'sdev'
|
||||
kAssistantsFolderType = 'astŸ'
|
||||
kUtilitiesFolderType = 'utiŸ'
|
||||
kAppleExtrasFolderType = 'aexŸ'
|
||||
kAssistantsFolderType = 'ast€'
|
||||
kUtilitiesFolderType = 'uti€'
|
||||
kAppleExtrasFolderType = 'aex€'
|
||||
kContextualMenuItemsFolderType = 'cmnu'
|
||||
kMacOSReadMesFolderType = 'morŸ'
|
||||
kMacOSReadMesFolderType = 'mor€'
|
||||
kALMModulesFolderType = 'walk'
|
||||
kALMPreferencesFolderType = 'trip'
|
||||
kALMLocationsFolderType = 'fall'
|
||||
|
|
|
@ -70,7 +70,7 @@ class CfrgResource:
|
|||
try:
|
||||
data = Res.Get1Resource('cfrg', 0).data
|
||||
except Res.Error:
|
||||
raise Res.Error, "no Œcfrg¹ resource found", sys.exc_traceback
|
||||
raise Res.Error, "no •cfrgÕ resource found", sys.exc_traceback
|
||||
finally:
|
||||
Res.CloseResFile(resref)
|
||||
Res.UseResFile(currentresref)
|
||||
|
@ -146,7 +146,7 @@ class FragmentDescriptor:
|
|||
|
||||
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:
|
||||
|
@ -158,7 +158,7 @@ class FragmentDescriptor:
|
|||
|
||||
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)
|
||||
|
|
|
@ -121,7 +121,7 @@ def update(file):
|
|||
#
|
||||
|
||||
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 –Get Info” window."""
|
||||
object = macfs.FSSpec(object)
|
||||
fss = macfs.FSSpec(object)
|
||||
object_alias = fss.NewAlias()
|
||||
|
@ -756,7 +756,7 @@ def _test():
|
|||
sys.stdin.readline()
|
||||
|
||||
def _test2():
|
||||
print '\nmorefindertools version %s\nTests coming upŠ' %__version__
|
||||
print '\nmorefindertools version %s\nTests coming upƒ' %__version__
|
||||
import os
|
||||
import random
|
||||
|
||||
|
@ -800,7 +800,7 @@ def _test2():
|
|||
pos = (100+i*10, 100+i*10)
|
||||
windowposition(base, pos)
|
||||
print '\twindow position', pos
|
||||
windowposition(base, orgpos) # park it where it was beforeŠ
|
||||
windowposition(base, orgpos) # park it where it was beforeƒ
|
||||
|
||||
print 'Put a comment in file', f, ':'
|
||||
print '\t', comment(f) # print the Finder comment this file has
|
||||
|
|
|
@ -275,7 +275,7 @@ class AppleScript_Suite:
|
|||
}
|
||||
|
||||
def Call_a5_subroutine(self, _object=None, _attributes={}, **_arguments):
|
||||
"""Call€subroutine: A subroutine call
|
||||
"""Call‚subroutine: A subroutine call
|
||||
Required argument: anything
|
||||
Keyword argument at: a preposition
|
||||
Keyword argument _from: a preposition
|
||||
|
@ -347,7 +347,7 @@ class AppleScript_Suite:
|
|||
return _arguments['----']
|
||||
|
||||
def _ad_(self, _object, _attributes={}, **_arguments):
|
||||
"""‚: Inequality
|
||||
""": Inequality
|
||||
Required argument: an AE object reference
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: anything
|
||||
|
@ -536,7 +536,7 @@ class AppleScript_Suite:
|
|||
return _arguments['----']
|
||||
|
||||
def _b3_(self, _object, _attributes={}, **_arguments):
|
||||
"""„: Greater than or equal to
|
||||
"""³: Greater than or equal to
|
||||
Required argument: an AE object reference
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: anything
|
||||
|
@ -578,7 +578,7 @@ class AppleScript_Suite:
|
|||
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
|
||||
|
|
|
@ -204,7 +204,7 @@ class index(aetools.NProperty):
|
|||
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):
|
||||
|
|
|
@ -85,7 +85,7 @@ class Finder_Suite:
|
|||
|
||||
def empty(self, _object=None, _attributes={}, **_arguments):
|
||||
"""empty: Empty the trash
|
||||
Required argument: ³empty² and ³empty trash² both do the same thing
|
||||
Required argument: –empty” and –empty trash” both do the same thing
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
|
@ -311,7 +311,7 @@ class accessory_suitcase(aetools.ComponentItem):
|
|||
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 –Make Alias”)"""
|
||||
want = 'alia'
|
||||
class original_item(aetools.NProperty):
|
||||
"""original item - the original item pointed to by the alias"""
|
||||
|
@ -324,11 +324,11 @@ class application(aetools.ComponentItem):
|
|||
"""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 –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"""
|
||||
"""apple menu items folder - the special folder –Apple Menu Items,” the contents of which appear in the Apple menu"""
|
||||
which = 'amnu'
|
||||
want = 'obj '
|
||||
class clipboard(aetools.NProperty):
|
||||
|
@ -336,7 +336,7 @@ 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 –Control Panels”"""
|
||||
which = 'ctrl'
|
||||
want = 'obj '
|
||||
class desktop(aetools.NProperty):
|
||||
|
@ -344,7 +344,7 @@ class desktop(aetools.NProperty):
|
|||
which = 'desk'
|
||||
want = 'obj '
|
||||
class extensions_folder(aetools.NProperty):
|
||||
"""extensions folder - the special folder ³Extensions²"""
|
||||
"""extensions folder - the special folder –Extensions”"""
|
||||
which = 'extn'
|
||||
want = 'obj '
|
||||
class file_sharing(aetools.NProperty):
|
||||
|
@ -352,7 +352,7 @@ 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 –Fonts”"""
|
||||
which = 'ffnt'
|
||||
want = 'obj '
|
||||
class frontmost(aetools.NProperty):
|
||||
|
@ -360,7 +360,7 @@ 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 –New Folder” was selected"""
|
||||
which = 'pins'
|
||||
want = 'obj '
|
||||
class largest_free_block(aetools.NProperty):
|
||||
|
@ -368,7 +368,7 @@ 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 –Preferences”"""
|
||||
which = 'pref'
|
||||
want = 'obj '
|
||||
class product_version(aetools.NProperty):
|
||||
|
@ -384,15 +384,15 @@ class sharing_starting_up(aetools.NProperty):
|
|||
which = 'fsup'
|
||||
want = 'bool'
|
||||
class shortcuts(aetools.NProperty):
|
||||
"""shortcuts - the ³Finder Shortcuts² item in the Finder's help menu"""
|
||||
"""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²"""
|
||||
"""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²"""
|
||||
"""startup items folder - the special folder –Startup Items”"""
|
||||
which = 'strt'
|
||||
want = 'obj '
|
||||
class system_folder(aetools.NProperty):
|
||||
|
@ -400,7 +400,7 @@ 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 –Temporary Items” (invisible)"""
|
||||
which = 'temp'
|
||||
want = 'obj '
|
||||
class version(aetools.NProperty):
|
||||
|
@ -562,7 +562,7 @@ class item(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 (–Window” does not include the desktop window)"""
|
||||
want = 'dwnd'
|
||||
|
||||
content_spaces = content_space
|
||||
|
@ -632,7 +632,7 @@ class desk_accessory_file(aetools.ComponentItem):
|
|||
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 –desktop” object"""
|
||||
want = 'cdsk'
|
||||
class startup_disk(aetools.NProperty):
|
||||
"""startup disk - the startup disk"""
|
||||
|
@ -720,12 +720,12 @@ class locked(aetools.NProperty):
|
|||
"""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 –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)
|
||||
# repeated property version the version of the file (visible at the bottom of the –Get Info” dialog)
|
||||
|
||||
files = file
|
||||
|
||||
|
@ -790,7 +790,7 @@ class position(aetools.NProperty):
|
|||
groups = group
|
||||
|
||||
class information_window(aetools.ComponentItem):
|
||||
"""information window - An information window (opened by ³Get InfoŠ²)"""
|
||||
"""information window - An information window (opened by –Get Infoƒ”)"""
|
||||
want = 'iwnd'
|
||||
class comment(aetools.NProperty):
|
||||
"""comment - the comment"""
|
||||
|
@ -813,16 +813,16 @@ class physical_size(aetools.NProperty):
|
|||
"""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 –Get Info” 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 –Get Info” dialog)
|
||||
class warn_before_emptying(aetools.NProperty):
|
||||
"""warn before emptying - Is a dialog displayed when ³Empty trashŠ² is selected?"""
|
||||
"""warn before emptying - Is a dialog displayed when –Empty trashƒ” is selected?"""
|
||||
which = 'warn'
|
||||
want = 'bool'
|
||||
|
||||
|
@ -832,7 +832,7 @@ class item(aetools.ComponentItem):
|
|||
"""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 –Get Info” 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"""
|
||||
|
@ -978,7 +978,7 @@ class see_folders(aetools.NProperty):
|
|||
want = 'bool'
|
||||
|
||||
class sharing_window(aetools.ComponentItem):
|
||||
"""sharing window - A sharing window (opened by ³SharingŠ²)"""
|
||||
"""sharing window - A sharing window (opened by –Sharingƒ”)"""
|
||||
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?
|
||||
|
@ -1020,9 +1020,9 @@ class suitcase(aetools.ComponentItem):
|
|||
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 –trash” object"""
|
||||
want = 'ctrs'
|
||||
# repeated property warn_before_emptying Is a dialog displayed when ³Empty trashŠ² is selected?
|
||||
# repeated property warn_before_emptying Is a dialog displayed when –Empty trashƒ” is selected?
|
||||
# element 'dsut' as ['indx', 'name']
|
||||
# element 'alia' as ['indx', 'name']
|
||||
# element 'appf' as ['indx', 'name']
|
||||
|
|
|
@ -791,7 +791,7 @@ class Metrowerks_Shell_Suite:
|
|||
|
||||
|
||||
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."""
|
||||
|
@ -814,7 +814,7 @@ class Flash_delay(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):
|
||||
|
@ -1111,14 +1111,14 @@ class filetype(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):
|
||||
|
@ -1172,7 +1172,7 @@ class system_heap(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."""
|
||||
|
@ -1624,8 +1624,8 @@ _Enum_SrcT = {
|
|||
|
||||
_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<EFBFBD> folder.
|
||||
'project_relative' : 'PRel', # A path relative to the current projectÕs folder.
|
||||
'shell_relative' : 'SRel', # A path relative to the CodeWarriorŽ folder.
|
||||
'system_relative' : 'YRel', # A path relative to the system folder
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ class Standard_Suite:
|
|||
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'
|
||||
|
@ -615,11 +615,11 @@ class _3d_(aetools.NComparison):
|
|||
class _3e_(aetools.NComparison):
|
||||
"""> - Greater than"""
|
||||
class _b3_(aetools.NComparison):
|
||||
"""„ - 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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Programma's:Netscape Navigator<EFBFBD> Folder:Netscape Navigator<6F> 3.01
|
||||
Generated from flap:Programma's:Netscape NavigatorŽ Folder:Netscape NavigatorŽ 3.01
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite WorldWideWeb suite, as defined in Spyglass spec.:
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Programma's:Netscape Navigator<EFBFBD> Folder:Netscape Navigator<6F> 3.01
|
||||
Generated from flap:Programma's:Netscape NavigatorŽ Folder:Netscape NavigatorŽ 3.01
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
|
@ -212,7 +212,7 @@ class WorldWideWeb_suite_2c__as_defined_in_Spyglass_spec_2e_:
|
|||
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 –echo” application. Each download from now on will be echoed to this application.
|
||||
Required argument: Application signature
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
|
@ -257,7 +257,7 @@ class WorldWideWeb_suite_2c__as_defined_in_Spyglass_spec_2e_:
|
|||
}
|
||||
|
||||
def register_viewer(self, _object, _attributes={}, **_arguments):
|
||||
"""register viewer: Registers an application as a Œspecial¹ viewer for this MIME type. The application will be launched with ViewDoc events
|
||||
"""register viewer: Registers an application as a •specialÕ 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
|
||||
|
@ -310,9 +310,9 @@ class WorldWideWeb_suite_2c__as_defined_in_Spyglass_spec_2e_:
|
|||
}
|
||||
|
||||
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 –handler” for this protocol with a given prefix. The handler will receive –OpenURL”, or if that fails, –GetURL” event.
|
||||
Required argument: Application sig
|
||||
Keyword argument for_protocol: protocol prefix: ³finger:², ³file²,
|
||||
Keyword argument for_protocol: protocol prefix: –finger:”, –file”,
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: TRUE if registration has been successful
|
||||
"""
|
||||
|
@ -336,7 +336,7 @@ class WorldWideWeb_suite_2c__as_defined_in_Spyglass_spec_2e_:
|
|||
}
|
||||
|
||||
def unregister_protocol(self, _object=None, _attributes={}, **_arguments):
|
||||
"""unregister protocol: reverses the effects of ³register protocol²
|
||||
"""unregister protocol: reverses the effects of –register protocol”
|
||||
Required argument: Application sig.
|
||||
Keyword argument for_protocol: protocol prefix. If none, unregister for all protocols
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
|
|
|
@ -396,7 +396,7 @@ class linked(aetools.NProperty):
|
|||
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):
|
||||
|
@ -424,7 +424,7 @@ class weak_link(aetools.NProperty):
|
|||
which = 'WEAK'
|
||||
want = 'bool'
|
||||
class init_before(aetools.NProperty):
|
||||
"""init before - is the Œinitialize before¹ flag set for this shared library? """
|
||||
"""init before - is the •initialize beforeÕ flag set for this shared library? """
|
||||
which = 'INIT'
|
||||
want = 'bool'
|
||||
class merge_output(aetools.NProperty):
|
||||
|
|
|
@ -791,7 +791,7 @@ class Metrowerks_Shell_Suite_Events:
|
|||
|
||||
|
||||
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. """
|
||||
|
@ -994,7 +994,7 @@ class Launch_Apps_on_Open(aetools.NProperty):
|
|||
which = 'Dg03'
|
||||
want = 'bool'
|
||||
class Confirm_Kill(aetools.NProperty):
|
||||
"""Confirm Kill - Confirm the Œkilling¹ of the process. """
|
||||
"""Confirm Kill - Confirm the •killingÕ of the process. """
|
||||
which = 'Dg04'
|
||||
want = 'bool'
|
||||
class Stop_at_Main(aetools.NProperty):
|
||||
|
@ -1006,7 +1006,7 @@ class Select_Stack_Crawl(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):
|
||||
|
@ -1043,7 +1043,7 @@ class Temp_breakpoint_names(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):
|
||||
|
@ -1071,7 +1071,7 @@ class Flash_Delay(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):
|
||||
|
@ -1175,11 +1175,11 @@ class Full_Screen_Zoom(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 –Open Recent” 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 –Open Recent” menu """
|
||||
which = 'EX17'
|
||||
want = 'shor'
|
||||
class Use_Editor_Extensions(aetools.NProperty):
|
||||
|
@ -1294,7 +1294,7 @@ class origin(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 –Absolute”, –Project”, –CodeWarrior”, and –System”. Anything else is a user-defined root. """
|
||||
which = 'Root'
|
||||
want = 'TEXT'
|
||||
class recursive(aetools.NProperty):
|
||||
|
@ -1325,14 +1325,14 @@ class filetype(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):
|
||||
|
@ -1476,7 +1476,7 @@ class String_Color(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. """
|
||||
|
@ -1495,11 +1495,11 @@ class Target_Name(aetools.NProperty):
|
|||
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 –Output Directory Location” 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 –Output Directory Location” property instead. """
|
||||
which = 'TA12'
|
||||
want = 'PPrm'
|
||||
class Output_Directory_Location(aetools.NProperty):
|
||||
|
@ -2043,14 +2043,14 @@ _Enum_SrcT = {
|
|||
|
||||
_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<EFBFBD> folder.
|
||||
'project_relative' : 'PRel', # A path relative to the current projectÕs folder.
|
||||
'shell_relative' : 'SRel', # A path relative to the CodeWarriorŽ 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
|
||||
|
@ -2103,9 +2103,9 @@ _Enum_BXbr = {
|
|||
}
|
||||
|
||||
_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 –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.
|
||||
}
|
||||
|
||||
_Enum_PthF = {
|
||||
|
|
|
@ -102,7 +102,7 @@ class Standard_Suite_Events:
|
|||
|
||||
def make(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""make: make a new element
|
||||
Keyword argument new: the class of the new element‹keyword 'new' is optional in AppleScript
|
||||
Keyword argument new: the class of the new element„keyword '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
|
||||
|
|
|
@ -212,7 +212,7 @@ class folder(aetools.ComponentItem):
|
|||
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 –desktop” object """
|
||||
want = 'cdsk'
|
||||
class startup_disk(aetools.NProperty):
|
||||
"""startup disk - the startup disk """
|
||||
|
@ -242,7 +242,7 @@ class trash(aetools.NProperty):
|
|||
# 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 –trash” object """
|
||||
want = 'ctrs'
|
||||
class warns_before_emptying(aetools.NProperty):
|
||||
"""warns before emptying - Display a dialog when emptying the trash? """
|
||||
|
|
|
@ -24,7 +24,7 @@ class properties(aetools.NProperty):
|
|||
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):
|
||||
|
@ -32,11 +32,11 @@ 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):
|
||||
|
@ -48,7 +48,7 @@ class selection(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 –New Folder” was selected """
|
||||
which = 'pins'
|
||||
want = 'obj '
|
||||
class file_sharing(aetools.NProperty):
|
||||
|
@ -68,7 +68,7 @@ class version(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 –About this Computer” dialog and the list of running processes displayed in it """
|
||||
which = 'abbx'
|
||||
want = 'obj '
|
||||
class desktop(aetools.NProperty):
|
||||
|
@ -195,7 +195,7 @@ class internet_location(aetools.ComponentItem):
|
|||
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 –Get Info”) """
|
||||
want = 'iwnd'
|
||||
class comment(aetools.NProperty):
|
||||
"""comment - the comment """
|
||||
|
@ -359,7 +359,7 @@ class protected(aetools.NProperty):
|
|||
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 –trash” object """
|
||||
want = 'ctrs'
|
||||
|
||||
class preferences(aetools.ComponentItem):
|
||||
|
|
|
@ -39,18 +39,18 @@ class stationery(aetools.NProperty):
|
|||
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 –Get Info” 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 –Get Info” 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 –Make Alias”) """
|
||||
want = 'alia'
|
||||
class original_item(aetools.NProperty):
|
||||
"""original item - the original item pointed to by the alias """
|
||||
|
|
|
@ -145,7 +145,7 @@ class application(aetools.ComponentItem):
|
|||
"""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):
|
||||
|
@ -153,11 +153,11 @@ 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):
|
||||
|
@ -169,7 +169,7 @@ class selection(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 –New Folder” was selected """
|
||||
which = 'pins'
|
||||
want = 'obj '
|
||||
class file_sharing(aetools.NProperty):
|
||||
|
@ -189,7 +189,7 @@ class version(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 –About this Computer” dialog and the list of running processes displayed in it """
|
||||
which = 'abbx'
|
||||
want = 'obj '
|
||||
class desktop(aetools.NProperty):
|
||||
|
@ -235,35 +235,35 @@ class system_folder(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 –Apple Menu Items,” 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 –Control Panels” """
|
||||
which = 'ctrl'
|
||||
want = 'obj '
|
||||
class extensions_folder(aetools.NProperty):
|
||||
"""extensions folder - the special folder named ³Extensions² """
|
||||
"""extensions folder - the special folder named –Extensions” """
|
||||
which = 'extn'
|
||||
want = 'obj '
|
||||
class fonts_folder(aetools.NProperty):
|
||||
"""fonts folder - the special folder named ³Fonts² """
|
||||
"""fonts folder - the special folder named –Fonts” """
|
||||
which = 'font'
|
||||
want = 'obj '
|
||||
class preferences_folder(aetools.NProperty):
|
||||
"""preferences folder - the special folder named ³Preferences² """
|
||||
"""preferences folder - the special folder named –Preferences” """
|
||||
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 –Shutdown Items” """
|
||||
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 –Startup Items” """
|
||||
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 –Temporary Items” (invisible) """
|
||||
which = 'temp'
|
||||
want = 'obj '
|
||||
import Earlier_terms
|
||||
|
|
|
@ -79,7 +79,7 @@ class Finder_items_Events:
|
|||
|
||||
def empty(self, _object=None, _attributes={}, **_arguments):
|
||||
"""empty: Empty the trash
|
||||
Required argument: ³empty² and ³empty trash² both do the same thing
|
||||
Required argument: –empty” and –empty trash” both do the same thing
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
|
@ -227,7 +227,7 @@ class description(aetools.NProperty):
|
|||
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 –Get Info” window """
|
||||
which = 'comt'
|
||||
want = 'itxt'
|
||||
class size(aetools.NProperty):
|
||||
|
|
|
@ -59,7 +59,7 @@ class locked_obsolete(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 –Get Info”) """
|
||||
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) """
|
||||
|
@ -87,7 +87,7 @@ class sharing_window(aetools.NProperty):
|
|||
want = 'obj '
|
||||
|
||||
class sharing_window(aetools.ComponentItem):
|
||||
"""sharing window - A sharing window (opened by ³SharingŠ²) """
|
||||
"""sharing window - A sharing window (opened by –Sharingƒ”) """
|
||||
want = 'swnd'
|
||||
class sharable_container(aetools.NProperty):
|
||||
"""sharable container - the sharable container from which the window was opened """
|
||||
|
|
|
@ -163,7 +163,7 @@ class small_4_bit_icon(aetools.NProperty):
|
|||
want = 'ics4'
|
||||
|
||||
class alias_list(aetools.ComponentItem):
|
||||
"""alias list - A list of aliases. Use Œas 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 •as alias listÕ when a list of aliases is needed (instead of a list of file system item references). """
|
||||
want = 'alst'
|
||||
preferences._propdict = {
|
||||
'window' : window,
|
||||
|
|
|
@ -162,7 +162,7 @@ class uses_relative_dates(aetools.NProperty):
|
|||
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 –Get Info”) """
|
||||
want = 'iwnd'
|
||||
class current_panel(aetools.NProperty):
|
||||
"""current panel - the current panel in the information window """
|
||||
|
@ -217,11 +217,11 @@ class warns_before_emptying(aetools.NProperty):
|
|||
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 –Get Info” 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 –Get Info” window) """
|
||||
which = 'vers'
|
||||
want = 'itxt'
|
||||
|
||||
|
@ -238,7 +238,7 @@ class clipping_window(aetools.ComponentItem):
|
|||
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 (–Window” does not include the desktop window) """
|
||||
want = 'dwnd'
|
||||
|
||||
content_spaces = content_space
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Mozilla suite: Experimental Mozilla suite
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
|
@ -20,7 +20,7 @@ class Mozilla_suite_Events:
|
|||
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 ŒDEFAULT¹)
|
||||
Keyword argument with_index: Index to the help file. Defaults to •DEFAULTÕ)
|
||||
Keyword argument search_text: Optional text to search for
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
|
@ -88,7 +88,7 @@ class Mozilla_suite_Events:
|
|||
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 –FILE://foo/applicationname”
|
||||
"""
|
||||
_code = 'MOSS'
|
||||
_subcode = 'wurl'
|
||||
|
@ -127,7 +127,7 @@ class Mozilla_suite_Events:
|
|||
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, ŒBrwz¹ browser, ŒAddr¹ addressbook, ŒMesg¹ 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, •BrwzÕ browser, •AddrÕ addressbook, •MesgÕ messenger, etc., 4 bytes)
|
||||
"""
|
||||
_code = 'MOSS'
|
||||
_subcode = 'Impt'
|
||||
|
@ -147,7 +147,7 @@ class Mozilla_suite_Events:
|
|||
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 –Joe Bloggs”. This is the name of the profile folder in the Netscape Users folder.
|
||||
"""
|
||||
_code = 'MOSS'
|
||||
_subcode = 'upro'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite PowerPlant:
|
||||
Level 0, version 0
|
||||
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
|
@ -42,7 +42,7 @@ class PowerPlant_Events:
|
|||
}
|
||||
|
||||
def SwitchTellTarget(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""SwitchTellTarget: Makes an object the ³focus² of AppleEvents
|
||||
"""SwitchTellTarget: Makes an object the –focus” of AppleEvents
|
||||
Keyword argument to: reference to new focus of AppleEvents
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Required suite:
|
||||
Level 0, version 0
|
||||
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Standard Suite: Common terms for most applications
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
|
@ -79,7 +79,7 @@ class Standard_Suite_Events:
|
|||
}
|
||||
|
||||
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
|
||||
|
@ -104,7 +104,7 @@ class application(aetools.ComponentItem):
|
|||
"""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):
|
||||
|
@ -169,7 +169,7 @@ class URL(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):
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
"""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<EFBFBD>-map:Netscape Communicator<6F>
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
|
@ -22,6 +23,7 @@ class Standard_URL_suite_Events:
|
|||
|
||||
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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Text:
|
||||
Level 0, version 0
|
||||
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
|
@ -42,7 +42,7 @@ class justbehind(aetools.NProperty):
|
|||
# element 'stys' as ['indx', 'name']
|
||||
|
||||
class styleset(aetools.ComponentItem):
|
||||
"""styleset - A style ³set² that may be used repeatedly in text objects. """
|
||||
"""styleset - A style –set” that may be used repeatedly in text objects. """
|
||||
want = 'stys'
|
||||
class name(aetools.NProperty):
|
||||
"""name - style name """
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite WorldWideWeb suite, as defined in Spyglass spec.:
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
|
||||
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
|
@ -212,7 +212,7 @@ class WorldWideWeb_suite_Events:
|
|||
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 –echo” application. Each download from now on will be echoed to this application.
|
||||
Required argument: Application signature
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
|
@ -257,7 +257,7 @@ class WorldWideWeb_suite_Events:
|
|||
}
|
||||
|
||||
def register_viewer(self, _object, _attributes={}, **_arguments):
|
||||
"""register viewer: Registers an application as a Œspecial¹ viewer for this MIME type. The application will be launched with ViewDoc events
|
||||
"""register viewer: Registers an application as a •specialÕ 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
|
||||
|
@ -310,9 +310,9 @@ class WorldWideWeb_suite_Events:
|
|||
}
|
||||
|
||||
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 –handler” for this protocol with a given prefix. The handler will receive –OpenURL”, or if that fails, –GetURL” event.
|
||||
Required argument: Application sig
|
||||
Keyword argument for_protocol: protocol prefix: ³finger:², ³file²,
|
||||
Keyword argument for_protocol: protocol prefix: –finger:”, –file”,
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: TRUE if registration has been successful
|
||||
"""
|
||||
|
@ -336,7 +336,7 @@ class WorldWideWeb_suite_Events:
|
|||
}
|
||||
|
||||
def unregister_protocol(self, _object=None, _attributes={}, **_arguments):
|
||||
"""unregister protocol: reverses the effects of ³register protocol²
|
||||
"""unregister protocol: reverses the effects of –register protocol”
|
||||
Required argument: Application sig.
|
||||
Keyword argument for_protocol: protocol prefix. If none, unregister for all protocols
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
Package generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
|
||||
Package generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
|
||||
Resource aete resid 0
|
||||
"""
|
||||
import aetools
|
||||
|
|
|
@ -129,7 +129,7 @@ class AppleScript_Suite_Events:
|
|||
return _arguments['----']
|
||||
|
||||
def tell(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""tell: Record or log a Œtell¹ statement
|
||||
"""tell: Record or log a •tellÕ statement
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'ascr'
|
||||
|
@ -148,7 +148,7 @@ class AppleScript_Suite_Events:
|
|||
return _arguments['----']
|
||||
|
||||
def end_tell(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""end tell: Record or log an Œend tell¹ statement
|
||||
"""end tell: Record or log an •end tellÕ statement
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'ascr'
|
||||
|
@ -229,7 +229,7 @@ class AppleScript_Suite_Events:
|
|||
}
|
||||
|
||||
def Call_a5_subroutine(self, _object=None, _attributes={}, **_arguments):
|
||||
"""Call€subroutine: A subroutine call
|
||||
"""Call‚subroutine: A subroutine call
|
||||
Required argument: anything
|
||||
Keyword argument at: a preposition
|
||||
Keyword argument _from: a preposition
|
||||
|
@ -299,7 +299,7 @@ class AppleScript_Suite_Events:
|
|||
return _arguments['----']
|
||||
|
||||
def _ad_(self, _object, _attributes={}, **_arguments):
|
||||
"""‚: Inequality
|
||||
""": Inequality
|
||||
Required argument: an AE object reference
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: anything
|
||||
|
@ -488,7 +488,7 @@ class AppleScript_Suite_Events:
|
|||
return _arguments['----']
|
||||
|
||||
def _b3_(self, _object, _attributes={}, **_arguments):
|
||||
"""„: Greater than or equal to
|
||||
"""³: Greater than or equal to
|
||||
Required argument: an AE object reference
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: anything
|
||||
|
@ -530,7 +530,7 @@ class AppleScript_Suite_Events:
|
|||
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
|
||||
|
@ -820,7 +820,7 @@ class name(aetools.NProperty):
|
|||
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'
|
||||
|
||||
|
|
|
@ -429,7 +429,7 @@ class Standard_Suite_Events:
|
|||
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'
|
||||
|
@ -459,7 +459,7 @@ class frontmost(aetools.NProperty):
|
|||
which = 'pisf'
|
||||
want = 'bool'
|
||||
class selection(aetools.NProperty):
|
||||
"""selection - the selection visible to the user. Use the Œselect¹ command to set a new selection; use Œcontents of selection¹ to get or change information in the document. """
|
||||
"""selection - the selection visible to the user. Use the •selectÕ command to set a new selection; use •contents of selectionÕ to get or change information in the document. """
|
||||
which = 'sele'
|
||||
want = 'csel'
|
||||
class clipboard(aetools.NProperty):
|
||||
|
@ -500,10 +500,10 @@ class alias(aetools.ComponentItem):
|
|||
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 Œselect¹ command to make a new selection. """
|
||||
"""selection-object - A way to refer to the state of the current of the selection. Use the •selectÕ command to make a new selection. """
|
||||
want = 'csel'
|
||||
class contents(aetools.NProperty):
|
||||
"""contents - the information currently selected. Use Œcontents of selection¹ to get or change information in a document. """
|
||||
"""contents - the information currently selected. Use •contents of selectionÕ to get or change information in a document. """
|
||||
which = 'pcnt'
|
||||
want = '****'
|
||||
|
||||
|
@ -615,11 +615,11 @@ class _3d_(aetools.NComparison):
|
|||
class _3e_(aetools.NComparison):
|
||||
"""> - Greater than """
|
||||
class _b3_(aetools.NComparison):
|
||||
"""„ - 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
|
||||
|
|
|
@ -70,7 +70,7 @@ table._propdict = {
|
|||
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
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ class uniform_styles(aetools.NProperty):
|
|||
# element 'cwor' as ['indx']
|
||||
|
||||
class text_flow(aetools.ComponentItem):
|
||||
"""text flow - A contiguous block of text. Page layout applications call this a Œstory.¹ """
|
||||
"""text flow - A contiguous block of text. Page layout applications call this a •story.Õ """
|
||||
want = 'cflo'
|
||||
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
|
||||
class name(aetools.NProperty):
|
||||
|
|
|
@ -704,7 +704,7 @@ kFAEditCommand = FOUR_CHAR_CODE('edfa')
|
|||
kFAFileParam = FOUR_CHAR_CODE('faal')
|
||||
kFAIndexParam = FOUR_CHAR_CODE('indx')
|
||||
kAEInternetSuite = FOUR_CHAR_CODE('gurl')
|
||||
kAEISWebStarSuite = FOUR_CHAR_CODE('WWW‡')
|
||||
kAEISWebStarSuite = FOUR_CHAR_CODE('WWW½')
|
||||
kAEISGetURL = FOUR_CHAR_CODE('gurl')
|
||||
KAEISHandleCGI = FOUR_CHAR_CODE('sdoc')
|
||||
cURL = FOUR_CHAR_CODE('url ')
|
||||
|
|
|
@ -277,35 +277,35 @@ kGuestUserIcon = FOUR_CHAR_CODE('gusr')
|
|||
kUserIcon = FOUR_CHAR_CODE('user')
|
||||
kOwnerIcon = FOUR_CHAR_CODE('susr')
|
||||
kGroupIcon = FOUR_CHAR_CODE('grup')
|
||||
kAppleExtrasFolderIcon = FOUR_CHAR_CODE('aexŸ')
|
||||
kAppleExtrasFolderIcon = FOUR_CHAR_CODE('aex€')
|
||||
kAppleMenuFolderIcon = FOUR_CHAR_CODE('amnu')
|
||||
kApplicationsFolderIcon = FOUR_CHAR_CODE('apps')
|
||||
kApplicationSupportFolderIcon = FOUR_CHAR_CODE('asup')
|
||||
kAssistantsFolderIcon = FOUR_CHAR_CODE('astŸ')
|
||||
kAssistantsFolderIcon = FOUR_CHAR_CODE('ast€')
|
||||
kContextualMenuItemsFolderIcon = FOUR_CHAR_CODE('cmnu')
|
||||
kControlPanelDisabledFolderIcon = FOUR_CHAR_CODE('ctrD')
|
||||
kControlPanelFolderIcon = FOUR_CHAR_CODE('ctrl')
|
||||
kControlStripModulesFolderIcon = FOUR_CHAR_CODE('sdvŸ')
|
||||
kControlStripModulesFolderIcon = FOUR_CHAR_CODE('sdv€')
|
||||
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('Ÿhlp')
|
||||
kInternetFolderIcon = FOUR_CHAR_CODE('intŸ')
|
||||
kInternetPlugInFolderIcon = FOUR_CHAR_CODE('Ÿnet')
|
||||
kLocalesFolderIcon = FOUR_CHAR_CODE('Ÿloc')
|
||||
kMacOSReadMeFolderIcon = FOUR_CHAR_CODE('morŸ')
|
||||
kPreferencesFolderIcon = FOUR_CHAR_CODE('prfŸ')
|
||||
kHelpFolderIcon = FOUR_CHAR_CODE('€hlp')
|
||||
kInternetFolderIcon = FOUR_CHAR_CODE('int€')
|
||||
kInternetPlugInFolderIcon = FOUR_CHAR_CODE('€net')
|
||||
kLocalesFolderIcon = FOUR_CHAR_CODE('€loc')
|
||||
kMacOSReadMeFolderIcon = FOUR_CHAR_CODE('mor€')
|
||||
kPreferencesFolderIcon = FOUR_CHAR_CODE('prf€')
|
||||
kPrinterDescriptionFolderIcon = FOUR_CHAR_CODE('ppdf')
|
||||
kPrinterDriverFolderIcon = FOUR_CHAR_CODE('Ÿprd')
|
||||
kPrinterDriverFolderIcon = FOUR_CHAR_CODE('€prd')
|
||||
kPrintMonitorFolderIcon = FOUR_CHAR_CODE('prnt')
|
||||
kRecentApplicationsFolderIcon = FOUR_CHAR_CODE('rapp')
|
||||
kRecentDocumentsFolderIcon = FOUR_CHAR_CODE('rdoc')
|
||||
kRecentServersFolderIcon = FOUR_CHAR_CODE('rsrv')
|
||||
kScriptingAdditionsFolderIcon = FOUR_CHAR_CODE('Ÿscr')
|
||||
kSharedLibrariesFolderIcon = FOUR_CHAR_CODE('Ÿlib')
|
||||
kScriptsFolderIcon = FOUR_CHAR_CODE('scrŸ')
|
||||
kScriptingAdditionsFolderIcon = FOUR_CHAR_CODE('€scr')
|
||||
kSharedLibrariesFolderIcon = FOUR_CHAR_CODE('€lib')
|
||||
kScriptsFolderIcon = FOUR_CHAR_CODE('scr€')
|
||||
kShutdownItemsDisabledFolderIcon = FOUR_CHAR_CODE('shdD')
|
||||
kShutdownItemsFolderIcon = FOUR_CHAR_CODE('shdf')
|
||||
kSpeakableItemsFolder = FOUR_CHAR_CODE('spki')
|
||||
|
@ -313,13 +313,13 @@ kStartupItemsDisabledFolderIcon = FOUR_CHAR_CODE('strD')
|
|||
kStartupItemsFolderIcon = FOUR_CHAR_CODE('strt')
|
||||
kSystemExtensionDisabledFolderIcon = FOUR_CHAR_CODE('macD')
|
||||
kSystemFolderIcon = FOUR_CHAR_CODE('macs')
|
||||
kTextEncodingsFolderIcon = FOUR_CHAR_CODE('Ÿtex')
|
||||
kTextEncodingsFolderIcon = FOUR_CHAR_CODE('€tex')
|
||||
kAppearanceFolderIcon = FOUR_CHAR_CODE('appr')
|
||||
kUtilitiesFolderIcon = FOUR_CHAR_CODE('utiŸ')
|
||||
kUtilitiesFolderIcon = FOUR_CHAR_CODE('uti€')
|
||||
kVoicesFolderIcon = FOUR_CHAR_CODE('fvoc')
|
||||
kColorSyncFolderIcon = FOUR_CHAR_CODE('prof')
|
||||
kInternetSearchSitesFolderIcon = FOUR_CHAR_CODE('issf')
|
||||
kUsersFolderIcon = FOUR_CHAR_CODE('usrŸ')
|
||||
kUsersFolderIcon = FOUR_CHAR_CODE('usr€')
|
||||
kAppleScriptBadgeIcon = FOUR_CHAR_CODE('scrp')
|
||||
kLockedBadgeIcon = FOUR_CHAR_CODE('lbdg')
|
||||
kMountedBadgeIcon = FOUR_CHAR_CODE('mbdg')
|
||||
|
|
|
@ -316,7 +316,7 @@ telBadProcID = -10110 #invalid procID
|
|||
telDeviceNotFound = -10109 #device not found
|
||||
telBadCodeResource = -10108 #code resource not found
|
||||
telInitFailed = -10107 #initialization failed
|
||||
telNoCommFolder = -10106 #Communications/Extensions Ÿ not found
|
||||
telNoCommFolder = -10106 #Communications/Extensions € not found
|
||||
telUnknownErr = -10103 #unable to set config
|
||||
telNoSuchTool = -10102 #unable to find tool with name specified
|
||||
telBadFunction = -10091 #bad msgCode specified
|
||||
|
@ -626,7 +626,7 @@ kDMDriverNotDisplayMgrAwareErr = -6228 #Video Driver does not support display ma
|
|||
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.
|
||||
|
@ -653,7 +653,7 @@ errCorruptWindowDescription = -5606 #tried to load a corrupt window description
|
|||
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
|
||||
|
@ -847,7 +847,7 @@ kECANCELErr = -3273 #
|
|||
kEBADMSGErr = -3272 #
|
||||
kENOSRErr = -3271 #
|
||||
kETIMEErr = -3270 #
|
||||
kEPROTOErr = -3269 #€€€ fill out missing codes €€€
|
||||
kEPROTOErr = -3269 #‚‚‚ fill out missing codes ‚‚‚
|
||||
kEHOSTUNREACHErr = -3264 #No route to host
|
||||
kEHOSTDOWNErr = -3263 #Host is down
|
||||
kECONNREFUSEDErr = -3260 #Connection refused
|
||||
|
@ -1043,7 +1043,7 @@ tsmTSHasNoMenuErr = -2513 #the text service has no menu
|
|||
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
|
||||
|
@ -1076,9 +1076,9 @@ kernelOptionsErr = -2403 #kernelOptionsErr
|
|||
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
|
||||
|
@ -1428,7 +1428,7 @@ rcDBValue = -801 #rcDBValue
|
|||
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
|
||||
|
@ -1708,10 +1708,10 @@ writErr = -20 #I/O System Errors
|
|||
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 –Extensions Disabled”
|
||||
dsHD20Installed = -12 #say –HD20 Startup”
|
||||
dsDisassemblerInstalled = -11 #say –Disassembler Installed”
|
||||
dsMacsBugInstalled = -10 #say –MacsBug Installed”
|
||||
seNoDB = -8 #no debugger installed to handle debugger command
|
||||
SlpTypeErr = -5 #invalid queue element
|
||||
unimpErr = -4 #unimplemented core routine
|
||||
|
|
|
@ -14,9 +14,9 @@ class _modulebrowser:
|
|||
|
||||
#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Š", self.browsebuttonhit)
|
||||
self.window.browsebutton = W.Button((100, 8, 80, 16), "Browseƒ", 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Š", self.openother)
|
||||
self.window.openotherbutton = W.Button((100, 32, 80, 16), "Open otherƒ", self.openother)
|
||||
|
||||
self.window.openbutton.enable(0)
|
||||
self.window.reloadbutton.enable(0)
|
||||
|
@ -81,7 +81,7 @@ class _modulebrowser:
|
|||
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 –%s”."
|
||||
% modname)
|
||||
else:
|
||||
self.openscript(path, modname)
|
||||
|
@ -93,7 +93,7 @@ class _modulebrowser:
|
|||
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 –%s”; it might be a shared library or a .pyc file."
|
||||
% modname)
|
||||
|
||||
def openother(self):
|
||||
|
@ -106,9 +106,9 @@ class _modulebrowser:
|
|||
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 = "–%s” is a builtin module, which you canÕt edit." % modname
|
||||
else:
|
||||
alerttext = "No module named ³%s²." % modname
|
||||
alerttext = "No module named –%s”." % modname
|
||||
raise W.AlertError, alerttext
|
||||
self.openscript(path, modname)
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ def double_repr(key, value, truncvalue = 0,
|
|||
value = _repr(value)
|
||||
'' + value # test to see if it is a string, in case a __repr__ method is buggy
|
||||
except:
|
||||
value = '€€€ exception in repr()'
|
||||
value = '‚‚‚ exception in repr()'
|
||||
if truncvalue:
|
||||
return key + '\t' + value[:255]
|
||||
return key + '\t' + value
|
||||
|
@ -360,7 +360,7 @@ INDEXING_TYPES = (
|
|||
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):
|
||||
|
|
|
@ -156,8 +156,8 @@ class PyConsole(W.Window):
|
|||
def makenamespacemenu(self, *args):
|
||||
W.SetCursor('watch')
|
||||
namespacelist = self.getnamespacelist()
|
||||
self.namespacemenu.set([("Clear window", self.clearbuffer), ("Font settingsŠ", self.dofontsettings),
|
||||
["Namespace"] + namespacelist, ("Browse namespaceŠ", self.browsenamespace)])
|
||||
self.namespacemenu.set([("Clear window", self.clearbuffer), ("Font settingsƒ", self.dofontsettings),
|
||||
["Namespace"] + namespacelist, ("Browse namespaceƒ", self.browsenamespace)])
|
||||
currentname = self.consoletext._namespace["__name__"]
|
||||
for i in range(len(namespacelist)):
|
||||
if namespacelist[i][0] == currentname:
|
||||
|
@ -264,7 +264,7 @@ class PyOutput:
|
|||
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Š", self.dofontsettings)]
|
||||
menuitems = [("Clear window", self.clearbuffer), ("Font settingsƒ", 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)
|
||||
|
|
|
@ -72,7 +72,7 @@ class Debugger(bdb.Bdb):
|
|||
self.botframe = bottomframe
|
||||
if running:
|
||||
self.set_continue()
|
||||
self.reason = 'RunningŠ'
|
||||
self.reason = 'Runningƒ'
|
||||
self.setstate('running')
|
||||
else:
|
||||
self.set_step()
|
||||
|
@ -187,7 +187,7 @@ class Debugger(bdb.Bdb):
|
|||
def makeoptionsmenu(self):
|
||||
options = [('Clear breakpoints', self.w.panes.bottom.src.source.clearbreakpoints),
|
||||
('Clear all breakpoints', self.clear_all_breaks),
|
||||
('Edit breakpointsŠ', self.edit_breaks), '-',
|
||||
('Edit breakpointsƒ', self.edit_breaks), '-',
|
||||
(self.tracemagic and
|
||||
'Disable __magic__ tracing' or 'Enable __magic__ tracing', self.togglemagic)]
|
||||
self.w.panes.bottom.src.optionsmenu.set(options)
|
||||
|
@ -318,7 +318,7 @@ class Debugger(bdb.Bdb):
|
|||
|
||||
def running(self):
|
||||
W.SetCursor('watch')
|
||||
self.reason = 'RunningŠ'
|
||||
self.reason = 'Runningƒ'
|
||||
self.setstate('running')
|
||||
#self.w.panes.bottom.src.source.set('')
|
||||
#self.w.panes.browserpanes.stacklist.stack.set([])
|
||||
|
@ -350,7 +350,7 @@ class Debugger(bdb.Bdb):
|
|||
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()
|
||||
|
@ -360,9 +360,9 @@ class Debugger(bdb.Bdb):
|
|||
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
|
||||
|
@ -682,7 +682,7 @@ class BreakpointsViewer:
|
|||
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Š', self.openbuttonhit)
|
||||
self.w.panes.gr.openbutton = W.Button((-80, 4, 0, 16), 'Viewƒ', self.openbuttonhit)
|
||||
self.w.panes.gr.deletebutton = W.Button((-80, 28, 0, 16), 'Delete', self.deletebuttonhit)
|
||||
|
||||
self.w.bind('<close>', self.close)
|
||||
|
@ -880,7 +880,7 @@ _debugger = None
|
|||
|
||||
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 –Optimize bytecode” mode.\r(see –Default startup options” in EditPythonPreferences)"
|
||||
global _debugger
|
||||
if _debugger is None:
|
||||
_debugger = Debugger()
|
||||
|
|
Loading…
Reference in New Issue