<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 1 Jul 2018, at 2:56, Ronald Wampler wrote:</p>

</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">I’m not running Mojave yet, but have you tried adding the apps under “Application Data” too?</p>
</blockquote></div>
<div style="white-space:normal">

<p dir="auto">Also not on Mojave but I read this blog post: <a href="https://www.felix-schwarz.org/blog/2018/06/apple-event-sandboxing-in-macos-mojave" style="color:#3983C4">https://www.felix-schwarz.org/blog/2018/06/apple-event-sandboxing-in-macos-mojave</a></p>

<p dir="auto">It points to these shortcomings (direct quotes):</p>

<ol>
<li value="1"><p dir="auto">Even if trusting an app targeting a large (or even open-ended) list of other apps, users can't whitelist it to avoid constantly running into auth prompts.</p></li>
<li value="2"><p dir="auto">Authorization can't be re-requested. F.ex. in response to a click on an "Authorize" button in an alert stating that the app lacks a permission.</p></li>
</ol>

<p dir="auto">I take that to mean that there is (currently) no way for the user to say that TextMate is allowed to send AppleEvents to any app on the system, and if the user (accidentally) clicks something other than “Authorize” the first time that TextMate sends an AppleEvent to e.g. R.app, there is no way for TextMate to bring up this dialog again, and probably no way for the user to manually add R.app as one of the apps TextMate is allowed to send AppleEvents to.</p>

<p dir="auto">Maybe <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">tccutil</code> can be used to reset the list of “denied” applications. Try <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">man tccutil</code> in Mojave and see if anything is written about AppleEvents.</p>
</div>
</div>
</body>
</html>