How to implement like `Open containing folder`
j5shi opened this issue · comments
as we know when you type a query in launchy it will popup a list which match the query the best, and when you select an catItem, you enter tab
, there will be another dropdown list which containing some operations like run
, Open containing folder
...
my question is that how can I implement these operation using pylaunchy? thanks :)
Take a look at the Verby plugin source code, in particular the getLabels, getResults and launchItem methods:
https://github.com/leonid-shevtsov/launchy/blob/master/plugins/verby/Verby.cpp
https://github.com/leonid-shevtsov/launchy/blob/master/plugins/verby/Verby.h
The code is written in C++ but can be easily translated to Python, using the launchy module documentation:
http://pylaunchy.sourceforge.net/docs/launchy.html
Good luck!