-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is there a way to share a file directly to a person with AirDrop? #2025
Comments
Does |
I tried , but I don't know how to set the recipient, for email sharing, it's the email address. But not found any doc or source code to find this for AirDrop sharing, i tried the mac host(ex: Mike's MBP) in the AirDrop dialog, not working |
Ok, noticed some mistakes in the documentation for
|
@asmagill so you mean no way to to set the recipient correctly to send file with airdrop? |
Without an example, I'm not sure what to try if you've already tried email addresses and names as they appear in your Contacts application. If you (or anyone else who cares to chime in) know of sample code, either from Apple's examples, or from other open source projects that we can examine the source for, I'm not sure what else to try. It's definitely expecting an array of one or more strings, we just have no way to determine what strings it's trying to match against without more information. |
I suppose it may be that setting a recipient to the sharing object does nothing for AirDrop and is ignored... IIRC, AirDrop shows you everyone around you -- or just in your contact list that's currently around you if you toggled that in Settings (iOS) or in the Finder's AirDrop window (OSX) -- that can currently accept items (i.e. their device is on and unlocked); I don't recall off the top of my head ever not having to select someone from the AirDrop panel once I'd selected an item to share (which isn't to say whether or not it might be possible to predetermine them, it's just not the way I've ever used it) Again, sample code or better documentation specifically about AirDrop would help if anyone has any suggestions. |
I’d be surprised if this is possible, the airdrop recipient can’t just be an iCloud username because airdrop goes to a specific device. |
I know hammerspoon can open airdrop dialog with share items , is possible to define recipients for AirDrop sharing ?
The text was updated successfully, but these errors were encountered: