Summary: | "QuickSearch Button Bar" plugin | ||
---|---|---|---|
Product: | Claws Mail (GTK 2) | Reporter: | Abhay S. Kushwaha <clawsmail> |
Component: | Other | Assignee: | users |
Status: | NEW --- | ||
Severity: | enhancement | CC: | removed-gdpr |
Priority: | P3 | ||
Version: | 3.9.1 | ||
Hardware: | PC | ||
OS: | All |
Description
Abhay S. Kushwaha
2012-11-20 15:09:20 UTC
You can use the python plugin to script some shortcuts. Creating a global quicksearch rule is quite easy: 1. Load the Python plugin 2. Choose Tools -> Python scripts -> Browse (or navigate your file browser to ~/.claws-mail/python-scripts manually) 3. Go into the "main" subdirectory 4. Create a file called "qs-from-me" with the following line as content: clawsmail.quicksearch_search("clawsmail@kushwaha.com", clawsmail.QUICK_SEARCH_FROM) 5. Back in Claws Mail, choose Tools -> Python scripts -> Refresh (or restart Claws Mail) Now, you have a menu item under Tools -> Python scripts that triggers a specific quicksearch. You can assign a shortcut to it, or put it into the main toolbar at your liking. If required, the script could be extended to e.g. pop up a list of quicksearch rules specific to the currently selected folder, or whatever. But that would require some scripting knowledge. Thanks Holger. That's definitely a possible workaround, but it would still be nice to have this in the app that is easier for users to configure without requiring python or learning scripting. I'm sure this enhancement, once implemented, will prove to be a very user-friendly way of achieving faster switching between quicksearch filters. |