192,193c192,193 < versionstring = "1.0.1.8", < releasedatestring = "Nov 21st, 2011", --- > versionstring = "1.0.1.8a", > releasedatestring = "Feb 5th, 2012", 377c377 < ma = /\.([^.]*)$/.exec(path); --- > ma = /\.([^\\.]*)$/.exec(path); 583,584c583,599 < if (!pu.fso.FileExists(path)) { < pu.displayAlertMessage("File not found: " + path); --- > if (pu.fso.FileExists(path)) { > // XXX: does it make more sense to handle keyword detection > // here rather than inside openPath()? > return openPath(path); > } else if (pu.fso.FolderExists(path)) { > FARR.setStrValue("launch", path); > return TRIGGER_HANDLED + TRIGGER_CLOSE; > } else { > pu.displayAlertMessage("Neither file nor folder found: " + path); > return; > } > case FOLDER: > if (pu.fso.FolderExists(path)) { > FARR.setStrValue("launch", path); > return TRIGGER_HANDLED + TRIGGER_CLOSE; > } else { > pu.displayAlertMessage("Folder not found: " + path); 587,589d601 < // XXX: does it make more sense to handle keyword detection < // here rather than inside openPath()? < return openPath(path); 690,692c702,707 < if (!pu.fso.FileExists(path)) { < pu.displayAlertMessage("File not found: " + path); < return; --- > if (pu.fso.FileExists(path)) { > augmentContextMenuForPath(path); > } else if (pu.fso.FolderExists(path)) { > FARR.setStrValue("addmenu.contextmenu", menuitemstr); > } else { > pu.displayAlertMessage("Neither file nor folder found: " + path); 694d708 < augmentContextMenuForPath(path);