Re: Telling Remote Apps Crashes Script Editor
Re: Telling Remote Apps Crashes Script Editor
- Subject: Re: Telling Remote Apps Crashes Script Editor
- From: Matt Neuburg <email@hidden>
- Date: Thu, 18 Aug 2005 13:02:36 -0700
On Wed, 10 Aug 2005 12:09:28 +1000, George Bray
<email@hidden> said:
>
>
>Can anyone confirm this bug, or tell me what I'm doing wrong?
>
>I want to tell applications on a remote machine to do stuff.
>
>On the remote machine (Tiger Server 10.4.2) in Sharing Preferences I
>have "Remote Apple Events" turned on.
>
>On my local machine (Tiger Client 10.4.2) I try the following script
>from Script Editor
>
>tell application "Finder" of machine "rx1"
> get windows
>end tell
>
>When asking the script to be compiled, it correctly authenticates
>with the target server, but then crashes horribly.
>
>Shouldn't this just work?
Sorry, I'm just not seeing the problem. Since machine "rx1" can't be what
you are really saying (since that would be illegal), could you show what you
*are* really saying? This works fine for me:
tell application "Finder" of machine "eppc://duck.local"
using terms from application "Finder"
get windows
end using terms from
end tell
-- username/password dialog appears, I fill it out
-- reply comes back:
-- {Finder window id 6 of application "Finder" of machine
"eppc://duck.local", Finder window id 5 of application "Finder" of machine
"eppc://duck.local"}
I suggest you try some of the actual remote script examples from my book. Do
they really not work for you? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden