Applescript question

2006-12-25 Thread Bill Lane
Can someone suggest an AppleScript to copy mail items from the Inbox on an IMAP server to a specific local folder? BILL.

Re: AppleScript Question

2006-07-31 Thread Andy Fragen
Matthias, I wrote a script to do something almost exactly like this. You'll need the free Satimage OSAX. --Delete From Content by Andy Fragen <[EMAIL PROTECTED]> --Modified to use regex from Satimage.osax -- --Version 1.4 property added

Re: AppleScript Question

2006-07-31 Thread Matthias Schmidt
Hi, thanks I want to batch process a couple of hundreds of mails. I was thinking on something like set this.item to editable. So this means, if the messages contains the search text, I need to open it in a seperate window, bring that window to front and continue replacing the unwanted text with s

AppleScript Question

2006-07-30 Thread Matthias Schmidt
Hello, a question for the AppleScript Gurus: how can I set a received message to "write". I want to change some predefined text in a couple of received mails. Is that possible? All the best Matthias --- Admilon Consulting GmbH http://www.admilon.com

Re: Applescript question

2005-04-20 Thread cheshirekat
On Tue, Apr 19, 200512:27 PM, the following words from Alexander Balakersky [EMAIL PROTECTED], emerged from a plethora of SPAM ... >This brings up another question in "Feature Request" category. >Is it just me or are there others that would like to be able to run >applescripts inside PowerMail on

Re(4): Applescript question

2005-04-20 Thread Alexander Balakersky
True, and I've been using cron for ages for different things. But I much rather using built in schedules for things like that. We already have schedules built in the app to do some things. I think it is better to extend that to be able to schedule additional things then to use a completely separat

Re: Re(2): Applescript question

2005-04-20 Thread waynefb
For scheduling, you can't beat cron. I highly recommend it. That's how I do things which are similar to what it is you want to do. Wayne -

Re(2): Applescript question

2005-04-20 Thread Alexander Balakersky
Thanks Andy, This brings up another question in "Feature Request" category. Is it just me or are there others that would like to be able to run applescripts inside PowerMail on a configurable schedule? Sort of like Entourage has schedules where you can configure a lot of things, including apples

Re: Applescript question

2005-04-20 Thread Andy Fragen
Alexander, Here's the problem as I remember being told from Jerome some time ago. The online status of a message cannot be set while a connection is in progress. Since there's no way to call a filter other than during a connection this will never work. You either have to call this script manually

Applescript question

2005-04-19 Thread Alexander Balakersky
Hello, I am trying to setup a script that will automatically change message's online status to "marked for deletion". I have succeeded in creating a script that works if I manually select a message and run the script. However, when I add it as a filter action it does nothing. Is there someone ho

Re: Attachment applescript question

2003-12-10 Thread Zach Selland
On Fri, Dec 5, 2003, Mikael Byström <[EMAIL PROTECTED]> wrote: >I thought about this. Would it be possible to make the alias invisible >and still have it working you think? Worth a try I suppose... Mikael, To follow up on your question... I don't know. However, it would seem that you could defin

Re: Attachment applescript question

2003-12-10 Thread Mikael Bystr
Thanks Cheshire and Andy for your input on the moving attachment problems. I'll see if I can integrate your ideas in my existing moveAttachment script.

Re: Attachment applescript question

2003-12-05 Thread Mikael Bystr
Zach, [EMAIL PROTECTED] said: >I just tested this sort of behavior with PM. I noticed that if you move >an attachment out of your attachment folder, but then move an alias of >that attachment back to the attachment folder (making sure that the name >stays the same), PM will think that the alias i

Re: Attachment applescript question

2003-12-05 Thread Mikael Bystr
PowerMail, [EMAIL PROTECTED] said: >If you move an attachment to a different location by any mean, PowerMail >will loose it's path. And you can't currently change the attachment path >of an existing message by AppleScript. This may change in a future >version, thought. Thank you Jerome, that wou

Re: Attachment applescript question

2003-12-04 Thread Zach Selland
On Thu, Dec 4, 2003, Marco Piovanelli <[EMAIL PROTECTED]> wrote: >It kept track of attachments using aliases, so I could rename >attachments and organize them into several different folders to suit >me, and Emailer was still able to match the original messages to >their attachments. That was a f

Re: Attachment applescript question

2003-12-04 Thread Marco Piovanelli
On Thu, 4 Dec 2003 03:33:29 -0700, cheshirekat ([EMAIL PROTECTED]) wrote: >Would be nice if PM made it easy to follow a file when moved. It sure would. >Are there other email applications that keep track of an attachment >that has been moved or renamed? Claris Emailer 2.0 was one of them. It

