• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mail, count of messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail, count of messages


  • Subject: Re: Mail, count of messages
  • From: Luther Fuller <email@hidden>
  • Date: Sun, 03 May 2015 10:23:45 -0500

On May 3, 2015, at 9:33 AM, Robert Poland wrote:

tell application "Mail"
(count of messages in the inbox) is less than 14
end tell

With 2 messages in inbox this yields False.

I tried this in 10.7.5 and found no problem.
You might want to try this variation ...

tell application "Mail"
(count messages of inbox) is less than 14 
end tell

This works too.


 _______________________________________________
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

  • Follow-Ups:
    • Re: Mail, count of messages
      • From: Robert Poland <email@hidden>
References: 
 >Mail, count of messages (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Mail, count of messages
  • Next by Date: Re: Mail, count of messages
  • Previous by thread: Re: Mail, count of messages
  • Next by thread: Re: Mail, count of messages
  • Index(es):
    • Date
    • Thread