Skip to content
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 it possible to get the dropped file's path? #29

Open
owohai opened this issue Mar 16, 2024 · 1 comment
Open

Is it possible to get the dropped file's path? #29

owohai opened this issue Mar 16, 2024 · 1 comment

Comments

@owohai
Copy link

owohai commented Mar 16, 2024

Hi all! As mentioned in the title, is there a callback that provides me with the dropped file path? Using the example located over at examples/tauri-dragout provides me with the x and y position of the mouse and the status of aforementioned dropped file.

I did notice there was an issue closed a while back that mentioned requiring a callback or some sort of function that provides them with the dropped path. From what I see, I'm not too sure how to implement it and it's not really documented.

Thanks!

@creeper12356
Copy link

It seems that the plugin can only get the drop position, the tauri app may not be able to access a current file path of file manager window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants