Re: Applescript quick question
Re: Applescript quick question
- Subject: Re: Applescript quick question
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 5 Jun 2008 15:48:33 -0400
You've got your logic in the wrong place. What you want is this:
set found to false -- important!
repeat with thisEmail in email of Contact
if value of thisEmail contains "@domain" then
set found to true
exit repeat
end if
end repeat
if not found then -- OUTSIDE the loop!
...
end
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden