Re: Making backups with Disk Copy
Re: Making backups with Disk Copy
- Subject: Re: Making backups with Disk Copy
- From: Malcolm Fitzgerald <email@hidden>
- Date: Tue, 14 Jan 2003 12:36:04 +1100
on 13/1/03 9:50 pm, Malcolm Fitzgerald at email@hidden wrote:
================================================================
set {s, t} to {choose folder, "Macintosh HD:Backup folder:"}
tell application "Finder" to set n to s's name
tell application "Disk Copy" to save s in disk image [NO BREAK]
(file (t & n & ".dmg")) using format NDIF RW without leave image mounted
================================================================
Is this on OSX? The dictionary makes no mention of [using format] or
[leave image mounted] . It says:
save reference -- the object for the command
[in Unicode text] -- The file in which to save the object.
[as Unicode text] -- The file type in which to save the data.
It's actually an extract from a script I was using in OS 9 (Disk Copy v.
6.6.3).
Interesting - the OS X dictionary appears to have changed substantially -
and lost quite a few options in the process.
In spite of this, I'd hope that you can at least still use the save command
as indicated in your dictionary to sidestep Disk Copy's dialog box.
I'm having trouble figuring out the file type. Disk image files that
I've saved manually are "devr" but that doesn't work. I've tried
using descriptions such as "read only", "read/write" but they don't
work either.
Of course, at the point that I can save the object, I'll be able to
ascertain whether I'm making the object properly.
--
--
Malcolm Fitzgerald email@hidden
Database Manager
http://www.asauthors.org
The Australian Society of Authors ph: 02 93180877 fax: 02 93180530
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.