Bug 3292

Summary: Access to selected message for python
Product: Claws Mail (GTK 2) Reporter: Raphael Michel <mail>
Component: Plugins/PythonAssignee: users
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: P3    
Version: 3.10.1   
Hardware: PC   
OS: Linux   

Description Raphael Michel 2014-09-26 17:57:58 UTC
Hi,

I'd like to implement a few handy hotkeys for my workflow using the Python API. Simple tasks like "move the currently selected message to folder XYZ". The Python API provides all neccessary capabilities for this -- except accessing the currently selected message(s).

As there already is a method to access the currently selected folder and account, this would only be a logical follow-up.

Thanks,
Raphael
Comment 1 Ricardo Mones 2014-09-26 20:29:18 UTC
The clawsmail object already provides get_summaryview_selected_message_list() method to access the selected messages.