The same task can be accomplished using QuickTime Pro 7 and Tiger 10.4:
-- Start Quicktime Pro 7 Recorder.
-- Define Recorder Settings inside QT Pro Recorder Preferences
-- Mods by GT-DVR
tell application "QuickTime Player"
activate
do shell script "sleep " & (2)
tell application "System Events"
tell application process "QuickTime Player"
click menu item "New Movie Recording" of menu "File" of menu bar item "File" of menu bar 1
keystroke return
-- hide quicktime player while recording
click menu item "Hide QuickTime Player" of menu "QuickTime Player" of menu bar item "QuickTime Player" of menu bar 1
end tell
end tell
end tell
-- Stop Quicktime Pro 7 Recorder.
-- Define Recorder Settings inside QT Pro Recorder Preferences
-- Mods by GT-DVR
tell application "QuickTime Player"
activate
do shell script "sleep " & (2)
tell application "System Events"
tell application process "QuickTime Player"
keystroke return
do shell script "sleep " & (2)
-- hide quicktime player after recording
click menu item "Hide QuickTime Player" of menu "QuickTime Player" of menu bar item "QuickTime Player" of menu bar 1
end tell
end tell
end tell