Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Save iTMS Music videos in iTunes 4.7.1' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Save iTMS Music videos in iTunes 4.7.1
Authored by: useEvil on Apr 29, '05 03:43:07PM
Here is the full script if you don't have it:
set originalFile to do shell script "lsof | grep -i qtch | head -1 | awk '{ print $9 }'"
if length of originalFile is greater than 0 then
	set newFile to POSIX path of (choose file name with prompt "Save movie as:" default name "iTunes Video.mov")
	if length of newFile is greater than 0 then
		if newFile does not end with ".mov" then set newFile to newFile & ".mov"
		do shell script "cp -v '" & originalFile & "' '" & newFile & "'"
		do shell script "/Developer/Tools/SetFile -t 'MooV' -c 'TVOD' '" & newFile & "'"
	end if
else
	display dialog "No movie found." buttons {"OK"} default button "OK"
end if

---
--
Fingerprint: 6196 6907 1E47 880A 76AA B6FD E9B6 A5D9 5D83 87BA
Public Key ID: 5D8387BA

[ Reply to This | # ]