Re: Applescript not triggering, WAS Attachment link failing

2007-05-01 Thread PowerMail Engineering
Rick Lecoat wrote: (Actually I had never noticed the Applescript option as a filter *condition* before. How does that work? I mean, how is 'Applescript' a true or false condition?) set filter criterion result to true will set the result of the AppleScript condition. In each case, I got the same

Re: Applescript not triggering, WAS Attachment link failing

2007-05-01 Thread Rick Lecoat
Original message: Received from PowerMail Engineering on 1/5/07 at 11:23 set filter criterion result to true will set the result of the AppleScript condition. set filter criterion result to true being a line in the Applescript, presumably? (Sorry if that's really stupid-sounding, but I don't

Re: Applescript not triggering, WAS Attachment link failing

2007-04-30 Thread Michael J . Hußmann
Rick Lecoat ([EMAIL PROTECTED]) wrote: (Actually I had never noticed the Applescript option as a filter *condition* before. How does that work? I mean, how is 'Applescript' a true or false condition?) It seems that you can write custom filter conditions with AppleScript -- take a look at the

Re: Applescript not triggering, WAS Attachment link failing

2007-04-30 Thread cheshirekat
On Mon, Apr 30, 20074:26 PM, the following words from Rick Lecoat [EMAIL PROTECTED], emerged from a plethora of SPAM ... It's a puzzler, no doubt about it. I've tried both my earlier script and the one you kindly supplied, putting each at the top of the filter list with the settings that you

Re: Applescript not triggering, WAS Attachment link failing

2007-04-30 Thread Rick Lecoat
Well, are you really using PM version 5.5.2 instead of 5.5.3? (I don't know that would cause problems for scripts in filters, but you never know.) Is there a reason you haven't upgraded? Laziness combined with no pressing need. I might update PM just to see if it makes a difference with this

Re: Applescript not triggering, WAS Attachment link failing

2007-04-27 Thread cheshirekat
On Wed, Apr 25, 200711:07 AM, the following words from Rick Lecoat [EMAIL PROTECTED], emerged from a plethora of SPAM ... Hi cheshirekat. Moving the script filter to the top of the filter list won't work, because any other filters in the list that are set to move attachments to specific folders

Re: Applescript not triggering, WAS Attachment link failing

2007-04-25 Thread Mikael Byström
Rick Lecoat said it something like this: Moving the script filter to the top of the filter list won't work, because any other filters in the list that are set to move attachments to specific folders -- even if they are WAAAY down the filter list -- will cause it to fail. I don't know whether

Re: Applescript not triggering, WAS Attachment link failing

2007-04-25 Thread Wayne Brissette
Wayne; Thanks for the illumination. Can you then hazard a guess as to why my Tagging script (well, not 'mine' but used by me) fails if filters further down the filter list are set to move the attachment? If PM waited for the script to finish its job, as you say, then the later filters should not

Re: Applescript not triggering, WAS Attachment link failing

2007-04-24 Thread Rick Lecoat
There are a few earlier-placed filters that have that box checked, but they are all for highly specific conditions (specific account PLUS specific subject line, etc) and would not be cause for the complete failure to trigger that I'm seeing with this Applescript. But I think I've nailed the

Re: Applescript not triggering, WAS Attachment link failing

2007-04-24 Thread Rick Lecoat
Follow up: Looks like anything that moves the attachment prevents the script from working. If the attachment is moved *after* the script is called (but as part of the same filter pass, eg at incoming mail) then the script just fails silently -- presumably it starts to work but the attachment gets

Re: Applescript not triggering, WAS Attachment link failing

2007-04-24 Thread cheshirekat
On Tue, Apr 24, 20079:45 AM, the following words from Rick Lecoat [EMAIL PROTECTED], emerged from a plethora of SPAM ... Follow up: Looks like anything that moves the attachment prevents the script from working. If the attachment is moved *after* the script is called (but as part of the same

Applescript not triggering, WAS Attachment link failing

2007-04-23 Thread Rick Lecoat
On a sort-of-related note: I have an apple script (not written by me -- I have no skills in that arena) that is supposed to fire any time a message comes in with an attachment. The script writes to the attached file's Finder comments (are they still called Finder Comments?), making a note of who

Re: Applescript not triggering, WAS Attachment link failing

2007-04-23 Thread Tim Hodgson
On Mon, Apr 23, 2007 at 9:56 am +0100, Rick Lecoat wrote: Or, at least, it *would* be really useful if it were not for the fact that the script does not fire. PM appears to not activate applescripts if they are called automatically by a filter, as mine is (the condition is set to [Attachment 0k]

Re: Applescript not triggering, WAS Attachment link failing

2007-04-23 Thread Rick Lecoat
Okay Tim, thanks. Maybe the script is just too old then. Like I said, I have no applescript skills at all, so I can't diagnose whether it might be the script that has fallen behind the PM library. Here, then, is the full code of it, complete with comments and notes: . . . . . . . . . . (* tag

Re: Applescript not triggering, WAS Attachment link failing

2007-04-23 Thread cheshirekat
On Mon, Apr 23, 20079:56 AM, the following words from Rick Lecoat [EMAIL PROTECTED], emerged from a plethora of SPAM ... I have an apple script (not written by me -- I have no skills in that arena) that is supposed to fire any time a message comes in with an attachment. The script writes to the

Re(2): Applescript not triggering, WAS Attachment link failing

2007-04-23 Thread Winston Weinmann
Rick - Please let us know if this script works. chesirekat - Thanks! - Winston cheshirekat wrote: On Mon, Apr 23, 20079:56 AM, the following words from Rick Lecoat [EMAIL PROTECTED], emerged from a plethora of SPAM ... I have an apple script (not written by me -- I have no skills in that

Re: Applescript not triggering, WAS Attachment link failing

2007-04-23 Thread Rick Lecoat
Original message: Received from cheshirekat on 23/4/07 at 13:49 Is your filter at the end of your list of filters, or where is it located? To act on all attachments received, it would need to be at or near the top of your list of filters. Or, at least should not follow any scripts that move the

Re: Applescript not triggering, WAS Attachment link failing

2007-04-23 Thread Bruce Barrett
Hi, Of course it should not follow any filters that get triggered that include [x] Don't apply subsequent filters to this message I assume you've checked for that, but just in case. Sometimes it is the simple things. :-) Bruce -- Bruce BarrettSee my website at: