On 1/23/01 9:38 AM, "john terranova" <[EMAIL PROTECTED]> wrote:
> on 1/23/2001 9:22 AM, Paul Berkowitz at [EMAIL PROTECTED] wrote:
>
>>> set msg to message 1 of folder 1
>>> -- incoming message id 1
>>> get connection action of msg
>>> -- leave on server
>>> connection action of msg = leave on server -- this line generates an error
>>
>> I don't know for sure what you mean by "generates an error". In AppleScript.
>> that line is a statement that is either true or false. You should not be
>> getting an error message - you should be getting "false" if the connection
>> action does not currently happen to be "leave on server".
>
> This is exactly the problem. I get neither true, nor false. When I run this
> from Smile I get an alert which says 'Can't get leave on server.'
>
> If I use either
> connection action of msg = download at next connection
> or
> connection action of msg = remove at next connection
> then I correctly get either true or false.
>
> Only
> connection action of msg = leave on server
> causes an error.
Confirmed. You've found a "new" bug. It means you can't test for this
condition:
if connection action of theMsg = leave on server then "Yes"
--ERROR': "Can't get leave on server."
Bad. Thanks for reporting it, John.
--
Paul Berkowitz
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>