Remote Scripting

Hi everyone,

I have tried to find the answer to this but seems that it has not beeen posted yet …

I am trying to make a script that comunicates with another Mac (10.4.6). So I created an account name toto with a password toto on the machine and activate apple events in the sharing preferences.

the script is :

tell application “Terminal” of machine “eppc://toto:toto@”
set myip to (do shell script “ipconfig getifaddr en0”)
end tell
tell application “Finder”
display dialog myip
end tell

but it refuses to work telling me that the user cannot be authenticated.

Any idea ?



Moving to OS X forum.