Ok, schade.tja, k.a. warum dann in eyetv das script nicht getriggert wird...
Falls du oder jemand anderes doch noch eine Lösung findet, würde ich mich über Benachrichtigung freuen
Folgen Sie dem Video unten, um zu sehen, wie Sie unsere Website als Icon auf Ihrem Homescreen erstellen.
Anmerkung: This feature may not be available in some browsers.
Ok, schade.tja, k.a. warum dann in eyetv das script nicht getriggert wird...
das Script zum ausschalten/schlafen gehen funktioniert eigentlich sehr gut.
Ich habe ab und zu das der MAC nach der Aufnahme nicht schlafen gelegt wird.
Wie kann man nun raus bekommen wo der Fehler zu finden ist?
set is_playing to false
tell application "iTunes"
if player state = playing then set is_playing to true
end tell
warum auch immer?
on RecordingDone(recordingID)
tell application "EyeTV"
if is_recording = false then
activate
set antwort to display dialog "Wirklich ausschalten?" buttons {"No", "Yes"} default button "Yes" giving up after 30
if button returned of antwort = "Yes" or button returned of antwort = "" then
tell application "Finder"
shut down
end tell
end if
end if
end tell
end RecordingDone
on RecordingDone(recordingID)
tell application "EyeTV"
if is_recording = false then
activate
set antwort to display dialog "Wirklich ausschalten?" buttons {"No", "Yes"} default button "Yes" giving up after 300
if button returned of antwort = "Yes" or button returned of antwort = "" then
tell application "Finder"
shut down
end tell
end if
end if
end tell
end RecordingDone
on RecordingDone(recordingID)
if recordingID = ? then
tell application "EyeTV"
if is_recording = false then
activate
set antwort to display dialog "Wirklich ausschalten?" buttons {"No", "Yes"} default button "Yes" giving up after 30
if button returned of antwort = "Yes" or button returned of antwort = "" then
tell application "Finder"
shut down
end tell
end if
end if
end if
end tell
end RecordingDone
on RecordingDone(meineID)