Re: Telling Remote Apps Crashes Script Editor
Re: Telling Remote Apps Crashes Script Editor
- Subject: Re: Telling Remote Apps Crashes Script Editor
- From: George Bray <email@hidden>
- Date: Fri, 19 Aug 2005 11:35:23 +1000
Thanks Matt.
I tried the examples in your (great) book, but SE still crashes.
tell application "Finder" of machine "eppc://rx1.local"
using terms from application "Finder"
get windows
end using terms from
end tell
tried it with the authentication in the eppc URI, same.
tried machine "eppc://the.host.ip.address", same.
tried it in Xcode, it crashes too.
SE 2.1 (80)
AS 1.10
Both recent security updates
Tiger Client and Server 10.4.2
I saw somewhere that 10.4.3 may include fixes to SE and AS.
thanks - George
AHA! I took the Tiger Server out of the equation and it works Tiger
client to client. Telling apps on a remote tiger server crashes the
calling app every time.
On 19/08/2005, at 6:02:36 AM, Matt Neuburg wrote:
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>
--
George Bray
Division of Communication and Education
University of Canberra, AUSTRALIA
_______________________________________________
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