Burn to Disc

Summary: Demonstrates how to burn discs using AppleScript.
Requires: DropDMG 3.0
Last Modified: 2019-10-02

Description

This script shows how to burn discs using DropDMG.

Installation Instructions · 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