評分: 5 / 5 顆星

When I first tried to run Bird Import it failed saying that it was unable to find the mail application (sorry I don't remember the exact error message text). I used the Venkman Java Script Debugger and determined that TbTools.jsm was expecting the registry key 'HKCU\\SOFTWARE\\RIT\\The Bat!\\Working Directory' to contain something similar to "%APPDATA%\The Bat!". In my case the registry key contains the actual path to the mail structure since it is on a different drive and is not located in the Windows application data structure. I made a minor modification to TbTools.jsm and then the import seemed to execute correctly. I have about 1.3gb of mail folders and I have not checked everything but so far it looks good. The import took several minutes to execute. My thanks to the author of this add-on. I tried to send this information directly to the author but I can't get passed the language barrier.

My modifications consist of one line commented out and one line added. These are marked below.

TbTools = {
/**
* Detect the location of The Bat! files.
*
* @returns {String} Path to the The Bat! files. False, when not found or not installed.
*/
detectLocation: function() {

var user_dir = RegTools.readStringValue(TB_USERDIR_REGKEY);

if (!user_dir)
return false;

/** var abs_user_dir = FileTools.expandEnvironmentStrings(user_dir); */ THIS LINE COMMENTED OUT

var abs_user_dir = user_dir; THIS LINE ADDED

此意見為舊版本 (1.0) 的附加元件。 

I have fixed the issue in version 1.0.1, which is available for download (not reviewed yet, so available at the bottom of the page).