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
FR: Plugin could catch "user selection" + let Keypirinha stay open after execution #362
Comments
By the way, since I did not mention it already: I already came up with some kind of "start". I already have some kind of plugin, which can find presets and play them on execution. The problem of this issue still exists: Keypirinha closes after that, making it hard to keep track of which preset I listened to. So still: an option to let Keypirinha stay open OR giving plugins an "on_select()" method would be really great (and I think not hard to implement, right?). Thanks for your help! (= |
Maybe you can try something like this:
Implementation pointers:
|
Hey Steffen. Thanks for your reply. I will try to dig into it and come back to this topic later! Thank you for your idea. (= |
Ok, I managed to do a playback after hitting Edit: Now I will see if I can get anything useful out of this. |
Closing this due to no activity |
Hey there,
while I was looking for a good way to search my database of presets for synths and effects for my music software I found Keypirinha and its capability to search with the FileCatalog plugin certain filetypes and folders only AND start a drag and drop event, when the user drags a found item from the Keypirinha list.
Now I wanted to start to write an own plugin, which could also maybe search for an audio file with the same name before the file-extension and play it. Example: a preset is called bass_deep.fst and then the Python script could look for bass_deep.mp3 and play it or so on. The point is: I could not find a good point where a Keypirinha plugin could call such a method. 1. Either it would be cool, if it could be called when the user just selects an item (without executing it!) - maybe a new method for a plugin called on_select() or so, 2. or maybe it would be an option to put this into on_execute() of a Keypirinha plugin. In the later case I would love, if there would be an option to let Keypirinha stay open with the actual search and found items and the actual selection - that way I could just execute the found items and listen through them, till I find seomthing useful and start a drag an drop (to use the item and close Keypirinha).
In summary:
Would it be possible to somehow embed an option for plugin writers to let a method call, when the user only selects an item?
Would it be possible to somehow embed an option for plugin writers to let Keypirinha stay open after executing an item?
Thanks for all your help! :)
The text was updated successfully, but these errors were encountered: