PM5 bug/request
Hi The 'mark as good' button doesn't work if the message is in the trash, only if it is in the spam folder - could this be fixed/changed please? Thanks -- Pat O'Halloranhttp://www.danu.co.uk So who the hell can he be when he's never had VD and he doesn't even sit on toilet seats? - Ian Anderson
Re: Dummy messages
Jeremy Hughes wrote: This used to happen to me. I used a program called POPmonitor to delete the bogus messages. Mail Siphon http://www.maliasoft.com/ works too. RH
Re: Dummy messages
Thanks for the tip, but there is no doubt on that point : all messages are deleted except these no-subject-no-from-messages ! Jerome contacted me directly, we'll do some test. This used to happen to me. I used a program called POPmonitor to delete the bogus messages. It's stopped happening since we switched our mail server from EIMS to OS X 10.3 Server (postfix), so I guess postfix is rejecting them now. Jeremy
Re: Dummy messages
Le 29/04/04 à 7:04, [EMAIL PROTECTED] a écrit : Look in the Setup Mail Accounts... menu. There is an option under the 'Receiving' tab. Make sure that PM's not set to 'Leave messages on server' Thanks for the tip, but there is no doubt on that point : all messages are deleted except these no-subject-no-from-messages ! Jerome contacted me directly, we'll do some test. Stéphane. On Thu, Apr 29, 2004, Stephane Terreaux said: Could it be possible to PM to handle it correctly, thus deleting it automatically ?
Re: How to filter executable attachments (.exe, .scr, .inf, .pif etc.)?
Don V. Zahniser wrote: I am using PM 4.2.1 on Mac OS 9.0.4. I have tried downloading this script several times with 3 different browsers. When I unstuff the file (Stuffit Expander 5.5 or 7.0.3) and try to open it, I get errors. With Script Editor, I get a 'disk error'. When I use Smile, I get an error - 39. Other scripts that I download from this site open without problems. Scripts saved from the latest ScriptEditor for OS X are data fork script files; I suppose on OS 9 you can only open resource fork script files. I'll send you the script as a text file, so you can open it and save it as a resource fork script file. Now - What I really want to do is to move messages (not just the attachments) having attachments with specific suffixes to a folder (e.g. - Mail Trash or one named 'Spam'). add this line: move msg to message container my folder before the tell application Finder line Jérôme - PowerMail Engineering - My message database holds close to 200.000 messages. The find function in PowerMail 4.2 returns results like lightning. Absolutely fabulous! Even when searching on common words with results in the thousands or ten thousands, it's blazingly fast. The Power in PowerMail is completely meaningful. Thank you CTM-development! Jan M.J. Storms, PowerMail user Download a demo version from www.ctmdev.com -
Re(3): How to filter executable attachments (.exe, .scr, .inf, .pif etc.)?
On 29/04/2004 at 7:49 AM I saw Don V. Zahniser type: Now - What I really want to do is to move messages (not just the attachments) having attachments with specific suffixes to a folder (e.g. - Mail Trash or one named 'Spam'). I used a script to move a message into the mail trash and the attachment to another folder on my hard drive to archive later. The script was as follows. applescript tell application PowerMail set theMessages to current messages set destination to Macintosh HD:Users:kename:Documents:Archive: repeat with msg in theMessages repeat with attach in every attachment of msg tell application Finder set f to file of attach move f to destination end tell end repeat end repeat end tell /applescript You could just as easily define the destination as the Finder's trash so the attachments end up where you want, or set the destination to a PowerMail message container. kename
Re: COPYPASTE in AutoReply
On 29 4 2004 at 10:39 am -0400, Steve Tarpin wrote: Interesting glitch, I would appreciate it if someone else would try this and see if they get the same outcome. I was trying to revise some of my filters that use an auto-reply. When I copied text from one application to the clipboard and went to paste it in the Set Reply box (in Mail FiltersActionsAuto-reply Set reply...) the application simply closed the window (no paste) same as what would happen with a command+W. Tried both with key-commands and via the edit-menu, same thing. Sounds strange, Steve, but I've just played around with this and it seems to work fine for me! -ben -- Ben Kennedy, chief magician zygoat creative technical services 613-228-3392 | 1-866-466-4628 http://www.zygoat.ca
COPYPASTE in AutoReply
Interesting glitch, I would appreciate it if someone else would try this and see if they get the same outcome. I was trying to revise some of my filters that use an auto-reply. When I copied text from one application to the clipboard and went to paste it in the Set Reply box (in Mail FiltersActionsAuto-reply Set reply...) the application simply closed the window (no paste) same as what would happen with a command+W. Tried both with key-commands and via the edit-menu, same thing. Any insight/verification would be appreciated. s http://www.keylime.com -- PM 5.0b12 Carbon G4 2x1.GHz, 1.75 RAM 12 PB G4 867 GHz, 640 RAM OS X.3.2
Applescript and Fossilization
Tim, Glad to see I am not alone. I was a programmer for decades. Gave it up to become a user for awhile and yes. Continually am baffled why I can't seem to get the grasp of any of these new languages. Fossilized is a very good explanation. Harry
Re: Dummy messages
*This message was transferred with a trial version of CommuniGate(tm) Pro* Stephane, Look in the Setup Mail Accounts... menu. There is an option under the 'Receiving' tab. Make sure that PM's not set to 'Leave messages on server' -- Andy Fragen On Thu, Apr 29, 2004, Stephane Terreaux said: Could it be possible to PM to handle it correctly, thus deleting it automatically ?
Re: Solution (was: echo please)
*This message was transferred with a trial version of CommuniGate(tm) Pro* We didn't add this to our version. It makes it less automatic, other than asking which calendar you want to add the ToDo to. -- Andy Fragen On Thu, Apr 29, 2004, cheshirekat said: The second prompts you to choose how many days until the message is due.
Re: Solution (was: echo please)
*This message was transferred with a trial version of CommuniGate(tm) Pro* Wayne and everyone else. Here's what Marlyse and I ended up with. AppleScript global theName, theEmail tell application PowerMail 5.0b12 set theMessages to current messages repeat with msg in theMessages set theText to sender of msg set theName to display name of theText set theEmail to email address of theText end repeat end tell tell application iCal activate set callist to my get_cal_titles() --get cal titles set selectedcals to (choose from list callist) as Unicode text --do menu with cal titles set theCal to first calendar whose title is selectedcals --identify selected cal in iCal set theItem to (make new todo at end of todos of theCal) set summary of theItem to eMail - theName set url of theItem to mailto:; theEmail activate theItem show theItem end tell on get_cal_titles() --gets a list of strings of calendar titles set list_of_cals to {} tell application iCal repeat with aCal in calendars set list_of_cals to list_of_cals (title of aCal as string) end repeat end tell return list_of_cals end get_cal_titles /AppleScript There's not really any error checking and you need to have a received message selected. -- Andy Fragen On Thu, Apr 29, 2004, Wayne Brissette said: Marlyse Comte [EMAIL PROTECTED] on 29 April 2004 stated: thanks! Andy Fragen helped me modify my original script which ended in a working solution. Looking now on the solution you came up with, I think it interesting to see how different AS approaches can be! It's programming in general. As one of my co-workers is fond of saying I wouldn't have done it like that, but... cheshirekat: You need to make one change in your code. Add 31 to your list of days. Otherwise you'll never be able to add events to the 31st of any month that has 31 days. Wayne -- No people is wholly civilized where a distinction is drawn between stealing an office and stealing a purse. - Theodore Roosevelt 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(2): Attachment encoding
[PowerMail Engineering [EMAIL PROTECTED] schrieb am 29.4.2004 um 10:26 Uhr:] If the attachment is known to be a mac format, ... Thanks for your answer BUT I don't understand. I thought Mail.app uses Apple double encoding. Then why could the windows user read the PDF sent with Mail.app and not with PM? Your answer suggests that he could read the PDF anyway encoded in Apple double or in base64. Or have I understood it completely wrong? -- http://www.subhash.at
Re(4): How to filter executable attachments (.exe, .scr, .inf, .pif etc.)?
[fk [EMAIL PROTECTED] schrieb am 29.4.2004 um 11:51 Uhr:] menu Setup-Mail Filters... Thank you! I was searching in the wrong place. I looked for the determination of suffixes in the action pop up. -- http://www.subhash.at
Re(2): Solution (was: echo please)
cheshirekat: You need to make one change in your code. Add 31 to your list of days. Otherwise you'll never be able to add events to the 31st of any month that has 31 days. I think she does not point to 'day in month' but to 'how many days from now'. ---marlyse
Re: Solution (was: echo please)
Marlyse Comte [EMAIL PROTECTED] on 29 April 2004 stated: thanks! Andy Fragen helped me modify my original script which ended in a working solution. Looking now on the solution you came up with, I think it interesting to see how different AS approaches can be! It's programming in general. As one of my co-workers is fond of saying I wouldn't have done it like that, but... cheshirekat: You need to make one change in your code. Add 31 to your list of days. Otherwise you'll never be able to add events to the 31st of any month that has 31 days. Wayne -- No people is wholly civilized where a distinction is drawn between stealing an office and stealing a purse. - Theodore Roosevelt 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(2): Solution (was: echo please)
thanks! Andy Fragen helped me modify my original script which ended in a working solution. Looking now on the solution you came up with, I think it interesting to see how different AS approaches can be! Thanks to all who chimed in on this one. ---marlyse former message(s) quotes: - (* The above script will act on the message selected, or list of messages selected in the Mail Browser window. You will get two dialogs; One prompting you to choose a calendar from a list of your editable calendars, The second prompts you to choose how many days until the message is due. The ToDo summary will include the text in the property replyPrompt and the name of the sender of the message. The text of the properties can be modified to; include a different message, scale or extend the list of due date numbers. Modify or fix the script as you will, if it doesn't work as you want. *) End AppleScript HTH cheshirekat
Re(2): How to filter executable attachments (.exe, .scr, .inf, .pif etc.)?
I am using PM 4.2.1 on Mac OS 9.0.4. I have tried downloading this script several times with 3 different browsers. When I unstuff the file (Stuffit Expander 5.5 or 7.0.3) and try to open it, I get errors. With Script Editor, I get a 'disk error'. When I use Smile, I get an error - 39. Other scripts that I download from this site open without problems. Now - What I really want to do is to move messages (not just the attachments) having attachments with specific suffixes to a folder (e.g. - Mail Trash or one named 'Spam'). I, too have worked in several programming languages (BASIC, FORTH, and several scripting languages), but have not found myself compatible with AppleScript, so any assistance would be welcome. Thanks! On Thursday, April 29, 2004, [EMAIL PROTECTED] was rumored to have said: The new version of PM (v5, currently available as a beta) lets you do this straight from the filter setup box. Under PM 4.x, however, the best way is to use the apple script Remove Listed Attachments, which you can download from the PM Applescript archive on Wayne Brissette's invaluable site. http://homepage.mac.com/wayneb/powermail.html
Re: Solution (was: echo please)
On Wed, Apr 28, 2004, the following words from Marlyse Comte [EMAIL PROTECTED], emerged from a plethora of SPAM ... Try this - Be careful of the line wraps: Begin AppleScript property msgPrompt : Please select the calendar you wish to create a new To Do in. property replyPrompt : Reply by email to property numberList : {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30} to getCalendarChoice() tell application iCal set the writableCalendars to the title of calendars whose writable is true try set the listChoice to item 1 of (choose from list writableCalendars with prompt msgPrompt OK button name This One without multiple selections allowed and empty selection allowed) on error beep return false end try end tell return the listChoice end getCalendarChoice to makeAToDo(calPick, replyDue, sAddr, replySum) tell application iCal set the calVar to the first calendar whose title is the calPick make new todo at the end of the todos of the calVar with properties {due date:replyDue, summary:replySum, url:sAddr} end tell end makeAToDo tell application PowerMail set the msgList to the current messages repeat with targetMsg in the msgList set the targetMsgSender to the sender of the targetMsg set the msgSenderName to the display name of the targetMsgSender set the sAddr to the email address of the targetMsgSender set the replySum to the replyPrompt the msgSenderName set calendarPick to my getCalendarChoice() if not (calendarPick is false) then set the numberGiven to (item 1 of (choose from list the numberList with prompt How many days to reply? OK button name This one without multiple selections allowed and empty selection allowed)) set the replyDueDate to (the (current date) + (numberGiven * days)) my makeAToDo(calendarPick, replyDueDate, sAddr, replySum) end if end repeat end tell (* The above script will act on the message selected, or list of messages selected in the Mail Browser window. You will get two dialogs; One prompting you to choose a calendar from a list of your editable calendars, The second prompts you to choose how many days until the message is due. The ToDo summary will include the text in the property replyPrompt and the name of the sender of the message. The text of the properties can be modified to; include a different message, scale or extend the list of due date numbers. Modify or fix the script as you will, if it doesn't work as you want. *) End AppleScript HTH cheshirekat -- There is something about music that keeps its distance even at the moment that it engulfs us. It is at the same time outside and away from us and inside and part of us. In one sense it dwarfs us, and in another we master it. We are led on and on, and yet in some strange way we never lose control. - Aaron Copland * 867 PowerBook G4 * OS X 10.2.8 * 768 MB Ram * * Addictions: iTunes 4 * WarCraft * The Sims * FileMaker Pro
Re(2): How to filter executable attachments (.exe, .scr, .inf, .pif etc.)?
[Andy Fragen [EMAIL PROTECTED] schrieb am 28.4.2004 um 14:21 Uhr:] Now with PM5 it's much simpler and likely faster as it's baked-in. I cannot find any similar function. So I presume it depends on SpamSieve which I do not use? -- http://www.subhash.at
Dummy messages
Hello PM users, I observe a small issue with PM, any version : I receive, in one of my mailboxes (mail.chez.com, owned by tiscali.fr), some strange messages : no from, no subject. On every connection, PM tells me it downloads the messages, but they never appear in the browser. The only way to delete these messages is by means of the webmail. Here are two different samples : Return-Path: [EMAIL PROTECTED] Received: from cpe-68-116-167-242.ma.charter.com (68.116.167.242) by mail.libertysurf.net (6.5.036) id 407CDDCD022387E3; Wed, 28 Apr 2004 20:29:49 +0200 Sender: [EMAIL PROTECTED] (derived from envelope by [EMAIL PROTECTED]) Date: Wed, 28 Apr 2004 20:29:49 +0200 (added by [EMAIL PROTECTED]) Received: from 49.100.46.218 by 68.116.167.242; Wed, 28 Apr 2004 12:28:45 -0700 Message-ID: G[20 Return-Path: [EMAIL PROTECTED] Received: from 12-215-182-208.client.mchsi.com (12.215.182.208) by mail.libertysurf.net (6.5.036) id 4083C04000F793D2; Mon, 26 Apr 2004 01:00:08 +0200 Sender: [EMAIL PROTECTED] (derived from envelope by [EMAIL PROTECTED]) Date: Mon, 26 Apr 2004 01:00:08 +0200 (added by [EMAIL PROTECTED]) Message-ID: [EMAIL PROTECTED] (added by [EMAIL PROTECTED]) X-Message-Info: B[1 Could it be possible to PM to handle it correctly, thus deleting it automatically ? Thanks, Stéphane.
Re: echo please
*This message was transferred with a trial version of CommuniGate(tm) Pro* Marlyse, I've got plenty of those books as well. Unfortunately never enough time to really get into them. I've taken the script you sent as the solution and changed it to include my suggestions. I tested it and it seems to work. All you have to do is call it with the message selected. Obviously it has to be a sent message. If that's what you want enjoy. ;-) Andy AppleScript on run global theName, theEmail scheduleCall() end run on scheduleCall() tell application PowerMail 5.0b12 activate --not really necessary as you're already in PM set theMessages to current messages repeat with msg in theMessages set theText to sender of msg set theName to display name of theText set theEmail to email address of theText end repeat end tell tell application iCal activate set callist to my get_cal_titles() (*get cal titles*) set selectedcals to (choose from list callist) as Unicode text (*do menu with cal titles*) set theCal to first calendar whose title is selectedcals (*identify selected cal in iCal*) set theItem to (make new todo at end of todos of theCal) set summary of theItem to eMail theName --(the clipboard) set url of theItem to theEmail --the clipboard activate theItem show theItem end tell end scheduleCall on get_cal_titles() (*gets a list of strings of calendar titles*) set list_of_cals to {} tell application iCal repeat with aCal in calendars set list_of_cals to list_of_cals (title of aCal as string) end repeat end tell return list_of_cals end get_cal_titles /AppleScript -- Andy Fragen On Wed, Apr 28, 2004, Marlyse Comte said: thanks andy, this helps clarifying. Keep asking specific questions. LOL. most of the time I unfortunately haven't a clue what to ask. around '96 I bought a VERY thick AppleScript book, I think it was the AS bible, at the same time I needed to study another but even thicker book which was the Director bible book - I worked my way through the Director book, but never got further than the first chapter of the AS book. It's actually really a pity, because I am aware of how helpful this language is, but nowadays it's the various web languages which take most of my attention and AS again has a back seat, even though I still have that old thick, red AS book (think I was on OS 7 at the time). thanks for your help! ---marlyse
Re: echo please
*This message was transferred with a trial version of CommuniGate(tm) Pro* Comments inline. On Wed, Apr 28, 2004, Marlyse Comte said: thanks Andy - so, to define a global variable I just write global: nameVariable The syntax is just global nameVariable, without the quotes. I don't often start my scripts with a run statement but if you use one then I think I'd put the global declaration inside the run statement. and that would apply as a variable to PM and to iCal... as it is global. correct? and I would do that before even on run? It should work that way. That's how I passed variable names in my Burst package. that might have been my problem before. I kind of bypassed the variable by using the clipboard, assuming if the Script Editor turns it blue, it's some global thing, and it seems to work. but as you assumed, defining the selection has a bit a drawback, I really need to have the text selected, which does not work with the From or Reply-To field, they deselect the moment I move the mouse. how would I assign in the usual fashion a FROM to selection or to clipboard or whatever so I could pass it on and paste it later in the script into iCal? tell application PowerMail 5.0b12 set theMessages to current messages repeat with msg in theMessages -- put your code here to do something on each message msg set theText to sender of msg set theName to display name of theText set theEmail to email address of theText display dialog theName display dialog theEmail end repeat end tell Of course, in the above example you would likely have to declare theName and theEmail as globals. Something like the following. global theName, theEmail Keep asking specific questions. -- Andy Fragen ---marlyse former message(s) quotes: - *This message was transferred with a trial version of CommuniGate(tm) Pro* Marlyse, Here's what I do. I usually don't like defining global variables. I define a global variable at the beginning of the script global: theText tell application PowerMail set theText to the selection --if that works then it's really simple end tell I find this takes care of the problem between passing variables between different tell statements. See if that works for you. If PM doesn't like the assignment of the variable from the selection you'll have to figure something else from the message that you want to capture (From, Subject, whatever) and assign that in the usual fashion. I think defining a global variable will make the difference for you here. -- Andy Fragen
Re: echo please
that one was close! but the syntax between mail and pm are not the same, so the moment I change the name from mail to powermail, I get syntax errors. was definitely worth a try. Hah! You didn't think it would be as easy as change the app name, did you? :) I thought maybe the structure would be a help.
Re(2): echo please
thanks Andy - so, to define a global variable I just write global: nameVariable and that would apply as a variable to PM and to iCal... as it is global. correct? and I would do that before even on run? that might have been my problem before. I kind of bypassed the variable by using the clipboard, assuming if the Script Editor turns it blue, it's some global thing, and it seems to work. but as you assumed, defining the selection has a bit a drawback, I really need to have the text selected, which does not work with the From or Reply-To field, they deselect the moment I move the mouse. how would I assign in the usual fashion a FROM to selection or to clipboard or whatever so I could pass it on and paste it later in the script into iCal? ---marlyse former message(s) quotes: - *This message was transferred with a trial version of CommuniGate(tm) Pro* Marlyse, Here's what I do. I usually don't like defining global variables. I define a global variable at the beginning of the script global: theText tell application PowerMail set theText to the selection --if that works then it's really simple end tell I find this takes care of the problem between passing variables between different tell statements. See if that works for you. If PM doesn't like the assignment of the variable from the selection you'll have to figure something else from the message that you want to capture (From, Subject, whatever) and assign that in the usual fashion. I think defining a global variable will make the difference for you here. -- Andy Fragen
Solution (was: echo please)
I fiddled around and it's crude but does the basics: copies the selection in PM and creates a new iCal todo and allows you to select the calendar and puts the selection into the summary (title) of the todo inclusive the prefix 'email' and makes that active (i.e. lets you set the date and priority). there is one caveat: one has to open the message to be able to select the address, i.e. reply or forward and then manually select the address before activating the AS I am sure it's full of AS blunders, but I do not know AS, just fiddled around until I got what I wanted. one could smooth it out, have the email text be pasted into the content section in ical and select the priorities during the creation of the todo, but right now it's good enough for me - maybe it works also for somebody else: on run scheduleCall() end run on scheduleCall() tell application PowerMail 5.0b12 activate try copy selection set clipboard to the selection end try end tell tell application iCal activate set callist to my get_cal_titles() (*get cal titles*) set selectedcals to (choose from list callist) as Unicode text (*do menu with cal titles*) set theCal to first calendar whose title is selectedcals (*identify selected cal in iCal*) set theItem to (make new todo at end of todos of theCal) set summary of theItem to eMail (the clipboard) set url of theItem to the clipboard activate theItem show theItem end tell end scheduleCall on get_cal_titles() (*gets a list of strings of calendar titles*) set list_of_cals to {} tell application iCal repeat with aCal in calendars set list_of_cals to list_of_cals (title of aCal as string) end repeat end tell return list_of_cals end get_cal_titles
Re(2): echo please
On Wed, Apr 28, 2004 at 5:40 PM, Marlyse Comte sent forth: Thanks Andy. I still believe that if I can adjust the first part of my script to PM's syntax, it would work. Maybe I am asking just too complicated of what I need. It's just 2 things: how do I define a variable, e.g. called theText and how do I copy a PM selection into that variable so I can pass it on? I get to the point of having PM's selection copied but then I get AS error of the variable theText not defined. Then I try defining that variable and then again it won't copy what I want... going in circles. ---marlyse I'd love to see the finished result. In my case though, I would modify it for Now-Up-To-Date Contact (NUDC), instead of iCal. NUDC is supposedly fully scriptable and should therefore be an excellent candidate for such modifications. Let us know how things are progressing. My only problem is that the coding part of my brain seems to have fossilized, possibly due to almost 12 years of fatherhood. In the past I've coded in languages ranging from BASIC to VAX Assembler to COBOL to Modula 2, with C, FORTRAN and Pascal thrown in for good measure. Yet Applescript continues to confound me beyond the simplest of routines. :-( -- Tim Lapin [EMAIL PROTECTED]
Re: echo please
*This message was transferred with a trial version of CommuniGate(tm) Pro* Marlyse, Here's what I do. I usually don't like defining global variables. I define a global variable at the beginning of the script global: theText tell application PowerMail set theText to the selection --if that works then it's really simple end tell I find this takes care of the problem between passing variables between different tell statements. See if that works for you. If PM doesn't like the assignment of the variable from the selection you'll have to figure something else from the message that you want to capture (From, Subject, whatever) and assign that in the usual fashion. I think defining a global variable will make the difference for you here. -- Andy Fragen On Wed, Apr 28, 2004, Marlyse Comte said: Thanks Andy. I still believe that if I can adjust the first part of my script to PM's syntax, it would work. Maybe I am asking just too complicated of what I need. It's just 2 things: how do I define a variable, e.g. called theText and how do I copy a PM selection into that variable so I can pass it on? I get to the point of having PM's selection copied but then I get AS error of the variable theText not defined. Then I try defining that variable and then again it won't copy what I want... going in circles. ---marlyse former message(s) quotes: - Sorry Marlyse, I saw both messages and have only written one script for PM and iCal. Taking an Outlook invitation and making it into an iCal entry. I found iCal's AppleScript dictionary very lacking. I seem to recall something about sending a message in the future, some time ago but I don't recall whether it was using PM or Entourage. Sorry. -- Andy Fragen On Wed, Apr 28, 2004, Marlyse Comte said: I've posted 2x within a week a question about PM and AppleScript and both times not one reaction. Not even telling me it doesn't work what I want. This kind of amazes me - is there really NOBODY around who would like to use PM with iCAL and alarms to be reminded to send specific emails, nicely linked to speed up procedure? If so, how do you guys keep track of those - email me in a week or email me in 10 days - demands? Really curious, ---marlyse
Re(2): How to filter executable attachments (.exe, .scr, .inf, .pif etc.)?
Wonderful - the script works like a charm. Thanks a lot for the pointer. Will move to PM 5 once it's final - testing too many beta versions of other applications at the moment. Olaf Druemmer [EMAIL PROTECTED] wrote Wed, 28 Apr 2004 15:40:32 +0100 Olaf; The new version of PM (v5, currently available as a beta) lets you do this straight from the filter setup box. Under PM 4.x, however, the best way is to use the apple script Remove Listed Attachments, which you can download from the PM Applescript archive on Wayne Brissette's invaluable site. http://homepage.mac.com/wayneb/powermail.html I would advise you to set up a filter that acts ALWAYS on incoming messages, and which runs the applescript as its 'action'. Note that it's easy to edit the script to apply to whichever attachments you like. I used the script for ages under PM4, and modified it to suit my needs, and I know zip and nada about Applescript (except that it's awfully clever and useful and that it's something I should learn if only I had the time, which I don't, and could be bothered, which I can't). HTH Rick -- G5 2GHz x2 :: 2GB RAM :: 10.3.2 :: PM 5.0b12 :: 3 pane mode -- Original message: Received from Olaf Drümmer on 28/4/04 at 1:20 pm Hi, I may be missing the obvious but anyway - here goes my question (I am using PowerMail 4.2.1 together with SpamSieve on OS/X 10.3.2): How can I set up a filter that finds messages that have an executable Windows file attached (e.g. suffix is .com, .exe, .scr, .inf, .pif etc.)? It's that virus-spam stuff that keeps flooding (probably not only) my mail box, and SpamSieve is not good at filtering them out. I'd liek to be able to move it my spam folder right away. Olaf Druemmer
Re(2): echo please
Thanks Andy. I still believe that if I can adjust the first part of my script to PM's syntax, it would work. Maybe I am asking just too complicated of what I need. It's just 2 things: how do I define a variable, e.g. called theText and how do I copy a PM selection into that variable so I can pass it on? I get to the point of having PM's selection copied but then I get AS error of the variable theText not defined. Then I try defining that variable and then again it won't copy what I want... going in circles. ---marlyse former message(s) quotes: - *This message was transferred with a trial version of CommuniGate(tm) Pro* Sorry Marlyse, I saw both messages and have only written one script for PM and iCal. Taking an Outlook invitation and making it into an iCal entry. I found iCal's AppleScript dictionary very lacking. I seem to recall something about sending a message in the future, some time ago but I don't recall whether it was using PM or Entourage. Sorry. -- Andy Fragen On Wed, Apr 28, 2004, Marlyse Comte said: I've posted 2x within a week a question about PM and AppleScript and both times not one reaction. Not even telling me it doesn't work what I want. This kind of amazes me - is there really NOBODY around who would like to use PM with iCAL and alarms to be reminded to send specific emails, nicely linked to speed up procedure? If so, how do you guys keep track of those - email me in a week or email me in 10 days - demands? Really curious, ---marlyse
Re(2): echo please
that one was close! but the syntax between mail and pm are not the same, so the moment I change the name from mail to powermail, I get syntax errors. was definitely worth a try. ---marlyse former message(s) quotes: - There is an item called Mail2iCalTodo1.2.scpt at: http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default?user=gk lein1templatefn=FileSharing1.htmlxmlfn=TKDocument.1.xmlsitefn=RootS ite.xmlaff=consumercty=USlang=en You might find the code useful. Works with Mail.app, but places the item on the date in iCal that corresponds to the date of the message. hth Bob
Re: How to filter executable attachments (.exe, .scr, .inf, .pif etc.)?
*This message was transferred with a trial version of CommuniGate(tm) Pro* I used the script for ages with PM4 as well. As Rick said, it's easy to configure, even if you're an AppleScript novice. Now with PM5 it's much simpler and likely faster as it's baked-in. -- Andy Fragen On Wed, Apr 28, 2004, Rick Lecoat said: Olaf; The new version of PM (v5, currently available as a beta) lets you do this straight from the filter setup box. Under PM 4.x, however, the best way is to use the apple script Remove Listed Attachments, which you can download from the PM Applescript archive on Wayne Brissette's invaluable site. http://homepage.mac.com/wayneb/powermail.html I would advise you to set up a filter that acts ALWAYS on incoming messages, and which runs the applescript as its 'action'. Note that it's easy to edit the script to apply to whichever attachments you like. I used the script for ages under PM4, and modified it to suit my needs, and I know zip and nada about Applescript (except that it's awfully clever and useful and that it's something I should learn if only I had the time, which I don't, and could be bothered, which I can't). HTH Rick -- G5 2GHz x2 :: 2GB RAM :: 10.3.2 :: PM 5.0b12 :: 3 pane mode -- Original message: Received from Olaf Drümmer on 28/4/04 at 1:20 pm Hi, I may be missing the obvious but anyway - here goes my question (I am using PowerMail 4.2.1 together with SpamSieve on OS/X 10.3.2): How can I set up a filter that finds messages that have an executable Windows file attached (e.g. suffix is .com, .exe, .scr, .inf, .pif etc.)? It's that virus-spam stuff that keeps flooding (probably not only) my mail box, and SpamSieve is not good at filtering them out. I'd liek to be able to move it my spam folder right away. Olaf Druemmer
Re: echo please
*This message was transferred with a trial version of CommuniGate(tm) Pro* Sorry Marlyse, I saw both messages and have only written one script for PM and iCal. Taking an Outlook invitation and making it into an iCal entry. I found iCal's AppleScript dictionary very lacking. I seem to recall something about sending a message in the future, some time ago but I don't recall whether it was using PM or Entourage. Sorry. -- Andy Fragen On Wed, Apr 28, 2004, Marlyse Comte said: I've posted 2x within a week a question about PM and AppleScript and both times not one reaction. Not even telling me it doesn't work what I want. This kind of amazes me - is there really NOBODY around who would like to use PM with iCAL and alarms to be reminded to send specific emails, nicely linked to speed up procedure? If so, how do you guys keep track of those - email me in a week or email me in 10 days - demands? Really curious, ---marlyse
Re: echo please
There is an item called Mail2iCalTodo1.2.scpt at: http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default? user=gklein1templatefn=FileSharing1. htmlxmlfn=TKDocument.1.xmlsitefn=RootSite.xmlaff=consumercty=USlang=en You might find the code useful. Works with Mail.app, but places the item on the date in iCal that corresponds to the date of the message. hth Bob Marlyse Comte [EMAIL PROTECTED] sent the following at 1:00 PM on 4/28/04 I've posted 2x within a week a question about PM and AppleScript and both times not one reaction. Not even telling me it doesn't work what I want. This kind of amazes me - is there really NOBODY around who would like to use PM with iCAL and alarms to be reminded to send specific emails, nicely linked to speed up procedure? If so, how do you guys keep track of those - email me in a week or email me in 10 days - demands? Really curious, ---marlyse