The permissions thing regarding Accessibility or Network Access is the worst. Half the popups make no sense (even to a programmer) and it just feels clunky.
(Bonus point: why is a tiling window manager or anything controlling windows or controls even sorted under Accessibility?)
I recently wanted to control some things with a MIDI device (mostly hardware mute for Slack/Teams etc) and need AppleScript for that.
But of course `osascript` is a different thing than the `Script Editor` and if you want to add a binary in the dialog you click the + button as described in the manual but of course it does not give you a way to select /usr/bin or /bin - just the view with Applications etc. Showing "hidden" files or dirs is easier on Windows and that says a lot.
(I suppose there must be a way, but I gave up finding it and just exported my stuff as an App in ~/Applications, I can add those.)