Re: Applescript (or Automator...or shell scrip...) to start and stop screen recording
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
|
_______________________________________________
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