Re: saving mails...
Re: saving mails...
- Subject: Re: saving mails...
- From: Jean-Christophe Helary via AppleScript-Users <email@hidden>
- Date: Wed, 20 May 2020 00:25:27 +0900
> On May 20, 2020, at 0:19, Axel Lüttgens via AppleScript-Users
> <email@hidden> wrote:
>
>
>> Le 19 mai 2020 à 05:16, Jean-Christophe Helary a écrit :
>>
>> […]
>>
>> # Find email
>> set shCMD to "mdfind -onlyin " & mailFolderPath & " 'kMDItemFSName == \"" &
>> mID & ".emlx\"cd'"
>> set emlFile to do shell script shCMD with administrator privileges
>>
>>
>> Right now, the shCMD that the script gives me doesn't even work directly
>> from Terminal, even with a sudo.
>>
>> If that's a sandboxing/security feature, I'm fine with that, I'll just use a
>> different solution (also by Chris Stone), but I'd like to know that it's not
>> my system that's not working…
>
> Hello Jean-Christophe,
>
> Here, under Mojave, Script Editor (or Terminal) needs to be given full disk
> access for being able to return the file’s path. No need for "with
> administrator privileges" (or sudo) then.
Even with full disk access for Terminal Script Editor or Script Debugger I
don't get anything on Catalina.
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
_______________________________________________
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