In both the iTMS Extractor SW and the AppleScript submitted earlier, use of an apostrophe (a single-quote) in the filename causes an error. With iTMS Extractor, the error is silent, and unless you were watching, you don't realize that the file wasn't saved to your chosen location. The AppleScript at least gives an error. (Great job on the script, BTW!)
Here's an update to the script to catch apostrophes more gracefully:
set originalFile to do shell script "lsof | grep -i QTP | grep iTunes | head -1 | awk '{ print $9 }'"
set goodName to false
repeat until goodName
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 newFile contains "'" then
display dialog "The filename you entered contained an apostrophe.
Please enter a name without an apostrophe."
else
set goodName to true
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 & "'"
end if
end if
else
display dialog "No movie found." buttons {"OK"} default button "OK"
end if
end repeat
With this in mind, iTMS Extractor is fine to use for folks afraid of scripts. But, do yourself a favor and try the script out, too!