• 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: Applescript (or Automator...or shell scrip...) to start and stop screen recording
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript (or Automator...or shell scrip...) to start and stop screen recording


  • Subject: Re: Applescript (or Automator...or shell scrip...) to start and stop screen recording
  • From: Christopher Stone <email@hidden>
  • Date: Wed, 9 Feb 2011 22:03:03 -0600

On Feb 09, 2011, at 19:07, James Gill wrote:
I have everything working fine except for the save portion. Sadly, Apple's documentation on Applescript Editor is woefully lacking on the dictionary for Quicktime X. After scouring the internet this afternoon for hours, I can hardly find ANY references to Applescript and the newest version of Quicktime X. Most of the stuff I'm finding is from 2006 and 2007 and is woefully out of date.
______________________________________________________________________

Hey James,

The screen recording window changes its name when you stop the recording, so you have to re-reference it.

set f to "" & (path to desktop) & "quicktimeFile"

tell application "QuickTime Player"
set newScreenRecording to new screen recording
tell newScreenRecording
start
delay 2
stop
end tell
set newDoc to last item of (documents whose name contains "Screen Recording")
save newDoc in f
end tell

--
Best Regards,
Chris
 _______________________________________________
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: 
 >Applescript (or Automator...or shell scrip...) to start and stop screen recording (From: James Gill <email@hidden>)

  • Prev by Date: Applescript (or Automator...or shell scrip...) to start and stop screen recording
  • Next by Date: Re: Append QT movies without adding tracks
  • Previous by thread: Applescript (or Automator...or shell scrip...) to start and stop screen recording
  • Next by thread: More weird problems
  • Index(es):
    • Date
    • Thread