Re: saving mails...
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