• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Making backups with Disk Copy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Prev by Date: Re: Gecko (Moz/NS) Script Issues
  • Next by Date: Re: Big Cat
  • Previous by thread: Re: Making backups with Disk Copy
  • Next by thread: Subject: Re: text appears, but styling is gone
  • Index(es):
    • Date
    • Thread