Get some of QuickTime Pro's capabilities with AppleScript

Giaguara

Chmod 760
Staff member
Mod
Some fun to do with AppleScript ... the editor.

* With QuickTime 7

Code:
on run
tell application "QuickTime Player"
activate
present movie 1
end tell
end run

Run. Or save as an application - this ill give you full screen*.

Code:
tell application "QuickTime Player"
activate
new audio recording
end tell

This records audio*.

Code:
tell application "QuickTime Player"
activate
new movie recording
end tell

Records video*.

Code:
on open theMovie
tell application "QuickTime Player"
activate
set request to display dialog "Select a scaling." with icon ¬
note buttons {"normal", "double", "screen"} default button "screen"
if button returned of request is "normal" then
open theMovie
present movie 1 scale normal
else if button returned of request is "double" then
open theMovie
present movie 1 scale double
else if button returned of request is "screen" then
open theMovie
present movie 1 scale screen
end if
end tell
end open

Save this one as an application, and you are prompted to select the scale when you drop a quicktime file to it.

Why to use AppleScript to do these things you might ask. Well - try to do those with QuickTime that is a non-Pro, and then try to do them with the same QuickTime using AppleScript.. ;)
 
With Quicktime Pro is there a way start and stop Screen Recording? I have been able to open Quicktime but to activate the Screen recording i have been falling short
 
Back
Top