hdiutil deprecating
I understand that hdiutil is deprecating to diskutil.
I currently use hdiutil frequently and wonder how/if I can change the Applescripts to include diskutil
Here's an example:
try
do shell script " hdiutil attach /Users/lakevz/Documents/lectures/current.dmg"
end try
I tried substituting diskutil for hdiutil leaving attach and it brought up box for password but went no further despite correct password and had to shut down the mac to get rid of the password box. Force quitting script editor or logging out wouldn't work.
Is there a way to change the script to have it work with diskutil?
Thanks