JustinFincher / WebDrop

💻 Share your Mac's current chrome tab via airdrop
https://itunes.apple.com/cn/app/webdrop-%E5%88%86%E4%BA%AB%E6%82%A8%E7%9A%84%E4%BB%BB%E6%84%8F%E7%BD%91%E9%A1%B5/id1125673012?mt=12
115 stars 13 forks source link

Thanks! #2

Open harryfear opened 7 years ago

harryfear commented 7 years ago

This app is amazing! Thanks so much!

JustinFincher commented 7 years ago

Hi harryfear, Thank you for your kind words! Please let me know if you have any problem or new function request when using this tiny app

harryfear commented 7 years ago

My only recommendation would be if there can be another function to "Share Current Clipboard URL".

i.e./e.g. I have an HTTP URL on my clipboard on MacOS (that I've copied there from a third party application) and it would be great to send it to iOS.

By the way, I'd have paid up to $5 for this app, so I suggest monetising 😉

JustinFincher commented 7 years ago

Hi @harryfear , you can test new version here, which added pasteboard support but I can't test it now because my Airdrop won't work since upgraded to 10.12.
https://github.com/JustinFincher/WebDrop/releases/tag/1.0.1

Related commit : https://github.com/JustinFincher/WebDrop/commit/652c809a90178afe2b0d0ee44f2da706d73ce7a3

JustinFincher commented 7 years ago

image

The option to share pasteboard URL is right on the top of the settings menu item. :-)

harryfear commented 7 years ago

It works amazingly! Thanks so much!

Tested on 10.12.2!

JustinFincher commented 7 years ago

Thanks for helping me to test this!
I will add some error handle code to the current branch (like if the text in clipboard is not a valid URL then show an alert) and publish this version to the Mac App Store as soon as possible.

harryfear commented 7 years ago

Great idea! Good luck! 👏🏼

tzungtzu commented 7 years ago

Is it possible to share the url/tab with share sheets in macOS?

JustinFincher commented 7 years ago

@tzungtzu Sure, but that needs some modifications to codes and the behavior of the app. In JZShareManager.m#L185, you can see

NSSharingService * service = [NSSharingService sharingServiceNamed:NSSharingServiceNameSendViaAirDrop];
NSArray * shareItems = [NSArray arrayWithObjects:url, nil];
service.delegate = self;
[service performWithItems:shareItems];

If you you need share sheets, I think this should be changed to a NSSharingServicePicker based solution. If you need such feature, I can open a new branch and do so, but the application is still designed for AirDrop mainly.

harryfear commented 6 years ago

Hi! The service no longer works?

Harry Fear mail@harryfear.co.uk [mail@harryfear.co.uk] +44 (0) 7500-114-294 https://m.me/harryfear [https://m.me/harryfear] On Tue, May 16, 2017 at 4:15, JustZht notifications@github.com wrote: @tzungtzu [https://github.com/tzungtzu] Sure, but that needs some modifications on codes and the behavior of the app. In JZShareManager.m#L185 [https://github.com/JustinFincher/WebDrop/blob/master/ChromeShare/ChromeShare/JZShareManager.m#L185] , you can see

NSSharingService service = [NSSharingServicesharingServiceNamed:NSSharingServiceNameSendViaAirDrop]; NSArray shareItems = [NSArrayarrayWithObjects:url, nil]; service.delegate = self; [service performWithItems:shareItems];

If you you need a share sheets, I think this should be changed to a NSSharingServicePicker [https://developer.apple.com/reference/appkit/nssharingservicepicker] based solution. If you need such feature, I can open a new branch and do so, but the application is still designed for AirDrop mainly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [https://github.com/JustinFincher/WebDrop/issues/2#issuecomment-301663964] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AA3ZVCuYCVsn5MDPH7EP1bzkkc3ofxhIks5r6RTvgaJpZM4MkQwB] .