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 applescripts to run on a schedule. This would make my previous
issue possible. I could configure applescript to set all messages in
specified folders to "marked for deletion" and then run it on the
schedule. I was doing the same thing in Entourage since it too could not
change online status while connection is in.

Anyone?

-- 
Alexander Balakersky
[EMAIL PROTECTED]
==========================================================
PGP Public Key ID: 0xB9C0FC17  Key Server: keyserver.pgp.com
Fingerprint: 401A 3856 3820 AF50 D2BF  2D0B 9ADC 431A B9C0 FC17
==========================================================

On the day of Tuesday, April 19, 2005
Andy Fragen from [EMAIL PROTECTED] wrote:

>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 or set it up as a cron job.
>
>BTW, this is my relevant part of similar code.
>
>               if online status of msg is on server then
>                       set online status of msg to marked for deletion
>               end if
>
>
>-- 
>Andy Fragen
>
>On Tue, Apr 19, 2005, Alexander Balakersky said:
>
>>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 how could help me reconfigure this script so it would work in
>>both instances, when used manually and when used in a filter action?
>>
>>Here is the copy of the script:
>>
>>tell application "PowerMail"
>>      set theMessages to current messages
>>      repeat with msg in theMessages
>>              set oldStatus to online status of msg
>>              if oldStatus is not marked for deletion then set online status 
>> of msg
>>to marked for deletion
>>      end repeat
>>end tell
>>
>>
>>Thanks
>>
>>-- 
>>Alexander Balakersky
>>[EMAIL PROTECTED]
>>==========================================================
>>PGP Public Key ID: 0xB9C0FC17  Key Server: keyserver.pgp.com
>>Fingerprint: 401A 3856 3820 AF50 D2BF  2D0B 9ADC 431A B9C0 FC17
>>==========================================================
>>
>>
>>
>>
>
>
>





Reply via email to