summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/applescript
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-05-17 12:45:13 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-05-17 12:45:13 (GMT)
commit6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5 (patch)
tree68fa306974cc05de44d5c5c07ba62a739db3aa72 /Mac/Demo/applescript
parentdfebe90c4c04a7a36e4542907118ddce97085868 (diff)
downloadcpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.zip
cpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.tar.gz
cpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.tar.bz2
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/Demo/applescript')
-rw-r--r--Mac/Demo/applescript/Disk_Copy/Special_Events.py16
-rw-r--r--Mac/Demo/applescript/Disk_Copy/Standard_Suite.py8
2 files changed, 12 insertions, 12 deletions
diff --git a/Mac/Demo/applescript/Disk_Copy/Special_Events.py b/Mac/Demo/applescript/Disk_Copy/Special_Events.py
index 9538706..a98eb8a 100644
--- a/Mac/Demo/applescript/Disk_Copy/Special_Events.py
+++ b/Mac/Demo/applescript/Disk_Copy/Special_Events.py
@@ -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 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 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 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 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 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 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 images internal data structures for any inconsistencies. Works on NDIF, Disk Copy 4.2, DART, or DiskSet images.
+ """check image: Check the disk images 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 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
diff --git a/Mac/Demo/applescript/Disk_Copy/Standard_Suite.py b/Mac/Demo/applescript/Disk_Copy/Standard_Suite.py
index 1211ec1..931246e 100644
--- a/Mac/Demo/applescript/Disk_Copy/Standard_Suite.py
+++ b/Mac/Demo/applescript/Disk_Copy/Standard_Suite.py
@@ -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 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 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', # Dont allow any interaction at all
+ 'never_interact' : 'eNvr', # Dont 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 IDs
+ 'files_and_file_ID_copy' : 'cpID', # all files including desktop databases and file IDs
'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