| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 8 Nov, 2006, at 04:59, Ruth Bygrave wrote: Anyone know how to set up Toast to do disc images? Hi Ruth, See if this helps: tell application "Toast 6 Titanium" --this section for testing activate set myFolder to (choose folder with prompt "Please choose a folder to image.") set myFolderInfo to info for myFolder set myFolderName to myFolderInfo's name set myImageFileContainer to (choose folder with prompt "Please choose where the image file is to be saved.") set theDiskName to (display dialog "Please choose a name for the disk image volume" default answer myFolderName) set myFileRef to (choose file name default location myImageFileContainer default name myFolderName & ".toast") --end of test stuff set myDisc to make Data disc with properties {name:theDiskName, file system type:Mac OS Extended} (* options such as "Mac only" or "compressed" are not accessible as commands they need to be set up manually ahead of time or scripted through the graphic interface *) add to myDisc items {myFolder} --list of file and folder references save myDisc as disc image myFileRef --write myDisc --without asking end tell I kind of agree with J. Stewart, that you could get better compression options and greater portability with the shell commands--hdiutil is, after all, a part of the standard installation of Mac OS X--yet I see where you're coming from as far as convenience for your users. Peace, paul --Paul F. Henegan |
_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/mailman//archives/applescript-users This email sent to email@hidden
| References: | |
| >Toast (From: Ruth Bygrave <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.