Re: Attachment applescript question

2003-12-04 Thread cheshirekat
On Wed, Dec 03, 2003, the following words from Mikael Byström pmdisc- [EMAIL PROTECTED], emerged from a plethora of SPAM ... >If the answer to the above is it's not possible, may I suggest to CTM Dev >that they make it possible to reset a new path for an attachment? This >could make possible usef

Re: Attachment applescript question

2003-12-04 Thread cheshirekat
On Thu, Dec 04, 2003, the following words from PowerMail Engineering [EMAIL PROTECTED], emerged from a plethora of SPAM ... >Mikael Byström wrote: > >>As the "file" property of "attachments" is read only, does this mean it's >>impossible under OS X to update the path for the attachment if I have

Re: Attachment applescript question

2003-12-04 Thread PowerMail Engineering
Mikael Byström wrote: >As the "file" property of "attachments" is read only, does this mean it's >impossible under OS X to update the path for the attachment if I have it >moved by scripting the finder executed by a filter? If you move an attachment to a different location by any mean, PowerMail

Attachment applescript question

2003-12-04 Thread Mikael Bystr
As the "file" property of "attachments" is read only, does this mean it's impossible under OS X to update the path for the attachment if I have it moved by scripting the finder executed by a filter? Or is there some backdoor? Can I perhaps make PowerMail to move the file instead? If so, how? How i

Re: AppleScript Question

2003-11-24 Thread PowerMail Engineering
Carl Ketterling wrote: >That begs the question: Is there a way to get the actual source as it >was received? No >Another way to answer the above question: What does PowerMail do when I >'redirect' an email that I've received? Does it recreate the email and >reencode the attachment? Or does i

Re: AppleScript Question

2003-11-24 Thread Carl Ketterling
>Carl Ketterling wrote: > >>Using AppleScript, I have "source of message" which the dictionary >>describes as >> >>source string [r/o] -- the RFC822 message source >> >>Should that include the attachments as well? I have found that (at least >>in some cases) it doesn't. > >It does not incl

Re: AppleScript Question

2003-11-24 Thread PowerMail Engineering
Carl Ketterling wrote: >Using AppleScript, I have "source of message" which the dictionary >describes as > >source string [r/o] -- the RFC822 message source > >Should that include the attachments as well? I have found that (at least >in some cases) it doesn't. It does not include the att

Re: AppleScript Question

2003-11-24 Thread Andy Fragen
Carl, PM strips out the attachment and saves it to a separate file. Therefore the source of the message is only the source as it resides in the PM database. -- Andy Fragen On Mon, Nov 24, 2003, Carl Ketterling said: >Using AppleScript, I have "source of message" which the dictionary >describe

AppleScript Question

2003-11-24 Thread Carl Ketterling
Using AppleScript, I have "source of message" which the dictionary describes as source string [r/o] -- the RFC822 message source Should that include the attachments as well? I have found that (at least in some cases) it doesn't. Carl ... Here's the complete AppleScript (used for repor

Re(2): PowerMail AppleScript Question

2003-10-06 Thread Marlyse Comte
>> How could I write an AppleScript to set the signature of the current >> message to a specific sig (for a filter on outgoing mail)? I've tried >> "tell application "PowerMail" to set text signature of message to >> name pm" but that won't compile. >> >> Thanks very much, >> Emily > > You reall

Re: PowerMail AppleScript Question

2003-10-06 Thread Wayne Brissette
Emily Jackson [EMAIL PROTECTED] on Monday, October 06, 2003 stated: >How could I write an AppleScript to set the signature of the current >message to a specific sig (for a filter on outgoing mail)? I've tried >"tell application "PowerMail" to set text signature of message to name >pm" but that wo

PowerMail AppleScript Question

2003-10-06 Thread Emily Jackson
How could I write an AppleScript to set the signature of the current message to a specific sig (for a filter on outgoing mail)? I've tried "tell application "PowerMail" to set text signature of message to name pm" but that won't compile. Thanks very much, Emily -- iMac G3 600 MHz (Summer 2001)

Naive Applescript question

2003-09-12 Thread Tim Hodgson
Forgive my ignorance here: I know next to nothing about Applescript! I've got a simple script to run Mailfilter, then check mail in PowerMail. It's simply: --- do shell script "/usr/local/bin/mailfilter" delay 10 tell application "PowerMail"