| Article: |
Schedule HackTV with iCal | |
| Subject: | Get length of recording from iCal? | |
| Date: | 2005-02-11 12:52:53 | |
| From: | ericasadun | |
|
Response to: Get length of recording from iCal?
|
||
| To use iCal for timing, you need to split the script in two at the 'delay' line (and toss that line). Schedule the second script for the end-time. | ||
Showing messages 1 through 1 of 1.





-- 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
It is a little easier and simpler!
Have fun,
Goodtime