This posting is older than 6 months and can contain outdated information.
Nevermind, found it. Now using this Apple Script (Stored at the red button)
if appIsRunning("Plex") then 
tell application "Plex" 
activate 
quit 
end tell 
tell application "EyeTV" 
activate 
end tell 
tell application "System Events" 
keystroke "o" using {command down} 
delay 1 
keystroke "0" using {command down} 
end tell 
else 
tell application "EyeTV" 
activate 
close windows 
end tell 
tell application "Plex" 
activate 
end tell 
break 
end if
on appIsRunning(appName) 
tell application "System Events" to (name of processes) contains appName 
end appIsRunning
Last edited: 29.08.2010 17:20:38