This applies to Thunderbird/Calendar.
Is there any way to get a simple list of future events (just event & date) into the clipboard for pasting into Word? The format used for the "All Future Events" pane is OK.
Andrew
Calendar - list of events
-
- Posts: 6435
- Joined: February 3rd, 2009, 6:29 pm
Re: Calendar - list of events
I can copy the text in the title, start and end columns using the error console, then paste the text into another application.
* select "All Future Events" in drop down list in calendar tab
* open error console i.e. tools > developer tools > error console
* copy and paste code into error console (press enter to run)
Error Console command line
http://developer.mozilla.org/en-US/docs ... mmand_line
Reference
http://developer.mozilla.org/en/XUL/tree
http://developer.mozilla.org/en/XPCOM_I ... sITreeView
http://developer.mozilla.org/en/XPCOM_I ... reeColumns
* select "All Future Events" in drop down list in calendar tab
* open error console i.e. tools > developer tools > error console
* copy and paste code into error console (press enter to run)
Code: Select all
(function () {
var tree = document.getElementById("unifinder-search-results-tree");
var view = tree.view; // nsITreeView
var columns = tree.columns; // nsITreeColumns
for (var i = 0; i < view.rowCount; i++) {
var title = view.getCellText(i, columns.getColumnAt(0));
var start = view.getCellText(i, columns.getColumnAt(1));
var end = view.getCellText(i, columns.getColumnAt(2));
console.log(title + ";" + start + ";" + end);
}
})();
http://developer.mozilla.org/en-US/docs ... mmand_line
Reference
http://developer.mozilla.org/en/XUL/tree
http://developer.mozilla.org/en/XPCOM_I ... sITreeView
http://developer.mozilla.org/en/XPCOM_I ... reeColumns