From: Ari Brown Date: 2007-07-10T21:04:35+09:00 Subject: Re: Quicktime and Ruby On Jul 9, 2007, at 11:33 PM, 12 34 wrote: > require 'appscript' > include Appscript > QTP = app('QuickTime Player.app') > > # To export the middle frame of a movie file to a PICT file: > movie = QTP.open(MacTypes::Alias.path('/path/to/your movie.mov'))[0] > movie.current_time.set(movie.duration.get / 2) > movie.export(:to=>MacTypes::FileURL.path('/path/to/middle > frame.pict'), :as=>:picture) > movie.close I saw that, and in fact that's what I'm using as my library. But I need to convert the file into Hinted Movie format. In quicktime, it's under File -> Export -> Hinted Movie What would I write in ':as' if I wanted to do that? Or where could I get a list of possible file conversions for this? aRi --------------------------------------------| If you're not living on the edge, then you're just wasting space.