Jérôme sez: >The same AppleScript property "current messages" is used for the selected >messages (when the script is called manually) and for the filtered >message (when the script is called from a filter). In this case, it is a >list containing a single message.
It works as you said, except I get an error. Class='DB ', what=7, when=9, err=0. I guess immediately deleting a message causes a problem in the loop or something. Also, the database needs repair before PM will launch again. >>Is there a way in an AppleScript to keep PowerMail from proceeding to the >>next filter? > >No. Workaround: you can set the subject of your message to "###delete###" >in your script, then create a second filter that will delete the message >immediately if the subject is "###delete###", and check the "stop >applying filters" in the second filter. Good idea, thanks. But, executing the Delete Immediately AppleScript still causes the error. Maybe if I could execute an AppleScript after the connection to delete everything in a folder or with a particular subject, like "#Delete#"? Thanks to everyone for the help. ------------------------------------------------------------------ Tom Dillon 12081 W. Alameda Parkway DataCraft #506 [EMAIL PROTECTED] Lakewood, CO 80228 http://www.DataCraft-Inc.com/ 720/962-4880 ------------------------------------------------------------------ The monkey is not saddened because of its poor swimming abilities, but it stays out of the water nevertheless. --- Sunastar ------------------------------------------------------------------

