Skip to content

Instantly share code, notes, and snippets.

@miyagawa
Created January 12, 2015 17:59
Show Gist options
  • Save miyagawa/43ea69ab5f95b62cf891 to your computer and use it in GitHub Desktop.
Save miyagawa/43ea69ab5f95b62cf891 to your computer and use it in GitHub Desktop.
on ScheduleCreated(programID)
set myid to programID as integer
tell application "EyeTV"
set show_name to (get the name of program id myid)
set start_time to (get the start time of program id myid)
do shell script "~/bin/pushme Schedule created: " & (quoted form of show_name) & " on " & (start_time as text)
end tell
end ScheduleCreated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment