Many functions in Eye TV 3 can be accessed using AppleScript.
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.
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 email@example.com. We will try to accommodate your needs in future software updates.
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:
Scripts using this trigger will start after a schedule is created.
Scripts using this trigger will start after a recording has finished.
Scripts using this trigger will start after a recording has been completely exported.
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.