My apology for the misleading Subject.
As happens, I started documenting one problem and it became a different problem.
The answer to my first question is simple:
On Mar 28, 2014, at 12:15 PM, Saunders, Eric wrote: Not all applications are recordable. If you get no result after pushing the record button, the application is likely not recordable.
Indeed, My AppleScript does record Finder operations, but QuickTime and TextEdit are both, evidently, among the Not Recordable.
So, recording my manual operations won't work.
On a different tack, then:
I tried using the QuickTime dictionary to translate my manual operations into QuickTime commands.
I got this far:
-- Start with QuickTime unlaunched
tell application "QuickTime Player 7" activate open sccFile select all copy close front window set theMovie to open mp4File select all add theMovie -- Doesn't work... -- quit end tell
The last command ("add theMovie") is supposed to mimic the manual operation Edit > Add to Movie [Option-Command-V], which...
adds a new "Closed Caption" track, obtained from the clipboard, which is, like, 55 minutes long, to the movie.
It doesn't. Instead, the command adds a "Text Track" which is only 2 seconds long. I cannot imagine why.
So, my question is, does anyone know how to compose a QuickTime command to mimic my manual operation?
And, secondarily, what is "add theMovie" doing by creating a Text Track?
--Gil |