Re: Check folder if empty
Re: Check folder if empty
- Subject: Re: Check folder if empty
- From: Simon Forster <email@hidden>
- Date: Fri, 22 Oct 2004 20:16:52 +0100
On 22 Oct 2004, at 19:22, Peter Mathiessen wrote:
if the_Count is not equal to 0 then
repeat until the_Count = 0
set the_Count to the count of every item of searchFolder
end repeat
end if
repeat while count of items in (list folder searchFolder without
invisibles) > 0
delay 60
end
Better still would be to use an idle handler as this uses less
processor cycles IIRC.
HTH
Simon Forster
_____________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247
_____________________________________________________
_______________________________________________
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