morat523035
morat523035
@Lantizia Maybe you can use the descendants property. ``` (function () { for (var folder of window.gFolderDisplay.displayedFolder.rootFolder.descendants) { if (folder.name == 'Shopping') { window.MsgMoveMessage(folder); break; } } })(); ``` Reference...
@Cleverson The following code snippet works using the error console. (not tested with tbkeys) ``` (function () { function onWindowKeypress(aEvent) { window.removeEventListener('keypress', onWindowKeypress, true); var tree = window.document.getElementById('folderTree'); var firstColumn...
Try these: ``` window.goDoCommand('cmd_scrollTop'); window.goDoCommand('cmd_scrollBottom'); window.goDoCommand('cmd_moveUp2'); window.goDoCommand('cmd_moveDown2'); window.goDoCommand('cmd_moveTop'); window.goDoCommand('cmd_moveBottom'); ``` I tested the move commands with the following text in the compose window. ``` The quick brown fox jumps over...
Try these: * move thread pane selection to top ``` (function () { var tree = window.document.getElementById('threadTree'); tree.ensureRowIsVisible(0); tree.view.selection.select(0); })(); ``` * move thread pane selection to bottom ``` (function...
I don't understand what you are asking. Here are the default commands for those shortcuts on Windows. * home - go to beginning of line * end - go to...
Here is a command similar to cmd_saveAsFile. It uses a defined name for the exported file. ``` (function () { var msgHdr = window.gFolderDisplay.selectedMessage; var msgUri = msgHdr.folder.getUriForMsg(msgHdr); window.messenger.saveAs(msgUri, true,...
The mouse click and keyboard shortcut use the folder in the messenger.save.dir preference for me. i.e. Menu Bar > File > Save As > File... (Ctrl+S) Sorry, I don't want...
Here are the basic commands. Menu Bar > File > Save As > File... (Ctrl+S) ``` window.goDoCommand('cmd_saveAsFile'); ``` Menu Bar > File > Save selected messages > EML format ```...
Why can't you set the desktop folder in options instead of choosing the desktop folder with a click? i.e. Menu Bar > Tools > ImportExportTools NG > Options > Export...
The message window should have its own set of bindings. All the tab and calendar functions, e.g. CloseTabOrWindow, are not defined in the message window. Some commands do nothing, e.g....