Solution for how to allow LC 9.6.6 and up standalones to control other apps in macOS - was:Excel_Lib on Mac

Bob Sneidar bobsneidar at iotecdigital.com
Fri Mar 18 17:28:00 EDT 2022


I might beg to differ. I created an app with 9.6.7 rc2 after giving it permissions to control Excel for Mac. After building the standalone, it has no problems sending Apple Events to Excel for Mac. 

I will double check later. 

Bob S


> On Mar 18, 2022, at 12:17 , matthias rebbe via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> First of all there is a bug report already. Unfortunately LC stuff is not able to reproduce the problem. 
> But there a some users who reported that it is not possible in LC 9.6.6 and up to control an other app from within a LC script using Apple script if the app was not already listed under Livecode  in System preferences/Security&Privacy/Automation. For whatever reason there was not the typical security pop up asking for confirmation. 
> 
> As a workaround it is possible to run the stack first with LC 9.6.3. With that version the dialog pops up and the user can confirm. After that the stack works also with 9.6.6 and up and is able to control that other app.
> 
> But what about standalones created with LC 9.6.6 and up? They will not show up the dialog.




More information about the use-livecode mailing list