Hi,
I would like to check whether a certain key is pressed when the user selects an item from the quick panel so that I can change what happens with the selection. Imagine a quick panel that shows a list of files. Selecting one usually inserts the path at the current curser location. However, if the user is pressing cmd (or any other key) while selecting an item in the quick panel, the relative path is inserted at the current curser location. The example is arbitrary but you get the idea. Alfred does something like this and I think it would be a very nice feature to make the quick panel better! Any ideas how to implement this in python? I googled for ‘python key pressed’ and some suggestions came up but they all seem to be rather complex involving a GUI library.
Thanks!