• 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: QuickTime iSight Recording
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QuickTime iSight Recording


  • Subject: Re: QuickTime iSight Recording
  • From: Deivy Marck Petrescu <email@hidden>
  • Date: Tue, 1 Jun 2010 15:08:14 -0400


On Jun 1, 2010, at 12:44 PM, (4) GMAIL 5278 wrote:

Dear AppleScript Users,

Hello.  I'm trying to record a 5 seconds of iSight video through QuickTime.  The only problem that I have is to assign a file variable to the movie.  If I run the following, AppleScript will not assign a variable to the file name.  Rather, the file will be named 'Movie.mov.'  I appreciate any advice.

Yours truly,

Jim

// AppleScript //

tell application "Finder"
set mymovie to "hello.mov"
end tell

tell application "QuickTime Player"
new movie recording
start first recording
delay (5)
stop first recording
close document 1 saving in mymovie
end tell

tell application "QuickTime Player"
quit
end tell



"hello.mov" and thus mymovie is a string.
You have to send a qualified path instead of a string

---> POSIX path of ("" & (path to "desk") & "hello.mov")

Deivy Petrescu
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >QuickTime iSight Recording (From: "(4) GMAIL 5278" <email@hidden>)

  • Prev by Date: Re: getting a file by URL ?
  • Next by Date: Re: getting a file by URL ?
  • Previous by thread: QuickTime iSight Recording
  • Next by thread: Changing QuickTime Recording Export Path
  • Index(es):
    • Date
    • Thread