robert7k / movemailshortcuts Goto Github PK
View Code? Open in Web Editor NEWExtension for Mozilla Thunderbird, which allows assigning keyboard shortcuts for moving mails to folders.
License: GNU General Public License v3.0
Extension for Mozilla Thunderbird, which allows assigning keyboard shortcuts for moving mails to folders.
License: GNU General Public License v3.0
Version 2
Now the folder selection and move one message works fine.
Would it possible to add/enable Undo / Redo (in Edit) - these are working in case of moving with the menu / dragging messages.
When multiple messages are selected, all should be moved when the corresponding keyboard shortcut is pressed.
Handling multiple messages will only be available from Thunderbird 81 on (see https://thunderbird-webextensions.readthedocs.io/en/latest/changes/beta81.html). I'll leave this issue open to handle this as soon as TB 81 is out.
Split from #2.
Hello!
I use move mail shortcuts version 5 in TB 115.3.2
I move the message with Alt 6 (to avoid Alt 1 .. Alt 5 conflict) to Local Folders/Trash,, and rarely moving mail creates a EES-TEMP folder with the moved message in it .
With previous versions i didn't have this problem.
...
I see the new shortcuts working with Shift Alt, but folder 1 and 6 remained Alt 1 and Alt 6, probably because I originally used Alt 1, and later cI see the new shortcuts with Shift Alt, but folder 1 and 6 remained Alt 1 and Alt 6, probably because I originally used Alt 1, and later changed to Alt 6 to avoid the arisen conflict in ver 102, if I remember well.
hanged to Alt 6 to avoid the arisen conflict in ver 102, if I remember well.
May I modify them to Shift Alt 1 and Shift Alt 6 ?
Love what you're doing and would like to support.
Dear Robert,
thanks for that tool it saves me a lot of team.
I had an issue with subfolder of subfolders. The tools hangs.
Downtracing it, it is the problem with the i variable on recursive entry of findSubfolder:
background.js:
line 81:
" for (i = 0; i < list.length; i++)"
should be replaced by :
" for (let i = 0; i < list.length; i++)"
then the tools is perfectly working for me on TB 78.3.1
I 'm not sure, if i can post that on the master branch. Hence the issue her.
Thanks, Lars
Hi there,
This wonderful extension is no longer functioning for me on TB 115.3.0 (64-bit) on Windows.
I looked into the code, and it appears that this part results in an array of zero messages:
const tabs = await browser.tabs.query({
active: true,
currentWindow: true,
});
let tabId = tabs[0].id;
const messages = await browser.messageDisplay.getDisplayedMessages(tabId);
if (!messages) {
console.log("No messages selected");
return;
}
It doesn't fail the !messages
check as it seems to be a zero-length array.
I do not know if something has changed or my Thunderbird installation is broken.
Let me know if I can help fix this somehow.
Thanks!
Move Mail Shortcuts doesn't remember account, automatically changes to the Folder in 1st account where the folder exists.
For example if I assign Folder 1 to Local Folders / Trash and save it, and go out of options and back, Folder 1 changes to 1st account / Trash.
If I assign Folder 1 to Local Folders / Sent and save it, and go out of options and back, Folder 1 changes to 3rd account / Sent - it's the 1st account where Sent exists.
If I assign for Folder 1 to Local Folders / Outbox and save it, it doesn't change, Outbox is only in Local Folders.
Say you have setup Alt+1 as shortcut to folder "project1".
I would find it useful if I could press say, CtrlAlt+1 to just GO TO folder "project1"
That way after I moved all messages to the correct folders, I can go to a folder quickly.
I'm guessing as you have to "move" part already done, just "go to" might something that might be feasible?
I don't know whether Alt-C is used/reserved for other purpose, Alt-1 works fine.
Meanwhile I accidentally clicked on the delete button of folder1 and could not restore the folder1 line except by uninstalling and reinstalling the addon.
Is a simpler method exist?
In TB 102 the hotkey Alt 1 - Alt 5 is used for spaces toolbar, and it seems they have priority over the addon keys.
Maybe you could assign other keys as default in the addon.
I only used Folder 1 (Alt 1), so I use now folder 6 (Alt 6).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.