• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: I can't script a QT movie to save to save my life
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I can't script a QT movie to save to save my life


  • Subject: Re: I can't script a QT movie to save to save my life
  • From: JJ <email@hidden>
  • Date: Fri, 05 Oct 2001 19:52:28 +0200

> to createMovie(referenceName, referenceFolder, targetFolder, movieNumber,
> frameRateVar)
> tell application "Finder"
> set movieFolder to folder (referenceName & movieNumber as text) of
> targetFolder
> set firstFile to file 1 of movieFolder
> end tell
> set firstFile to firstFile as alias
> set targetFolder to targetFolder as alias
> set newMovieName to (referenceName & movieNumber as text)
> tell application "QuickTime Player"
> launch
> activate
> stop every movie
> close every movie saving no
> open image sequence firstFile frames per second frameRateVar
> save movie 1 in newMovieName <--This is where it breaks every time

I don't know the information enclosed into "referenceName", but you should
save your movie into an "unexistent" file.

set newMovieName to "HD:Desktop Folder:" & "myfile.mov"

tell application "QuickTime Player"
save movie 1 in newMovieName
end tell

JJ


References: 
 >I can't script a QT movie to save to save my life (From: "Argyl L. Dickson, Jr." <email@hidden>)

  • Prev by Date: Scripting Palm Desktop (slight curve)
  • Next by Date: ANNOUNCE: XML Tools 2.3.1
  • Previous by thread: I can't script a QT movie to save to save my life
  • Next by thread: Re: IE5 with JavaScript by AppleScript seems to be tricky
  • Index(es):
    • Date
    • Thread