system events remote machine isnt running

Posted on
Wed Oct 03, 2012 9:28 am
henkjanvries offline
User avatar
Posts: 108
Joined: May 05, 2012

system events remote machine isnt running

Does any one know what to do. Its probably a problem on my machines and therefor hard to reproduce, but perhaps someone know how to help.

this is the script:

Code: Select all
set media to "eppc://media:****@10.0.1.6" --remote machine property

property eyetv_playerstate : ""
property eyetv_active_state : ""

using terms from application "System Events"
   tell application "System Events" of machine media
      if exists process "EyeTV" then -- Eyetv is running
         set eyetv_active_state to "running"
         
         tell application "EyeTV" of machine media
            if playing then
               set eyetv_playerstate to "playing"
            else
               set eyetv_playerstate to "stopped"
            end if
         end tell
         tell application "IndigoServer"
            if not (variable "eyetv_playerstate" exists) then ¬
               make new variable with properties {name:"eyetv_playerstate", value:eyetv_playerstate}
            if "eyetv_playerstate" is not equal to (value of variable "eyetv_playerstate") then
               set value of variable "eyetv_playerstate" to eyetv_playerstate
            end if
         end tell
      else
         set eyetv_active_state to "quit"
      end if
   end tell
end using terms from



i get the error that system events is not running. I just cant find a website where there is a good explanation about this error.

i hope someone has a tip!

Posted on
Thu Oct 04, 2012 7:36 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: system events remote machine isnt running

On the server Mac do you have Remote Apple Events enabled in the Sharing panel of System Preferences? Also try totally turning off the firewall on that Mac to see if that helps.

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 15 guests