Re(2): Deleteing Messages in Trash
On 28/9/2004 at 1:00 PM I saw Andy Fragen type: ow the hard part. Go to VersionTracker and download Cronix. Set up a repeating cron job to run the script with the following command. osascript path to script The 'path to script' should be in quotes with unix delimiters of / not :. Thanks Andy, That was the part I was missing in my puzzle. Kename
Re: Deleteing Messages in Trash
*This message was transferred with a trial version of CommuniGate(tm) Pro* Because there is no way to access this feature manually. You need to invoke an AS. Besides, it's somewhat self defeating to have to invoke this manually. If you want to do that just quit and restart every day. -- Andy Fragen On Tue, Sep 28, 2004, Larry Samberg said: You understand me ... But why should I have to relegate this to an Applescript? PM already has a subroutine to do this, it is invoked every time I QUIT. Why can't I just get a menu item that just invokes this subroutine. That's what I meant by manual /lss -- Larry S. Samberg [EMAIL PROTECTED] VM/Fax: 270-514-0557 Faith is the substance of things hoped for, the evidence of things not seen... Hebrews 11:1 On Tue, 28 Sep 2004 14:45:23 -0400 Tim Lapin wrote: On Tuesday, September 28, 2004, Larry Samberg sent forth: I am using OS X. But I am not sure I see how this even begins to address the request I made. /lss -- I guess what is in order here is to restate / rephrase the question. If I understood Larry's original post correctly, he wants to manually delete mail from the trash that IS AT LEAST 'N' DAYS OLD. In short, he likes to let his trash sit for a while and get really ripe and smelly, then delete only the smelliest bits. :-) If that is the case, I would suggest an Applescript, as such a feature might be considered an unnecessary refinement by others. I'm no AS guru but it seems to me a simple enough bit of pseudocode, with ONE wrinkle: Repeat until end of trash { if (current date - date sent = N) then ; could also work with date received delete from Trash end if } The wrinkle, as I see it, is that the Empty Trash option is all inclusive. So you would either have to redefine what Empty Trash is or move the mail to be kept to a holding folder whilst you empty the remainder. So the above would become: Repeat until end of trash { if (current date - date sent N) then move to holding folder endif } Empty trash NOTE: Please excuse any niggling syntax errors; I'm not an AS guru as I've said and it's the gist that counts here. -- Tim Lapin [EMAIL PROTECTED]
Re: Deleteing Messages in Trash
*This message was transferred with a trial version of CommuniGate(tm) Pro* Here's what to do. But this is not for the faint of heart. ;-) Get the script Delete Aged Messages from the PowerMail script archive. Set it up to delete the Mail Trash Now the hard part. Go to VersionTracker and download Cronix. Set up a repeating cron job to run the script with the following command. osascript path to script The 'path to script' should be in quotes with unix delimiters of / not :. -- Andy Fragen On Tue, Sep 28, 2004, Larry Samberg said: I am quite pleased with the feature added in release 5 that deletes messages from the trash after 'n' days. I really needed this capability. The fact that it is 'n' days after I move it to the trash rather than 'n' days after I received it makes it even better. But, of course, that won't keep me from requesting that it be made even better :) Is there any way to trigger this without my having to actually QUIT powermail. In normal operation I don't quit very often so the trash tends to build up. A background process that ran on a timed basis (every hour, every 6 hours) that performed this function would be nice. Alternatively, a command that would let me do it manually would suffice (I assume the EMPTY TRASH command deletes everything). /lss -- Larry S. Samberg [EMAIL PROTECTED] VM/Fax: 270-514-0557 Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away. --Antoine de Saint-Exupery
Re: Deleteing Messages in Trash
On Tuesday, September 28, 2004, Tim Lapin sent forth: So the above would become: Repeat until end of trash { if (current date - date sent N) then move to holding folder endif } Empty trash OOPS! Forgot to add: move from holding folder back to trash. Also, if the comment in the first post made it messy, I apologize. I forgot about the line length limits on most mail servers. -- Tim Lapin [EMAIL PROTECTED]
Re(2): Deleteing Messages in Trash
You understand me ... But why should I have to relegate this to an Applescript? PM already has a subroutine to do this, it is invoked every time I QUIT. Why can't I just get a menu item that just invokes this subroutine. That's what I meant by manual /lss -- Larry S. Samberg [EMAIL PROTECTED] VM/Fax: 270-514-0557 Faith is the substance of things hoped for, the evidence of things not seen... Hebrews 11:1 On Tue, 28 Sep 2004 14:45:23 -0400 Tim Lapin wrote: On Tuesday, September 28, 2004, Larry Samberg sent forth: I am using OS X. But I am not sure I see how this even begins to address the request I made. /lss -- I guess what is in order here is to restate / rephrase the question. If I understood Larry's original post correctly, he wants to manually delete mail from the trash that IS AT LEAST 'N' DAYS OLD. In short, he likes to let his trash sit for a while and get really ripe and smelly, then delete only the smelliest bits. :-) If that is the case, I would suggest an Applescript, as such a feature might be considered an unnecessary refinement by others. I'm no AS guru but it seems to me a simple enough bit of pseudocode, with ONE wrinkle: Repeat until end of trash { if (current date - date sent = N) then ; could also work with date received delete from Trash end if } The wrinkle, as I see it, is that the Empty Trash option is all inclusive. So you would either have to redefine what Empty Trash is or move the mail to be kept to a holding folder whilst you empty the remainder. So the above would become: Repeat until end of trash { if (current date - date sent N) then move to holding folder endif } Empty trash NOTE: Please excuse any niggling syntax errors; I'm not an AS guru as I've said and it's the gist that counts here. -- Tim Lapin [EMAIL PROTECTED]
Re: Deleteing Messages in Trash
On Tuesday, September 28, 2004, Larry Samberg sent forth: I am using OS X. But I am not sure I see how this even begins to address the request I made. /lss -- I guess what is in order here is to restate / rephrase the question. If I understood Larry's original post correctly, he wants to manually delete mail from the trash that IS AT LEAST 'N' DAYS OLD. In short, he likes to let his trash sit for a while and get really ripe and smelly, then delete only the smelliest bits. :-) If that is the case, I would suggest an Applescript, as such a feature might be considered an unnecessary refinement by others. I'm no AS guru but it seems to me a simple enough bit of pseudocode, with ONE wrinkle: Repeat until end of trash { if (current date - date sent = N) then ; could also work with date received delete from Trash end if } The wrinkle, as I see it, is that the Empty Trash option is all inclusive. So you would either have to redefine what Empty Trash is or move the mail to be kept to a holding folder whilst you empty the remainder. So the above would become: Repeat until end of trash { if (current date - date sent N) then move to holding folder endif } Empty trash NOTE: Please excuse any niggling syntax errors; I'm not an AS guru as I've said and it's the gist that counts here. -- Tim Lapin [EMAIL PROTECTED]
Re: Deleteing Messages in Trash
How about control-click or right-click the Mail Trash icon? Mirko -- Mirko Kranenburg Maastricht, Netherlands e-mail [EMAIL PROTECTED] PowerBook G4 (15 FW-800 1.25 GHz) OS X 10.3.5 Freeway Pro 3.5.12, NavPack, GraphPack PowerMail 5.0.2b1, 3 panes The whole MarinerPak Larry Samberg wrote on Tue, 28 Sep 2004 14:16:50 -0400: I am using OS X. But I am not sure I see how this even begins to address the request I made. /lss -- Larry S. Samberg [EMAIL PROTECTED] VM/Fax: 270-514-0557 I care about truth not for truth's sake but for my own ---Samuel Butler On Tue, 28 Sep 2004 10:31:04 -0700 Richard Hart wrote: Rene Merz wrote: (Shift-Command-Backspace on some keyboards) Does NOT work in the trash folder! It does in every version of PowerMail I've ever used, including 5.0.1 under OS X. However, I believe Larry is using OS 9. RH
Re(2): Deleteing Messages in Trash
I am using OS X. But I am not sure I see how this even begins to address the request I made. /lss -- Larry S. Samberg [EMAIL PROTECTED] VM/Fax: 270-514-0557 I care about truth not for truth's sake but for my own ---Samuel Butler On Tue, 28 Sep 2004 10:31:04 -0700 Richard Hart wrote: Rene Merz wrote: (Shift-Command-Backspace on some keyboards) Does NOT work in the trash folder! It does in every version of PowerMail I've ever used, including 5.0.1 under OS X. However, I believe Larry is using OS 9. RH
Re: Deleteing Messages in Trash
Rene Merz wrote: (Shift-Command-Backspace on some keyboards) Does NOT work in the trash folder! It does in every version of PowerMail I've ever used, including 5.0.1 under OS X. However, I believe Larry is using OS 9. RH
Re: Deleteing Messages in Trash
Am 28.9.2004 hat [EMAIL PROTECTED] geschrieben: Larry Samberg wrote: a command that would let me do it manually would suffice The same command as the Finder uses: Shift-Command-Delete (Shift-Command-Backspace on some keyboards) Does NOT work in the trash folder!
Re(2): Deleteing Messages in Trash
Did you read my original email? -- Larry S. Samberg [EMAIL PROTECTED] VM/Fax: 270-514-0557 Life has taught us that love does not consist in gazing at each other, but in looking outward together in the same direction. --Antoine de Saint-Exupery On Tue, 28 Sep 2004 07:45:59 -0700 Richard Hart wrote: Larry Samberg wrote: a command that would let me do it manually would suffice The same command as the Finder uses: Shift-Command-Delete (Shift-Command-Backspace on some keyboards)
Re: Deleteing Messages in Trash
Larry Samberg wrote: a command that would let me do it manually would suffice The same command as the Finder uses: Shift-Command-Delete (Shift-Command-Backspace on some keyboards)
Re(2): Deleteing Messages in Trash
On 28/9/2004 at 8:59 AM I saw Jim Pistrang type: Is there any way to trigger this without my having to actually QUIT powermail. In normal operation I don't quit very often so the trash tends to build up. A background process that ran on a timed basis (every hour, every 6 hours) that performed this function would be nice. Alternatively, a command that would let me do it manually would suffice (I assume the EMPTY TRASH command deletes everything). I would also like to see this. If you can use something to schedule AppleScripts to run at an interval, then you can use the following script. Change the value of days in the first line to reflect how many days you would like to save. This also calculates based on the message date, as I haven't be able to try when they are moved to the trash. [N.B. I have commented out the actual delete part of the script as I didn't want messages to be deleted without testing it first. Remove the -- infront of delete theMessage to play with fire.] Programs that I used to know of that would do AppleScripts on a schedule are iDo and perhaps even Cronnix [though I can't profess any ability with them.] but I use Spark to map it to a function key for quick fire. applescript set days to 365 tell application PowerMail set messageList to the messages in message container Mail Trash repeat with theMessage in messageList set messageDate to time sent of theMessage set messageLable to label of theMessage if (messageDate ((current date) - (days * 24 * 3600))) then set label of theMessage to 3 --delete theMessage end if end repeat end tell /applescript Kename
Re: Deleteing Messages in Trash
Am 28.9.2004 hat [EMAIL PROTECTED] geschrieben: I am quite pleased with the feature added in release 5 that deletes messages from the trash after 'n' days. I really needed this capability. The fact that it is 'n' days after I move it to the trash rather than 'n' days after I received it makes it even better. But, of course, that won't keep me from requesting that it be made even better :) Is there any way to trigger this without my having to actually QUIT powermail. In normal operation I don't quit very often so the trash tends to build up. A background process that ran on a timed basis (every hour, every 6 hours) that performed this function would be nice. Alternatively, a command that would let me do it manually would suffice (I assume the EMPTY TRASH command deletes everything). The Script Delete Message Immediatley delets the activated messages only, wherever they are (inside or outside the trash directory). MenĂ¼ Scripts (the AppleScript sign, before last one on the Menu, which is Help).
Re: Deleteing Messages in Trash
Hi Larry, Is there any way to trigger this without my having to actually QUIT powermail. In normal operation I don't quit very often so the trash tends to build up. A background process that ran on a timed basis (every hour, every 6 hours) that performed this function would be nice. Alternatively, a command that would let me do it manually would suffice (I assume the EMPTY TRASH command deletes everything). I would also like to see this. Jim -- Jim Pistrang JP Computer Resources Certified Member, Apple Consultants Network 413-256-4569 http://users.crocker.com/~pistrang
Deleteing Messages in Trash
I am quite pleased with the feature added in release 5 that deletes messages from the trash after 'n' days. I really needed this capability. The fact that it is 'n' days after I move it to the trash rather than 'n' days after I received it makes it even better. But, of course, that won't keep me from requesting that it be made even better :) Is there any way to trigger this without my having to actually QUIT powermail. In normal operation I don't quit very often so the trash tends to build up. A background process that ran on a timed basis (every hour, every 6 hours) that performed this function would be nice. Alternatively, a command that would let me do it manually would suffice (I assume the EMPTY TRASH command deletes everything). /lss -- Larry S. Samberg [EMAIL PROTECTED] VM/Fax: 270-514-0557 Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away. --Antoine de Saint-Exupery