Apple Remote Events (eppc) and OS X server
Apple Remote Events (eppc) and OS X server
- Subject: Apple Remote Events (eppc) and OS X server
- From: Eric Martel <email@hidden>
- Date: Fri, 11 Jul 2003 19:22:09 +0200
I have activated the "Remote Apple Events" in the "Sharing" pane of the
System Preferences of my PM G4 running OS X server and also my
PowerBook running OS X (not server).
If i'm running the script at the end (having changed the IP address, ID
and pwd) from the PM G4 targeting the PB G4, I'll see in the "Log"
window all the applications running on my PowerBook. But when I'm
trying to running the script targeting a machine running OS X server,
I'm receiving an error.
It seems that the "System Events" application (but it's just an
exemple, all the other applications targeted are showing the same
issue) is requiring an "Authorization" and not just an
"Authentification" as for a machine running OS X (not server).
I've checked that on the machine running OS X server has NOT the
firewall activated.
Question : What are the steps to set-up the machine running OS X Server
to be able to accept Remote Apple Events ?
Here is the script :
set the IP_address to "IP_of_the_server"
set the remote_IP to ("eppc://user_ID:user_pwd@" & the IP_address)
set remote_sys_events to application "System Events" of machine
remote_IP
using terms from application "System Events"
tell remote_sys_events
set list_of_apps to name of application processes
set list_of_properties to frontmost of application processes
repeat with i from 1 to (length of list_of_properties)
if (item i of list_of_properties) then
set current_app to item i of list_of_apps
end if
end repeat
end tell
end using terms from
Eric.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.