Hello everyone, I found this on another forum for burning VIDEO_TS folders. I understand that it gets the info of the folder, uses that as the name but i was hoping for an explanation on where the .iso file is create and where is it burned because I keep getting an error before the burn saying it cannot burn multiple segments or something.
Basically I am just looking for comment explaination for the script because the original writer did not put any
Thank you in advance.
on open this_folder
tell application “Finder”
set ginfo to (get info for this_folder)
set disp_name2 to name of ginfo
set POSIX_source to POSIX path of this_folder
set POSIX_file to POSIX path of (choose folder with prompt “Choose a folder to save image in:”)
display dialog “Would you like to also burn the image to DVD?” buttons {“No”, “Yes”} default button 2
if button returned of result is “Yes” then
set burning to "/usr/bin/hdiutil burn -noverifyburn " & POSIX_file & “” & disp_name2 & “.iso”
else
set burning to “”
end if
end tell
do shell script ("hdiutil makehybrid -udf -udf-volume-name \"" & disp_name2 & "\" -o \"" & POSIX_file & "" & disp_name2 & ".iso\" \"" & POSIX_source & "\"")
tell me to activate
display dialog "Please insert a blank DVD"
do shell script ("" & burning & "")
tell me to activate
display dialog "DVD image/burn complete"
end open