Airdrop Folder

Hi all,

I’m trying to find a way to have my application launch Finder and automatically navigate to the Airdrop window. If there’s a way it can auto-enable discovery permissions for “Everyone,” even better. But I’ll settle for just the window at this point. Anyone know a way?

Thanks!

It seems that as a general security feature Apple has made it not a command for AppleScript.
However, you can get it to work on some systems by sending keyboard shortcuts.

tell application "Finder" to activate tell application "System Events" keystroke "n" using {command down} keystroke "r" using {command down, shift down} end tell
This requires that the keyboard shortcut for AirDrop in Finder is Cmd-Shift-R though.

I just think it’s better and safer like that…

As do I

Thanks for that. Is there any way to detect if AirDrop is even enabled or if the hardware even supports it?