Hello, 

I am trying to setup a script that will automatically change message's
online status to "marked for deletion". I have succeeded in creating a
script that works if I manually select a message and run the script.
However, when I add it as a filter action it does nothing. Is there
someone how could help me reconfigure this script so it would work in
both instances, when used manually and when used in a filter action?

Here is the copy of the script:

tell application "PowerMail"
        set theMessages to current messages
        repeat with msg in theMessages
                set oldStatus to online status of msg
                if oldStatus is not marked for deletion then set online status 
of msg
to marked for deletion
        end repeat
end tell


Thanks

-- 
Alexander Balakersky
[EMAIL PROTECTED]
==========================================================
PGP Public Key ID: 0xB9C0FC17  Key Server: keyserver.pgp.com
Fingerprint: 401A 3856 3820 AF50 D2BF  2D0B 9ADC 431A B9C0 FC17
==========================================================





Reply via email to