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

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Fri Mar 18 17:50:56 EDT 2022


I think those problems  are with newer macOS versions that come with those new privacy settings.


> Am 18.03.2022 um 22:30 schrieb Bob Sneidar via use-livecode <use-livecode at lists.runrev.com>:
> 
> Of course, I am running MacOS 10.7.2. YMMV
> 
> Bob S
> 
> 
>> On Mar 18, 2022, at 14:28 , Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> 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.
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list