rem: var unifinderTodoTree = document.getElementById( ToDoUnifinderTreeName ); 
add:  var tree = document.getElementById( ToDoUnifinderTreeName ); var treeitem = tree.treeBoxObject.view.getItemAtIndex( tree.treeBoxObject.selection.currentIndex ); var todoId = treeitem.getAttribute("toDoID"); 
context: function unifinderDeleteToDoCommand( DoNotConfirm ){   var unifinderTodoTree = document.getElementById( ToDoUnifinderTreeName );   for( var i = 0; i < unifinderTodoTree.selectedCount; i++ ) {      gICalLib.deleteTodo( unifinderTodoTree.getSelectedItem( i ).toDo.id );   }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/766f6b5da18c8697a73c5e9a3b9483cf778d2777/unifinderToDo.js/clean/calendar/resources/content/unifinderToDo.js