-
Notifications
You must be signed in to change notification settings - Fork 80
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
Files & directories support by path #51
Comments
There's a partial implementation for this on the |
These are my higher-level findings so far: Windows: |
Apologies for late reply. This is great.
Just checked it out. You got really far, but I also understand it's hard to keep working on it - it's a lot of formats! Would you be willing to accept a smaller, incremental step in this direction by having file URLs supported with a similar API to today? For instance, simply by adding a
Looks very promising. Thanks!
Tried to research the X11 APIs - it looks a bit tricky but I can take another look when I'm less tired. I happened to see that GTK seems to support this directly. Could that be appropriate for this crate? |
Took a look at the X11 bindings, but it appears to be quite an undertaking. I couldn't justify investing that level of effort at the moment. I made my own single-purpose crate for this to get something that works for my use case today: https://github.com/betamos/clipboard-files. It uses gtk for the linux implementation instead. I'd still love to see file path support in this crate, and happy to help out if I can. Thanks. |
Please just expose this updates(DoumanAsh/clipboard-win#24) for windows |
I'm interested in getting the paths of files & directories copied from explorer/finder/etc. Is this a use case that will be supported?
I just tried on MacOS, and through the
get_text()
API I got the names of the files/dirs separated by\r
, but not the full paths, nor a way to distinguish between regular text and file paths.Thanks for creating and maintaining this library!
The text was updated successfully, but these errors were encountered: