Many functions in Eye TV 3 can be accessed using AppleScript.
Script Menu
EyeTV 3 displays a Script menu in the menu bar when it finds scripts in the /Library/Application Support/EyeTV/Scripts folder. These scripts can be started directly from the Script menu. Please note that when scripts have changed EyeTV needs to be restarted for the changes to become effective.
Dictionary
The AppleScript Dictionary of EyeTV lists all available commands and parameters. The Apple application “Script Editor” (in /Applications/ AppleScript) can be used to inspect EyeTV’s script dictionary and to write scripts. You can also find example scripts on the EyeTV installation CD. If you find that there is functionality in EyeTV that is not present in the AppleScript dictionary, please write us at support@elgato.com. We will try to accommodate your needs in future software updates.
Triggered Scripts
In addition to the conventional AppleScript support EyeTV 3 also offers the possibility to use triggered scripts. These are scripts which EyeTV automatically runs following certain events. EyeTV offers the following trigger events:
ScheduleCreated
Scripts using this trigger will start after a schedule is created.
RecordingDone
Scripts using this trigger will start after a recording has finished.
ExportDone
Scripts using this trigger will start after a recording has been completely exported.
RecordingDeleted
Scripts using this trigger will start after a recording was deleted. Commented example trigger scripts
can be found on the EyeTV installation CD.
In order to execute these scripts EyeTV looks for triggered scripts in /Library/Application Support/EyeTV/Scripts/TriggeredScripts. In case this directory does not exist, create it manually.
Note: The TriggeredScripts directory and its contents are not displayed in EyeTV’s Script menu since triggered scripts should not be manually launched.