diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2001-05-17 12:45:13 +0000 |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-05-17 12:45:13 +0000 |
| commit | 6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5 (patch) | |
| tree | 68fa306974cc05de44d5c5c07ba62a739db3aa72 /Mac/Lib/lib-scriptpackages/Netscape | |
| parent | dfebe90c4c04a7a36e4542907118ddce97085868 (diff) | |
| download | cpython-git-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.tar.gz | |
Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the
same macroman characters.
Diffstat (limited to 'Mac/Lib/lib-scriptpackages/Netscape')
8 files changed, 24 insertions, 22 deletions
diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Mozilla_suite.py b/Mac/Lib/lib-scriptpackages/Netscape/Mozilla_suite.py index a1865eed0d..57b61b385a 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/Mozilla_suite.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/Mozilla_suite.py @@ -1,7 +1,7 @@ """Suite Mozilla suite: Experimental Mozilla suite Level 1, version 1 -Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator +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' diff --git a/Mac/Lib/lib-scriptpackages/Netscape/PowerPlant.py b/Mac/Lib/lib-scriptpackages/Netscape/PowerPlant.py index 12d32fa827..b57086d63b 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/PowerPlant.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/PowerPlant.py @@ -1,7 +1,7 @@ """Suite PowerPlant: Level 0, version 0 -Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator +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 """ diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py b/Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py index 3aacae88cb..90b37ff631 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py @@ -1,7 +1,7 @@ """Suite Required suite: Level 0, version 0 -Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator +Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator AETE/AEUT resource version 1/0, language 0, script 0 """ diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py b/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py index cccdbdfcec..1044ca841b 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py @@ -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-map:Netscape Communicator +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): diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py b/Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py index 9becca5b92..1498c711f9 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py @@ -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-map:Netscape Communicator +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 diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Text.py b/Mac/Lib/lib-scriptpackages/Netscape/Text.py index c4b47995aa..beda5b3571 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/Text.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/Text.py @@ -1,7 +1,7 @@ """Suite Text: Level 0, version 0 -Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator +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 """ diff --git a/Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py b/Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py index 0965987f9a..c42505cafa 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py @@ -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-map:Netscape Communicator +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 diff --git a/Mac/Lib/lib-scriptpackages/Netscape/__init__.py b/Mac/Lib/lib-scriptpackages/Netscape/__init__.py index 77a0ff87fd..38af429070 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/__init__.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/__init__.py @@ -1,5 +1,5 @@ """ -Package generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator +Package generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator Resource aete resid 0 """ import aetools |
