Ari Brown <ari / aribrown.com> wrote:

> On Jul 9, 2007, at 11:33 PM, 12 34 wrote:
> <snip>
> > 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?

As I said, this is not a Ruby matter. You have to read the dictionary
(the AppleScript dictionary). m.


-- 
matt neuburg, phd = matt / tidbits.com, http://www.tidbits.com/matt/
Tiger - http://www.takecontrolbooks.com/tiger-customizing.html
AppleScript - http://www.amazon.com/gp/product/0596102119
Read TidBITS! It's free and smart. http://www.tidbits.com