keyconfig 20110522I'm looking for a way to automate the execution of a 'macro' created long ago that's assigned to Ctrl-t via Dorando keyconfig. I'd like to be able to make this 'macro' execute every so many seconds without having to hit Ctrl-t all of the time.
Is there a crontab, or some other sort of macro automation for Thunderbird? I've been looking but can't find anything. Maybe I'm blind! Thanks! @bigfootnlc
Here is a countdown alarm example using the setInterval method. The setInterval method calls a function at specified intervals. The keyboard shortcut starts (or stops if already started) the countdown. The alarm sounds when the countdown shows 00h 00m 00s in the status bar.
What is the macro? Here's the macro:
MailOfflineMgr.toggleOfflineStatus(); // select a folder var targetUri = "mailbox://nobody@Local%20Folders/Sent"; var targetFolder = MailUtils.getFolderForURI(targetUri); gFolderTreeView.selectFolder(targetFolder); MailOfflineMgr.toggleOfflineStatus(); // select a folder var targetUri = "mailbox://nobody@Local%20Folders/Inbox"; var targetFolder = MailUtils.getFolderForURI(targetUri); gFolderTreeView.selectFolder(targetFolder); goDoCommand("cmd_getMsgsForAuthAccounts"); I have a situation in my Thunderbird where it does not update properly with the IMAP server. I've tried all kinds of things to resolve it, this is the work-around created, was to hit Ctrl-t every so often. I'd like to be able to automate this so it happens ever few minutes automatically. Thanks! @bigfootnlc
Try this:
The keyboard shortcut starts (or stops if already started) running the workaround every 5 minutes. I will give that a try and let you know how it works.
Thanks, again!! Hey, Morat! That seems to be doing the trick nicely. Thanks!!
Hi, I installed Dorando keyconfig and proceeded to disable most shortcuts. A lot of them now say "Restart required" instead of the corresponding shortcut sequence. This text doesn't go away when I press Reset, nor does it go away after a restart. Now I can't even tell what the original sequence was. I don't think the UI is supposed to behave like this.
@bigfootnlc
You're welcome. @ultramage Are you using Firefox ESR or Thunderbird? Are you using the current release? What is the version of the extension? It works here in Thunderbird. * open keyconfig window Name: Address Book, Shortcut: Ctrl+Shift+B * select shortcut * click "Disable" button Name: Address Book, Shortcut: <Disabled> * test: shortcut disabled * click "Reset" button Name: Address Book, Shortcut: Restart required * test: shortcut still disabled * restart application * open keyconfig window Name: Address Book, Shortcut: Ctrl+Shift+B * test: shortcut enabled Keyconfig 2018.1 by trlkly Thunderbird 52.9.1 Window 7 SP1 32-bit When I disable the shortcut for the Address Book, the extension creates a preference in about:config like so. Preference Name: extensions.dorandoKeyConfig.main.key_addressbook Preference Value: !][][ If I reset the preference in about:config and restart, then the shortcut is enabled. Maybe something is wrong with the prefs.js file. Maybe the application didn't exit properly. Try exiting the application, then kill the thunderbird.exe process in the task manager. Try the standard diagnostic for extension issues. There may be a conflict with another extension. http://kb.mozillazine.org/Standard_diagnostic_-_Firefox http://kb.mozillazine.org/Standard_diagnostic_-_Thunderbird Support site for trlkly's extension to report issues http://github.com/trlkly/dorando-keyconfig/issues @morat I have been using thunderbird 52.7.0 with addon version 2018.1.
First thing I did was update to 52.7.2, now the stuck entries are gone from both the UI and prefs.js, and I was able to successfully set them. No restart required on any of them. One small UI problem I still see is that pressing Reset always puts in "Restart required", even though it wasn't required to set it. And I still need to restart to find out what the default hoteky was on the entries that I disabled.
That's normal behavior. Keyboard shortcuts http://support.mozilla.org/en-US/kb/keyboard-shortcuts .
I'm using this in TB60. Presently once an email is selected and shows in the message pane, there is no way to deselect it so the message pane is blank. I can do it via Edit > Select > Starred Messages (If there are none starred) but that does not show up in the keyconfig preference pane. Seems ridiculous that TB has no way to deselect a selected email. Any thoughts using keyconfig or any other magic? Thanks . FF 84.0.1 - TB 78.6 - Mac OSX 10.13.6
@RobertJ
Try these:
Reference http://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsITreeBoxObject http://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsITreeView http://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsITreeSelection P.S. I noticed that the menulist[id="window-list"] button fails to open the popup in the keyconfig dialog. Keyconfig 2018.1 Thunderbird Portable 60.0 Windows 7 SP1 32-bit .
morat, Thanks. Have screwed around and tried to add a key in keyconfig with that code but can'r seem to do it. Any guidance would be helpful. . FF 84.0.1 - TB 78.6 - Mac OSX 10.13.6
@RobertJ
Instructions: 1. install extension and restart http://addons.thunderbird.net/thunderbird/addon/dorando-keyconfig/ 2. tools > keyconfig 3. select a window in the dropdown window list 4. add a new key 5. type a command in the /* CODE */ box, e.g. alert("test"); 6. type a shortcut in the <Disabled> box, e.g. Ctrl+Shift+! 7. apply 8. close More info: viewtopic.php?p=13754363#p13754363
With your instructions and that code I can now deselect an email using a key shortcut. Thank you. Much appreciated! . FF 84.0.1 - TB 78.6 - Mac OSX 10.13.6
Return to Extension/Theme Releases Who is onlineUsers browsing this forum: No registered users and 1 guest |
![]() |