This should give you insight:
>I use the following AppleScript:
>
>property spamFolderName : "Spam"
>property spamlabel : 7
>
>tell application "PowerMail"
> set msgs to current messages
> repeat with m in msgs
> try
> set s to m's source
> tell application "SpamSieve"
> set isSpam to (looks like spam message s)
> end tell
> if isSpam then
> if not (exists message container spamFolderName) then
> make new message container with properties {name:spamFolderName}
> end if
> set m's status to read
> move m to message container spamFolderName
> end if
> end try
> end repeat
>end tell
>
>//brian
>
>
>On Fri, Feb 28, 2003 at 1:18 PM, Mirko Kranenburg wrote:
>
>
>>I am a happy user of SpamSieve, to keep the inboxes wholesome and healthy.
>>The AppleScripts provided move the junk to a Spam folder.
>>My question now is: does anyone know how to modify the supplied SpamSieve
>>- Move Spam in such a way that it sets the status of the junk messages to
>>Read in one go?
>>Now I still see those messages when I set them to Read manually.
>>
>>Thanks,
>>
>>Mirko
>>
--
Mirko Kranenburg
e-mail [EMAIL PROTECTED]
On Thu, 17 Apr 2003 16:34:35 +0900 Scott at HobbyLink Japan wrote:
>I'm attempting to power up SpamSieve's "Add Spam" script. I already have
>it moving stuff to the trash for me. I'd also like it to mark the
>messages as read so the Mail Trash is not boldfaced. I've plowed through
>the PM script commands but cannot identify how to do this. A little
>help, please?
>
>---
>
>Scott T. Hards
>President
>HobbyLink Japan (www.hlj.com)
>
>
>
>