I wanted to automate erasing volumes int Tiger via applescript:
do shell script "diskutil eraseVolume HFS+ NewVolume /Volumes/BLUE_ICE"
using diskutil from terminal, it works fine, but via applescript generates an error:
what is missing in my script?
My guess is that something is still open. This script isn’t on this disk, is it?
The script is outside the volume. The error pops up but the volume is unmounted.
Unmounting first (in applescript) doesn’t work?
I’m not really sure if that is the right syntax.
It can not erase the volume when it is unmounted.
I’m having the same problem…ANYONE???
is there a workaround for this one?
should run hidden. can it be done?