• 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: saving mails...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: saving mails...


  • Subject: Re: saving mails...
  • From: Bob Stern via AppleScript-Users <email@hidden>
  • Date: Thu, 21 May 2020 00:39:45 -0700

> On May 18, 2020, at 11:03 PM, Yvan KOENIG wrote:
>
> set name1 to (mID as string) & ".emlx" -- when there is no attachment
> set name2 to (mID as string) & ".partial.emlx" -- when there is some
> attachment
>
> Alas I am unable to edit the mdfind command to treat both names.


Here’s the mdfind syntax for a Boolean search, assuming the mID is 759258:

Using AND:
mdfind '(kMDItemFSName==759258*)AND(kMDItemFSName==*.emlx)’

Using OR:
mdfind '(kMDItemFSName==759258.emlx)||(kMDItemFSName==759258.partial.emlx)’

But I can’t help with the Catalina permissions problem.  (I’m on Mojave.)

Bob Stern
 _______________________________________________
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

References: 
 >Re: saving mails... (From: Jean-Christophe Helary via AppleScript-Users <email@hidden>)
 >Re: saving mails... (From: Yvan KOENIG via AppleScript-Users <email@hidden>)
 >Re: saving mails... (From: Jean-Christophe Helary via AppleScript-Users <email@hidden>)
 >Re: saving mails... (From: Shane Stanley via AppleScript-Users <email@hidden>)
 >Re: saving mails... (From: Jean-Christophe Helary via AppleScript-Users <email@hidden>)
 >Re: saving mails... (From: Yvan KOENIG via AppleScript-Users <email@hidden>)

  • Prev by Date: Re: saving mails...
  • Next by Date: Re: saving mails...
  • Previous by thread: Re: saving mails...
  • Next by thread: Re: saving mails...
  • Index(es):
    • Date
    • Thread