Skip to content
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

add hotkeys for filing into specific folder per account (for archiving messages) #28

Open
ctr opened this issue Apr 2, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@ctr
Copy link

ctr commented Apr 2, 2020

Would it be possible to add a hotkey that instantly moves a message to a specified folder per account (and ideally also marks the message read). This would be great for archiving emails.

@helmo
Copy link

helmo commented Apr 2, 2020

That would be a nice and powerfull option.

A workaround that might help you today is using the 'a' key that Thunderbird has by default for archiving. When you combine that with a filter rule with 'Apply filter when: Archiving' then you can let the 'a' key archive messages from/to a spocific address to a specific folder, and do more actions.

@kewisch
Copy link
Owner

kewisch commented Aug 24, 2020

That would certainly be very interesting. If you'd like to test another add-on in the meanwhile that may provide this kind of functionality, check out http://quickfolders.org/

@kewisch kewisch added the enhancement New feature or request label Aug 24, 2020
@hi5
Copy link

hi5 commented Oct 4, 2020

I wouldn't mind preparing a side loading version of QMF by adding hardcoded paths to move messages to certain folders using shortcuts

I know I can add new shortcuts here https://github.com/kewisch/quickmove-extension/blob/master/src/api/quickmove.js#L76

and call a new functions in https://github.com/kewisch/quickmove-extension/blob/master/src/content/quickmove.js

So all I would need to know is the code to move a message

openFile2: function() { // example function
	// how to define "folder" object 
	// Account/Inbox/Project1
	// Account/Inbox/Project2
	// etc
	MsgMoveMessage(folder);
	},

Questions:

  1. I find it hard to find examples of how to do this, could you provide an example code of how to define a folder?
  2. Is MsgMoveMessage(folder); all you need to call to move the currently active email message(s)?

@kewisch
Copy link
Owner

kewisch commented Aug 21, 2023

fwiw I think the best way to implement this with the current add-on is to provide (default-off) functionality that would automatically move messages into a folder if certain tags are applied. With #44 now fixed, you'd either use the popup to apply a tag, or use the 1–9 keys to apply one directly. This way you can move them fairly quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants