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

Execute other commands after dragging #9

Closed
Vzz1c opened this issue Dec 1, 2023 · 2 comments
Closed

Execute other commands after dragging #9

Vzz1c opened this issue Dec 1, 2023 · 2 comments

Comments

@Vzz1c
Copy link

Vzz1c commented Dec 1, 2023

I hope to add a custom command to be executed after dragging. It can be any system command instead of just copying the file to the path. This will greatly improve the degree of freedom. For example, if I want to create a shortcut to the dragged file, I may need to first Create this shortcut method locally. After dragging, I still need to manually delete the temporarily created shortcut. The premise of these operations is that I need to obtain the target path first, but there seems to be no relevant API provided at present.
At some point, a file drag operation may require movement.

@denjell-crabnebula
Copy link
Contributor

Yes, callbacks are intended to be added in a next step. Thanks for your feedback!

@lucasfernog-crabnebula
Copy link
Member

I believe #16 provides the callback you need.

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

3 participants