Re: Mail, count of visible messages
Re: Mail, count of visible messages
- Subject: Re: Mail, count of visible messages
- From: Robert Poland <email@hidden>
- Date: Wed, 08 Jul 2015 09:52:06 -0600
- Z-usanet-msgid: XID254TgHP1H3664X33
> On Jul 8, 2015, at 8:10:AM, Christopher Stone <email@hidden> wrote:
>
> On Jul 07, 2015, at 16:19, Robert Poland <email@hidden> wrote:
>>
>> Guess no one else has any ideas either…
> ______________________________________________________________________
>
> Hey Bob,
>
> Why don't you explain what you're actually trying to do.
>
> --
> Best Regards,
> Chris
I think the script sould be enough of an explanation. 😀
Here is my attempt which errors, "access not allowed”;
tell application "Mail"
delay 0.2
set x to (count of visible messages in “Inbox" of account 1)
say x
delay 0.2
set y to x is less than 18
delay 0.2
end tell
return y
Robert Poland
Fort Collins, CO
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden