• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: why is applescript so slow???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: why is applescript so slow???
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: why is applescript so slow??? (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: [~ot] those pesky invisible folders .. & backups
  • Next by Date: Apple has GOT to get themselves one of THESE
  • Previous by thread: Re: why is applescript so slow???
  • Next by thread: Re: why is applescript so slow???
  • Index(es):
    • Date
    • Thread