Burn to Disc

Summary: Demonstrates how to burn discs using AppleScript.
Requires: DropDMG 3.0

Description

This script shows how to burn discs using DropDMG.

Download in Compiled Format · Download in Text Format

Script

tell application "DropDMG"
    
-- burn MyFolder to disc
    
burn file_or_folder(POSIX file "/Users/<username>/MyFolder")
    
    
-- burn the contents of the myImage.dmg image to disc
    
burn disk_image(POSIX file "/Users/<username>/myImage.dmg")
end tell

Last Modified: 2010-11-27

Running the Script

You can use AppleScript Editor (AppleScript Utility prior to Mac OS X 10.6) to enable Mac OS X’s built-in Script menu. To run the script, just select it from the menu. FastScripts provides a similar menu that supports keyboard shortcuts and other features.