Re: really slow repeat loop
Re: really slow repeat loop
- Subject: Re: really slow repeat loop
- From: Brian Johnson <email@hidden>
- Date: Tue, 18 Jan 2005 16:55:48 -0800 (PST)
On Tue, 18 Jan 2005, Gabe Benveniste wrote:
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
This is an ASStudio "table view", right? I messed around with these (with
and without datasource, etc.) last year for a bit and never got the kind
of performance I hoped for out of it. Fortunately, it wasn't so slow as to
render the appilcation unusable, so I eventually just left it alone. I'll
be watching to see if any hints emerge here...
- brian johnson
_______________________________________________
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