• 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
QuickTime Pro 7 Captions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QuickTime Pro 7 Captions


  • Subject: QuickTime Pro 7 Captions
  • From: Gil Dawson <email@hidden>
  • Date: Sun, 13 Apr 2014 12:02:30 -0700

Hi--

Does anyone perchance know the proper syntax to get QuickTime Pro 7 to turn on captions?  

(Manually, you'd click on View -> Show Closed Captioning ⌥⌘T)

QT's dictionary shows a property of the application which looks promising:

show closed captioning when available (boolean) : show closed captioning (when supported by content)

However, a naîve interpretation...

tell application "QuickTime Player 7"
set show closed captioning when available to true
end tell

...doesn't seem to do anything.

This works:

tell application "System Events"
tell process "QuickTime Player 7"
set frontmost to true
keystroke "t" using {command down, option down}
end tell
end tell

But it makes QT frontmost, which mars my script's generality.  
Also, ⌥⌘T is a toggle.  If you do it again, it turns captions off.

Any ideas? 

--Gil
 _______________________________________________
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

  • Follow-Ups:
    • Re: QuickTime Pro 7 Captions
      • From: blinkboks <email@hidden>
  • Prev by Date: Re: Recent Items
  • Next by Date: Re: QuickTime Pro 7 Captions
  • Previous by thread: Re: NSString in ApplescriptObjC
  • Next by thread: Re: QuickTime Pro 7 Captions
  • Index(es):
    • Date
    • Thread