Re: Launch remote script
Re: Launch remote script
- Subject: Re: Launch remote script
- From: Christopher Nebel <email@hidden>
- Date: Tue, 3 Apr 2007 23:51:26 -0700
On Apr 3, 2007, at 5:04 PM, Jon Pugh wrote:
At 3:43 PM -0500 4/3/07, Wallace, William wrote:
Does anybody else have any insights on this, because I'd like to
know the
answer too (this could be very useful to me if I can get it to work
reliably). I get a "user authentication failure" error. I am using
a valid
username/password combo, and have verified that remote apple events
are
enabled.
I don't know that this is the problem, but it may simply be that you
are not allowed to run osaxen (like beep and run script) remotely.
There used to be an osiz resource which specified if an osax was
allowed to run remotely. I'm not sure if there's any corresponding
technique to allow or prevent remote osaxen these days.
Indeed, "run script" does not allow remote execution -- it's a
security thing. In general, scripting addition commands that trigger
user interface are not allowed to run, though you can still annoy the
heck out of the remote user with "beep" and "say". [1]
For the implementors in the crowd, this is done in code. The first
thing the command does is check the event source attribute; if it's
remote, it returns an error.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden