powermail-discuss Digest #2992 - Monday, July 2, 2012

  AppleScript archive
          by "Charles Watts-Jones" <[email protected]>
  Re: AppleScript archive
          by "Don Zahniser" <[email protected]>
  Re: AppleScript archive
          by "Beatrix Willius" <[email protected]>
  Re: AppleScript archive
          by "Charles Watts-Jones" <[email protected]>


----------------------------------------------------------------------

Subject: AppleScript archive
From: "Charles Watts-Jones" <[email protected]>
Date: Mon, 2 Jul 2012 10:56:15 +0100

I'm trying to find the script archive. I think that it was here 
<http://homepage.mac.com/wayneb/powermail.html>. But that page is now closed. 
Does anyone know if the archive still exists and where I can find it? Right 
noew I'm looking for the delete aged messages script but it would be good to 
have the resource available to us POP fans.

-- Charles



----------------------------------------------------------------------

Subject: Re: AppleScript archive
From: "Don Zahniser" <[email protected]>
Date:Mon, 02 Jul 2012 10:30:43 -0400


> I'm trying to find the script archive. I think that it was here 
> <http://homepage.mac.com/wayneb/powermail.html>. But that page is now closed. 
> Does anyone know if the archive still exists and where I can find it? Right 
> noew I'm looking for the delete aged messages script but it would be good to 
> have the resource available to us POP fans.
>

Try this:

http://securessl.ctmdev.com/support/main.php?S=tools&PROD=powermail

--
Don Zahniser

----------------------------------------------------------------------

Subject: Re: AppleScript archive
From: "Beatrix Willius" <[email protected]>
Date: Mon, 2 Jul 2012 16:46:17 +0200

Hi Charles,

got some code to move messages to the trash, but it's half AppleScript and half 
Realbasic. As far as I remember I had some problems with the date parsing of 
the sent date. This is the reason why I'm doing this in 2 parts.

First I'm getting the number of mails in a mailbox

Then I loop over the messages in the mailbox and return the date sent in 3 
numbers

tell application "Powermail"
        set theDate to time sent of message currentMessage of  MailboxPath
        return {year of theDate, (month of theDate) as integer, day of theDate}
end tell

The result is parsed into a date and if the message should be moved the trash:

tell application "Powermail"
        move message currentMessage of MailboxPath to mail trash
end tell

MailboxPath is the path of a mailbox in the Powermail format "message container 
xxx of message container yyy".

Am 02.07.2012 um 11:56 schrieb Charles Watts-Jones:

> I'm trying to find the script archive. I think that it was here 
> <http://homepage.mac.com/wayneb/powermail.html>. But that page is now closed. 
> Does anyone know if the archive still exists and where I can find it? Right 
> noew I'm looking for the delete aged messages script but it would be good to 
> have the resource available to us POP fans.

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals


----------------------------------------------------------------------

Subject: Re: AppleScript archive
From: "Charles Watts-Jones" <[email protected]>
Date: Mon, 2 Jul 2012 17:36:44 +0100

>Try this:
>
>http://securessl.ctmdev.com/support/main.php?S=tools&PROD=powermail

Thanks. Couldn't find the link on the main CTMDEV site.

-- Charles



----------------------------------------------------------------------
End of powermail-discuss Digest

Reply via email to