Re: Inscrutable DiskCopy
Re: Inscrutable DiskCopy
- Subject: Re: Inscrutable DiskCopy
- From: Frank Miedreich <email@hidden>
- Date: Tue, 30 Oct 2001 13:12:14 +0100
Hi,
The more convenient sequence would be to copy all the files you need
in the disk image to a folder, image the folder, and finally convert
that image to a smi.
A really nice script could then be made as a droplet, where you drag
a folder to the script which would convert the folder to a smi.
Of course this has already been done by Remo Del Bello, the script is
available from AS archive sites. If you don't find it, I can mail you
a copy.
For your strange copy statement check whether you are in a tell "Finder" block.
I seem to remember a set of Applescripts from a sample site that were
called DiskScripts, but I am not sure.
cheers, Frank
At 2:55 Uhr +0100 30.10.2001, Brennan wrote:
I'm trying to make a script to convert a folder to a
self-mounting-image, and am having real trouble.
I can create a disk image (an empty one)
I can convert a disk image to a .SMI
The problem is getting the files over to the image after it is created.
There's a 'save' command in DiskCopy, which looks like it should do
the right thing, but I can't get it to work and can't find any docs
anywhere.
When I tried using the Finder I had some trouble, but got it
working. I'd rather not use the Finder though, if at all possible.
Assistance please!
Strangely, along the way I tried recording the action, and I'm getting
copy selection to disk "mountedImage"
What???? According to the dictionary, 'copy' is something to do with
the clipboard, or to do with making duplicates of data. I thought
'duplicate' was the appropriate terminology here.
Also, I keep coming up against references to 'DiskScripts' in
relation to disk images, which are apparently something unrelated to
Applescripts, but might be useful to me. Where can I find
information about these puppies?
-Brennan
--
Frank Miedreich
Mozquito Technologies -
http://www.mozquito.com/