• 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
burning a burn folder to CD/DVD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

burning a burn folder to CD/DVD


  • Subject: burning a burn folder to CD/DVD
  • From: John Cochrane <email@hidden>
  • Date: Tue, 1 Aug 2006 14:56:50 +1000

I am trying to write a script to erase rewritable CD's/DVD's and backup a list of files and folders onto them.
I have never felt very at home using the hdiutil command and am impressed with the ease of Tiger's Burn Folder facility. Because this is quick and avoids the need to check a file's size and create an image it would be great if there was a way to applescript this.


I have created a GUI scripted solution but am wondering if there is any non GUI scripting ways of achieving the same thing.
Any hdiutil suggestions would also be appreciated.


Here is my effort:

set burn_folder to (path to desktop as text) & "Test.fpbf"
tell application "Finder" to set burn_folder_name to name of folder burn_folder
set button_pressed to button returned of (display dialog "Erasing the disk and burning from the burn folder \"" & burn_folder_name & "\"." buttons {"Cancel", "OK"} default button 2)
do shell script "hdiutil burn -erase"
tell application "Finder"
activate
select folder burn_folder
end tell


tell application "System Events"
tell process "Finder"
click menu item "Burn Disc…" of menu "File" of menu bar item "File" of menu bar 1
delay 1
keystroke return
end tell
end tell


John


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Get iPhoto's pictures
  • Next by Date: Re: Launch Services info (was "Re: Auto-Remove .DS_Store Files?")
  • Previous by thread: Converting images from one format to another
  • Index(es):
    • Date
    • Thread