[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] weird problem with SC recorded .aiff files
this seems very useful but it doesn't work for me for some reason. i get 'the variable theOpenMovie is not
defined'. btw, how would you tweak this script to save as 24bit?
thanks,
j
-------Original Message-------
> From: Michael Hairston <mhairston@xxxxxxxxx>
> Subject: Re: [sc-users] weird problem with SC recorded .aiff files
> Sent: 26 Aug '05 17:35
>
> > > its 32bit files by default, not all apps can handle them but quicktime
>
> Someone may find this useful:
>
> I wrote a little drag & drop applescript to convert to AIFF
> 16bit--copy this into Script Editor and save as Application, then drop
> files onto it. It uses Quicktime Player (you don't have to have the
> Pro version). It will convert any QT-compatible format (including
> 32-bit AIFFs) to 16-bit AIFF. The converted copies will be on the
> Desktop.
>
> on open droppedfiles
> tell application "QuickTime Player"
> activate
> repeat with f in droppedfiles
> set theOpenMovie to (open f)
> set this_name to the name of theOpenMovie
> tell theOpenMovie
> if can export as AIFF then
> set parentPath to ((path to desktop folder) as string)
> set outputFile to (parentPath & this_name & ".aif")
> export to outputFile as AIFF
> else
> display dialog "Can't export file as AIFF"
> end if
> end tell
> close theOpenMovie
> end repeat
> quit
> end tell
> end open
>
> _______________________________________________
> sc-users mailing list
> sc-users@xxxxxxxxxxxxxxx
> http://www.create.ucsb.edu/mailman/listinfo/sc-users
>
-------Original Message-------