Hi everybody,
I´m trying to make a script which creates an image (dmg) from a selected folder.
This works without errors.
But I also want to create images from CDs and DVDs. In this case I always get error “Only one image can be created at a time”
At first I thought that a previous imaging process has not been finished yet an I rebooted the Mac. But I still get this error. Any idea?
Here is the script:
set Ordner to choose folder
tell application “Finder”
set diskNames to name of Ordner
set myNewPath to POSIX path of (path to desktop folder) as string
set theListe to every process
end tell
set myNewPath to myNewPath & diskNames & “.dmg”
set Quellordner to POSIX path of Ordner as string
set Skript to "hdiutil create -srcfolder " & Quellordner & " " & myNewPath
do shell script Skript
Browser: Safari 419.3
Operating System: Mac OS X (10.4)