Jump to content

Toggling AirDrop discoverability


retif

Recommended Posts

A workflow to toggle AirDrop discoverability:

 

airdrop-discoverability.png

To clarify, just in case, this is about controlling your Mac discoverability so other devices could send files to it, so this is not about sharing files from it.

Optionally it also toggles off Bluetooth when "No One" level of discoverability is chosen.

 

Naturally, since there is no proper API for this, everything is done in AppleScript by clicking on UI controls via Accessibility. So you can expect seeing windows (Finder, Control Centre, etc) opening and closing, buttons/toggles being clicked/toggled. You can get rid of Finder window showing up by adding AirDrop icon to Menu Bar via Control Centre Modules in System Settings.

 

And of course, it will likely break next time Apple decides to move things around again.

Currently tested Mac OS version is 13.5.2.

 

Links:

 

- latest release page: https://github.com/retifrav/alfred-airdrop-discoverability/releases/latest

- latest release direct download: https://github.com/retifrav/alfred-airdrop-discoverability/releases/latest/download/airdrop-discoverability.alfredworkflow

Edited by retif
Link to comment
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...