tabby icon indicating copy to clipboard operation
tabby copied to clipboard

[macOS] unable to run AppleScript-based command line integrations

Open andylaw opened this issue 1 year ago • 0 comments

Describe the problem: Some third-party macOS applications have command-line integrations that rely on AppleScript Events to drive their functionality. For example, the BBEdit text editor (https://barebones.com) has a command-line tool bbedit which uses that method to trigger the app to edit text files from within a shell program. Tabby does not register a request to be allowed to use AppleEvents, so attempts to use bbedit from within Tabby fail.

To Reproduce:

  1. On a macOS system, install BBEdit, run it and choose to install its command line tools
  2. Run Tabby and open a local terminal
  3. On the command line, type the command bbedit testfile.txt
  4. The command will fail with an error message:
You must allow the application which is running `bbedit` to send events to the BBEdit application.
Please make appropriate changes in your Security & Privacy system preferences,
or contact your terminal/IDE application's developer for assistance.
bbedit: error: -1743

andylaw avatar Aug 09 '24 22:08 andylaw