Re: why is applescript so slow???
Re: why is applescript so slow???
- Subject: Re: why is applescript so slow???
- From: Chris Page <email@hidden>
- Date: Wed, 1 Dec 2004 17:14:32 -0800
On Dec 1, 2004, at 15:24, Christopher Nebel wrote:
[An excellent discussion of efficient script writing--thanks, Chris.]
get every person of group gName
repeat with i in the result
delete i
end
... (You ought to be able to say "delete every person of group gName",
and you can, but it only removes them from the group and doesn't
delete them. It's a bug.)
I'm a little unclear on how "delete" should work when items can be
elements of more than one other item.
If I say "delete person 1" I would expect the item to be deleted, but
if I say "delete person 1 of group foo" I'm not sure whether I expect
it to be deleted or merely removed from the group.
Do you think applications should support, say, "remove" to remove items
from groups without deleting them, and that "delete" should always
delete an item no matter how it is referenced?
--
Chris Page - Software Wrangler - Dylan Pundit
Open Source Dylan: <http://www.gwydiondylan.org/>
Dylan Blogging: <http://homepage.mac.com/chrispage/iblog/>
Dylan Shopping: <http://www.cafepress.com/chrispage>
_______________________________________________
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