• 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
really slow repeat loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

really slow repeat loop


  • Subject: really slow repeat loop
  • From: Gabe Benveniste <email@hidden>
  • Date: Tue, 18 Jan 2005 16:17:49 -0800

I'm doing this loop in AppleScript Studio but was told this was more of an applescript issue in general.

This loop is REALLY slow and I'm looking for a way to make it faster.

    set theRows to every data row in theDataSource
    display dialog "checking"
    
    repeat with theRow in theRows
        set is_checked to the contents of the data cell "checkbox_row" of theRow
        set username to the contents of the data cell "username" of theRow
        
        if is_checked is true then
            set end of user_list to username
        end if
    end repeat

 _______________________________________________
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: really slow repeat loop
      • From: Andrew Oliver <email@hidden>
    • Re: really slow repeat loop
      • From: Brian Johnson <email@hidden>
  • Prev by Date: Mail.app rule script -- move messages
  • Next by Date: Re: really slow repeat loop
  • Previous by thread: Mail.app rule script -- move messages
  • Next by thread: Re: really slow repeat loop
  • Index(es):
    • Date
    • Thread