Re: eppc -> "Remote Access Not Allowed"?
Re: eppc -> "Remote Access Not Allowed"?
- Subject: Re: eppc -> "Remote Access Not Allowed"?
- From: matt neuburg <email@hidden>
- Date: Fri, 11 Jun 2004 11:24:56 -0700
On Fri, 11 Jun 2004 01:24:15 +0200, Sander Tekelenburg <email@hidden>
said:
>
I never did much with remote scripting. Now that I have a
>
need, I can't get the most basic stuff to *compile* even:
>
>
When trying to compile this
>
>
tell app "Finder" of machine "eppc://192.168.0.102" to
>
beep
>
>
I get an error sheet (in Script Editor) saying "Remote
>
access isn't allowed". (That's after the dialog has come
>
up that asks for a username/passphrase for the remote
>
machine.)
>
>
The remote Mac's Sharing prefs has "Remote Apple Events"
>
on. I can access the machne over afp, ssh, and http just
>
fine. Both machines are running 10.3.4.
>
>
>
Btw, even when I include a user/pasphrase combo in the
>
eppc URL I get a dialog saying "Authorization is required
>
to for 'Finder' on 'eppc://192.168.0.102'." (Yep, that's
>
verbatim :)) Perhaps that's a clue? I would assume no
>
passphrase dialog to come up when you include a
>
user/passphrase in the URL.
>
>
What am I doing wrong?
Perhaps the IP number is wrong. Another possibility is that you are not
supplying the correct username/password for the remote machine. I just
changed your script to use an actual IP number on my own local network and
it ran perfectly (after presenting the dialog):
tell application "Finder" of machine "eppc://192.168.0.2" to beep
I suggest you start with the script on p. 350 of my book. This has the
advantage that it helps you locate the target machine - and the further
advantage that it works for me. It really helps, in these cases, to start
with a script that you know already works for someone. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.