Re: Text items
Re: Text items
- Subject: Re: Text items
- From: kai <email@hidden>
- Date: Thu, 18 Jan 2007 02:11:13 +0000
On 17 Jan 2007, at 23:57, Stockly, Ed wrote:
>>>>However, I think Kai's technique is certainly a more clever,
efficient, and general solution.
I would agree that it's very clever, but I'm not sure if it's any
more efficient than using a simple AppleScript loop and I'm not
sure if it's a more general solution or if you even want a more
general solution.
It's more general than a solution requiring a predefined list of name
extensions to work. Hard-coding a script to work in very specific
circumstances is one way to gain a speed advantage, although it's
quite a trade-off. However, for a one-off situation, there's nothing
wrong with that. Horses for courses, I guess.
>>>>Would someone like to give a line-by-line explanation of how
it does what it does?
Adam has done that but I don't think he got the purpose of using
the script object just right, the script object holds a copy of the
list in a property, which allows the script to refer to the
property of the script object with a tell.
As previously, I've no intention of responding to the personal
opinions expressed in the rest of your message. However, I should
point out that the use of a script object has nothing at all to do
with tell statements.
---
kai
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden