This error is thrown by Dialog Toolkit's code when an error is returned by 
a call to AppleScript-Objc AEInteractWithUser():
"Error -1713 in '/Applications/BBEdit.app/': User interaction disallowed".

This error (errAENoUserInteraction = -1713, /* no user interaction is 
allowed */)
is probably due to some sandbox permission restriction.

In conclusion Dialog Toolkit might not be compatible with BBEdit.

For an alternative solution you could check SwiftDialog: 
https://github.com/swiftDialog/swiftDialog

HTH,

Jean Jourdain

On Tuesday, December 10, 2024 at 2:15:28 PM UTC+1 Zax wrote:

> Thank you for your reply.
> BBEdit has acces to Automation in Finder and System Events
> I just added BBEdit to Privacy & Security > Full Disk Access but I still 
> have the same error. It's a very basic error dialog with a single "OK" 
> button (not the well known MacOS security alert). In fact, I don't know 
> what is raising this alert, MacOS or BBEdit.
>
> Le mardi 10 décembre 2024 à 11:27:09 UTC+1, Rick Gordon a écrit :
>
>> In System Settings, try adding BBEdit to Privacy & Security > Automation.
>>
>> Rick Gordon
>> ------------------------------
>> From: Zax <[email protected]> 
>> To: BBEdit Talk <[email protected]> 
>> Date: Tue, Dec 10, 2024 1:35:44AM -0700 
>> Subject: Applescript Dialog Toolkit "disallowed" 
>>
>> Hello,
>>
>> When trying to display an Applescript alert built with *Dialog Toolkit 
>> Plus 1.1.3* (or 1.1.2), I have an alert telling me "*A scripting error 
>> has occured. User interaction disallowed.*"
>>
>> My script works fine when launched from the script editor but I have this 
>> error when I launch it from BBedit 15.1.2.
>>
>> I'm using Sequoia 15.1.1. Is it a security problem?
>>
>> -- 
>> This is the BBEdit Talk public discussion group. If you have a feature 
>> request or believe that the application isn't working correctly, please 
>> email "[email protected]" rather than posting here. Follow @bbedit on 
>> Mastodon: <https://mastodon.social/@bbedit>
>> -
>>
>> _______________________________________
>> RICK GORDON
>> _______________________________________ 
>> EMAIL: [email protected]
>> WWW: www.shelterpub.com 
>> ------------------------------
>>
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bbedit/0180c228-4720-4467-8852-229d9a604093n%40googlegroups.com.

Reply via email to