Hey all,
I know that this dosen’t directly deal with Plex, but I hope that someone can help me anyway 
I’m using EyeTV and Plex and I have a dream about getting a script for EyeTV, that shutdown my Mac after end recording and exporting, unless Plex is running.
Does anyone has a script like that or can anyone maybe build one? This could be really fantastic!
Btw, I did ask on the forum of EyeTV. You can see the thread here: http://forums.elgato.com/viewtopic.php?f=91&t=1045&p=41227#p41227 but I can’t get it to work :S
This should get you going
<br />
tell application "System Events" to set theCount to the count of (processes whose name is "Plex")<br />
if theCount = 0 then<br />
-- do something because it's not running<br />
else<br />
-- do nothing<br />
end if<br />
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.