Integration into QuickFolders for French users #189
Unanswered
RealRaven2000
asked this question in
Q&A
Replies: 1 comment
-
For testing. I have tried the following: {
"ctrl+0": "unset",
"ctrl+1": "memsg:[email protected]:{cmd:'shortcut',code:1,isCtrl:true}",
"ctrl+2": "memsg:[email protected]:{cmd:'shortcut',code:2,isCtrl:true}",
} In my (QuickFolders) background page I have added a switch statement for this one: messenger.runtime.onMessage.addListener((data, sender) => {
if (msg_commands.includes(data.command)) {
return notificationHandler(data, sender); // the result of this is a Promise
}
switch (data.command) {
case "shortcut":
console.log("QuickFolders: Received shortcut:", { data , sender });
break;
}
}); obviously I am trying a json object as the "message". not sure how a "string message" would work syntactially? An example would be great! I also tried: but "manifest_version" : 2,
"applications" : {
"gecko" : {
"id" : "[email protected]",
"strict_min_version" : "111.0",
"strict_max_version" : "132.*"
}
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to be able to remap Shortcuts for my French users, they use Ctrl+Number (without Shift) to activate one of 10 QuickFolders Tabs:
The problem is that it is not possible to type a number without SHIFT on AZERTY keyboards.
they only allow
CTRL
+&
é
"
'
(
-
è
_
ç
à
)
=
- numbers require SHIFT.I see that we can use internal Thunderbird commands in a shortcut, would it be possible to access global name spaced functions in experimental Add-ons as well? I have a global namespace "window.QuickFolders" that could be used. Alternatively, can the shortcuts be remapped to be other shortcuts?
E.g.:
Beta Was this translation helpful? Give feedback.
All reactions