Re: Folder Is... filter condition
Rick Lecoat [EMAIL PROTECTED] on 4/27/04 at 17:12 stated: Yes, I could use Cron to send a message that would activate an applescript via a filter to delete the appropriate messages, but that seems a VERY long way around the houses -- especially to someone who has zero knowledge of Cron or Applescript -- to accomplish something that I'd hoped to be able to do using PM's own functionality. Rick Yes, Rick it's a kluge in the grand sense. But, AppleScript does have the ability to globally store values that remain persistent, so it's possible (not easy if you don't know AppleScript, but still possible) to have a date stored compare the dates and if it's greater than X number of days remove the appropriate messages. However, you're absolutely correct it's not the easiest or best way to do it, it's simply one way to accomplish the goal. If you are so inclined, you may want to look at the AS archives. There is a Delete Aged Messages script that should do what you want. BTW, today I learned why I have never before attempted to write an AppleScript for Microsoft Word (other than I don't use it much). I was asked to see about grabbing a certain part of text from a series of documents. Looking at their dictionary I couldn't see how the footer and header were assigned to the document. So a quick search through the Internet found several examples, turns out you must use Visual Basic calls within AppleScript. Now, that's the long way around the house! Wayne -- All human rules are more or less idiotic. - Mark Twain Live DAT Music Page: http://homepage.mac.com/wayneb/ Wayne's Music Calendar: http://ical.mac.com/wayneb/Music PowerMail AppleScript Archives: http://homepage.mac.com/wayneb/powermail.html Music Currently playing:
Re: Folder Is... filter condition
But that still doesn't get around the problem of the old messages (the ones that the filter is supposed to act upon were received days ago) not being selected. As far as I can tell, filters will act automatically on messages 'in motion' (ie. incoming or outgoing) or manually on *selected* messages... but I don't see a way to have them act automatically on unselected messages, even if those messages meet the filter's criteria. Yes, I could use Cron to send a message that would activate an applescript via a filter to delete the appropriate messages, but that seems a VERY long way around the houses -- especially to someone who has zero knowledge of Cron or Applescript -- to accomplish something that I'd hoped to be able to do using PM's own functionality. Rick -- G5 2GHz x2 :: 2GB RAM :: 10.3.2 :: PM 5.0b12 :: 3 pane mode -- Original message: Received from Wayne Brissette on 27/4/04 at 10:48 pm So here is a workaround: 1) setup a cron job that would create a mail that would fire off the filter. You get to setup the cron job to run any time you want; Once a day, Once an hour, Once a week. You pick the time, date, etc.
Re: Folder Is... filter condition
Wayne at [EMAIL PROTECTED] said on 27/4/04 10:48 pm So here is a workaround: 1) setup a cron job that would create a mail that would fire off the filter. You get to setup the cron job to run any time you want; Once a day, Once an hour, Once a week. You pick the time, date, etc. Wayne Chher Wayne, There's plenty of workarounds, Still be nice to have the functionality built in I think. Cheers -- Derry Thompson g l o d e r w o r k s | Design - Hosting - Programming http://www.gloderworks.com [EMAIL PROTECTED] + 44 (0) 7976 802487
Re: Folder Is... filter condition
At Tue, 27 Apr 2004 22:33:03 +0100 (CET), Rick Lecoat [EMAIL PROTECTED] wrote: Jérôme The theory (and it could be an erroneous one) is that the filter gets run every time new mail arrives -- since when new mail arrives PM automatically runs all filters in order (until it gets a positive result for one that has the No more filters box checked). I was hoping that it would act on the messages in the folder since they were originally incoming messages, without being selected -- after all, I don't manually select mail as it arrives to have filters act upon it. But I can see a flaw in my logic. If that was going to work, then another problem would arise: any previously filter-filed messages that I'd subsequently decided to put somewhere else for any reason would get whipped back to their filter-designated location every time new mail arrived. That doesn't happen, so I have to assume that my new filter won't work either. Bugger. Rick ...which brings up an old request of mine: The ability to use time scheduled filters. We now have a very powerful selection of filter actions -- couldn't exactly the same set of conditions and actions been used for time scheduled actions as well? I don't know nada about programming, but a third option (besides Filter incoming messages and Filter outgoing messages) where we can choose Fridays at 12.00, Once a month, Weekdays at 4.00 etc would be absolutely great!! Max G
Re: Folder Is... filter condition
Derry Thompson [EMAIL PROTECTED] on 27 April 2004 stated: Bugger is right. It'd be nice to have something like run this filer once a day at 5.00pm or something similar So here is a workaround: 1) setup a cron job that would create a mail that would fire off the filter. You get to setup the cron job to run any time you want; Once a day, Once an hour, Once a week. You pick the time, date, etc. Wayne -- Only sick music makes money today. - Friedrich Nietzsche Live DAT Music Page: http://homepage.mac.com/wayneb/ Wayne's Music Calendar: http://ical.mac.com/wayneb/Music PowerMail AppleScript Archives: http://homepage.mac.com/wayneb/powermail.html Music Currently playing:
Re: Folder Is... filter condition
Rick at [EMAIL PROTECTED] said on 27/4/04 10:33 pm Bugger. Rick Bugger is right. It'd be nice to have something like run this filer once a day at 5.00pm or something similar -- Derry Thompson g l o d e r w o r k s | Design - Hosting - Programming http://www.gloderworks.com [EMAIL PROTECTED] + 44 (0) 7976 802487
Re: Folder Is... filter condition
Jérôme The theory (and it could be an erroneous one) is that the filter gets run every time new mail arrives -- since when new mail arrives PM automatically runs all filters in order (until it gets a positive result for one that has the No more filters box checked). I was hoping that it would act on the messages in the folder since they were originally incoming messages, without being selected -- after all, I don't manually select mail as it arrives to have filters act upon it. But I can see a flaw in my logic. If that was going to work, then another problem would arise: any previously filter-filed messages that I'd subsequently decided to put somewhere else for any reason would get whipped back to their filter-designated location every time new mail arrived. That doesn't happen, so I have to assume that my new filter won't work either. Bugger. Rick -- G5 2GHz x2 :: 2GB RAM :: 10.3.2 :: PM 5.0b12 :: 3 pane mode -- Original message: Received from PowerMail Engineering on 27/4/04 at 2:47 pm It seems OK, but I'm wondering how do you run this filter? If you run it manually (as it is for old messages, I assume you do), why do you need a condition for the folder, since the filter is only applied to the messages you have selected?
Re: Folder Is... filter condition
Oh, okay. In that case can you confirm that my filter structure is correct so that it will work when I get the full version 5? Cheers; Rick -- G5 2GHz x2 :: 2GB RAM :: 10.3.2 :: PM 5.0b12 :: 3 pane mode -- Original message: Received from PowerMail Engineering on 27/4/04 at 1:15 pm Can someone explain to me how to use the filter condition Folder Is:? It does not work in b12 (it works like [folder] [is not] instead of [folder] [is]).
Re: Folder Is... filter condition
Rick Lecoat wrote: Can someone explain to me how to use the filter condition Folder Is:? It does not work in b12 (it works like [folder] [is not] instead of [folder] [is]). Jérôme - PowerMail Engineering - PowerMail is by far the most stable, trouble-free, well-rounded mail application I've seen in over 15 years. I'd buy this application again in a second. The staff at ctmdev is always Johnny-on-the-spot if there's an issue. Simple smooth interface and filtering is great. Once a user sets up the filters they perform almost invisibly. Multiple user environements is great and the ability to have the same user environment in OSX and OS9 (for those of use that still must boot into OS9 to work occassionally) is absolutely wonderful. The only additions I'd like to see are inline attachements and the ability to add more alert sounds to the application. Again, this is an absolutely wonderful application. PowerMail user comment on www.versiontracker.com Download a demo version from www.ctmdev.com -