• 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
Mail's Smart Mailbox Parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail's Smart Mailbox Parameters


  • Subject: Mail's Smart Mailbox Parameters
  • From: Gil Dawson via AppleScript-Users <email@hidden>
  • Date: Tue, 20 Jun 2023 15:08:07 -0700

Hi--

How can I access via AppleScript the Smart Mailbox parameters on menus that
drop down when you click on the name of a Smart Mailbox in Mail.app?

I've looked in Mail.app's Scripting Dictionary, but found nothing relating to
Smart Mailboxes.

Via such access my script could learn...

The Smart Mailbox name
Any/All checkbox
Include Trash checkbox
Include Sent checkbox
An unordered list of rules.  Each rule contains...

Comparator (Entire message, From, Any Recipient,...)
Comparison (contains, begins with, is equal to...)
Comparand (an email address, ...)

I'm working with Mail.app in macOS Mojave, Version 10.4.6, but I have access to
other versions.

My planned project needs only read-only access.

--Gil
 _______________________________________________
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's Smart Mailbox Parameters
      • From: Bob Stern via AppleScript-Users <email@hidden>
  • Prev by Date: Re: Changing color of individual lines in a Numbers cell
  • Next by Date: Re: Mail's Smart Mailbox Parameters
  • Previous by thread: Re: Changing color of individual lines in a Numbers cell
  • Next by thread: Re: Mail's Smart Mailbox Parameters
  • Index(es):
    • Date
    • Thread