On 8/10/02 7:47 PM, "Paul Berkowitz" <[EMAIL PROTECTED]> wrote:
>> Thanks, Paul; it is a bit confusing to those of us not well-versed in the
>> wonders of AppleScript. Except that for some reason
>>
>> set category of theMsg to {category "Junk"}
>>
>> isn't actually setting the category. The script compiles fine, and the other
>> parts of the script (set status to read, move to SPAM folder) work fine. In
>> fact, here's the entire thing:
>
> Are you quite sure of that? What scripts can't do is set Junk STATUS - only
> the Junk Mail Filter can do that, plus Rules. that's never been made
> scriptable. Junk Status has that ghostly icon with the down arrow The script
> can't do that. and there's no real reason for it to be scriptable - the only
> point to Junk Status is to give rules a handle to act on messages defined by
> the JMF. I guess it's nice to have that visual feedback, but it's no big deal.
> your script is already acting on messages you want treated as Junk, so what
> difference does it make if they also have Junk Status? Maybe you need to make
> the color for Junk category more distinctive. Just for a moment, set the color
> of Junk to some wild vermilion or purple color. Now try the script. You're
> sure it's not setting the category to "Junk" category?
Yep, it stays black, and the category remains "none"
But I actually changed some other things around with a couple other scripts
this evening, so I really don't need to change the category any more.
Although it would be interesting to figure out why the category isn't
changing. I even edited the script to try to set a different category; still
no go.
--
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/>