elsethis.infoWindow("Zotfile Error","Selected item is either an Attachment, a note, or a collection.",8000);

},

// Rename & Move Existing Attachments

RenameAttachments:function(){

var items =ZoteroPane.getSelectedItems();

var confirmed=1;

if (items.length>=this.prefs.getIntPref("confirmation_batch")) var confirmed=confirm("You are about to rename and move the attachments of "+items.length+" items. Are you sure that you want to proceed? Your call!");