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


Click here to return to the 'A shell command to save iTunes Music Store videos' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A shell command to save iTunes Music Store videos
Authored by: Fofer on Apr 30, '04 12:15:35PM

Hey, it works for Movie Trailers too!

I saved this as an AppleScript so it's easily accessible from iTunes' script menu:

do shell script "cp -v `lsof |grep -i QTP| grep iTunes|awk '{ print $9 }'` ~/Desktop/currentmusicvideo.mov"

Next step is to create a dialog so it requests the desired filename.



[ Reply to This | # ]
okay
Authored by: aedgarrube on Apr 30, '04 01:36:35PM

set theFileName to choose file name with prompt "Save movie as:" default name "itunesvideo.mov"
do shell script "cp -v `lsof |grep -i QTP| grep iTunes|awk '{ print $9 }'` " & POSIX path of theFileName


[ Reply to This | # ]
okay
Authored by: DougAdams on Apr 30, '04 02:04:57PM

Excellent. "Fofer" emailed me and I posted a version as well, but I much prefer this one.



[ Reply to This | # ]
Hey theres a simpler way...
Authored by: trevbucky on May 11, '04 04:08:49AM

all you have to do is click the drop down arrow at the far right of the movie
and up pops " save as quicktime movie"



[ Reply to This | # ]
Hey theres a simpler way...
Authored by: Fofer on Jun 30, '04 09:53:08PM

Sorry, but that old trick doesn't work on Music Videos or Trailers presented in the iTunes Music Store. The AppleScript in the hint, however, does.



[ Reply to This | # ]
Hey theres a simpler way...
Authored by: Fofer on Jun 30, '04 09:58:10PM

Actually, I take that back. The old trick doesn't work in Music Videos... but it does work fine for Movie Trailers. Go figure.



[ Reply to This | # ]