On 18/10/2005 3:08 PM, "Paul Berkowitz" <[EMAIL PROTECTED]> spake thus:
> set fooMsgs to every message of folder "bar" where its category contains
> {category "foo"}
Excellent, this is pretty much exactly what I want; in fact I should be able
to collapse it right down to a single statement as you suggest. I had tried
to do something like this to start with, but couldn't quite figure out the
right magic incantation of whose/where/whatever.
This to me is one of the biggest failings of AppleScript as a language ---
statements that sound quite reasonable and that you think should work don't
because you don't fully understand some facet of AppleScript's internal
workings (in this case the requirement to use "where its" and {}). Yes, the
same thing happens in just about any programming language, but it's more
jarring in AppleScript because it's so "English-like". I've spent many
frustrating hours yelling at scripts to just "do what I say!" :)
Anyway, I'll try that out and see how it goes. Thanks!
--
Nigel Stanger, <http://www.business.otago.ac.nz/infosci/>
Dept. of Information Science, <http://public.xdi.org/=nigel.stanger>
University of Otago, Dunedin, NEW ZEALAND. +64-3-479-8179
"All right everyone, line up alphabetically according to your height."
--- Casey Stengel
--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>