Re: Damn send button / Wind chill
Re: Damn send button / Wind chill
- Subject: Re: Damn send button / Wind chill
- From: "J. B Stewart" <email@hidden>
- Date: Sun, 03 Mar 2002 21:04:29 -0500
On 3/3/02 18:14, "Ed Stockly" <email@hidden> enscribed:
>
> AppleScript allows nested tells, a axe allows itself to be used as a hammer.
>
> Doing so isn't a good idea.
>
>
You're using a false analogy in your argument here. My point is that the
>
AppleScript language was specfically designed to accomodate nested tells.
>
It's a legacy from its roots in the Hypertalk language where there was an
>
object hierarchy for commands sent to a button. If the button didn't handle
>
the command it would be sent to the card, the background, then the stack
>
then the home stack then the application in that order until the command was
>
handled.
>
>
An ax is designed to chop wood and split rails and it has a flat surface
>
designed to pound wedges in to cut logs. It is not designed to hammer nails
>
and should not be used that way.
Not as false an analogy as you apparently think, AppleScript was not
designed to use nested tells, it was designed to allow the use of nested
tells and if you can't comprehend the difference, well never mind. I'm just
glad you aren't ever going to be on my payroll as an AppleScripter.
You are correct that an axe was designed to chop wood, it was also designed
to pound things, one of those things could be a nail (you can knock a tree
down with a hammer too) . Granted that isn't it's primary purpose but
neither is it AppleScripts purpose to use nested tells. They are just
convenient sometimes.
<snip>
>
>
The non-anal-retentive among us need a better reason ; >
>
>
ES
>
Humm, resorting to insults, a sure sign of an insecure debating position. It
indicates that the person resorting to it isn't comfortable with the
position they've taken and is trying to camouflage the fact. Perhaps you if
you spent a bit more time reading up on the subject of Tell Targets in the
ASLG. Maybe you would feel more comfortable, or then again maybe not.
After you study a bit you might even be able to explain why AppleScript has
a "parent" property, a "current application" class and a "continue" command
all of which redirect the targeting of a tell. If tells are so benign why do
they cause such headaches for novice scripters?
John
_______________________________________________
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.