Re: Damn send button / Wind chill
Re: Damn send button / Wind chill
- Subject: Re: Damn send button / Wind chill
- From: Shane Stanley <email@hidden>
- Date: Mon, 04 Mar 2002 10:27:35 +1100
On 3/3/02 4:55 PM +1000, Paul Berkowitz, email@hidden, wrote:
>
I never said it didn't work, Shane. I said it was wasteful, sluggish and
>
occasionally worse.
And that's what I'm questioning.
>
The "wasteful, sluggish" part I've been assured by
>
people who know how Apple Events work (I think Scott Norton was probably one
>
of those - I'm sure he'll speak up if I'm wrong). I've seen it in "action"
>
in labor-intensive repeat loops.
I just don't see how. Here's another example:
tell application "FileMaker Pro"
tell application "Finder"
name
end tell
end tell
Now, when I run that, FileMaker doesn't even launch. Look at what appears in
SD's log in AEPrint with this sample, or the previous one I posted. So I
think that Serge's last paragraph is the correct explanation, and I have a
vague recollection of Someone Who Knows spelling this out before.
>
The "occasionally worse"
>
would probably just arise if there's a terminology overlap ('file' is one of
>
those terms that often means different things to different apps). If it
>
doesn't, it doesn't.
Again, I don't think that happens -- a new "tell app..." effectively negates
any previous one.
>
>
I can't see how you'd go wrong by avoiding nesting application tell blocks.
>
Can you? Most of the time, nesting them won't have significant negative
>
effects.
I agree, most of the time. But there are two issues here: style and
performance. I'm really just questioning the claims about the latter.
--
Shane Stanley, email@hidden
_______________________________________________
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.