On 15/11/2002 19:50, "Michael Tsai" <[EMAIL PROTECTED]> wrote:
> On 10:21 PM 11/14/02 Allen Watson <[EMAIL PROTECTED]> wrote: > >> A script can be written to operate on all messages in a folder or >> on messages selected by some criteria. Take a look at "SpamSieve - >> Mark Junk if Spam" in Script Editor, and you'll see it begins by >> selecting all current messages (which in a rule is just the single >> incoming message; otherwise it is all messages you have selected in >> a folder, or the open message in the front window): >> >> set msgs to current messages -- doesn't work without temp variable >> >> I'm not sure what their comment means, but we can ignore it. > > The comment means that if you write: > > repeat with m in current messages > > instead of > > set msgs to current messages > repeat with m in msgs > > it won't work. However, if you write: repeat with m in (get current messages) it will work. -- Barry -- 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/>
