home *** CD-ROM | disk | FTP | other *** search
/ PC User 2001 August / APC_Aug2001_CD2.iso / features / web_dev / files / mwjpp516.exe / %MAINDIR% / Tools / Application / removeOpenIn.script < prev    next >
Encoding:
Text File  |  2001-06-19  |  479 b   |  26 lines

  1. !!Script
  2. // Copyright ⌐ 1999 - Modelworks Software
  3.  
  4. /**
  5. @Tool: removeOpenIn~remove all directories
  6. from the Open In list.
  7. @EndTool: 
  8. @Summary: removeremoveOpenIn~remove all directories from the Open In list
  9. */
  10.  
  11. var gRecentFilesMap = getMapFile("RecentFiles");
  12. var gOutput = getOutput();
  13.  
  14. function DoCommand(commandID, menuIndex)
  15. {
  16.     var fileList = gRecentFilesMap.lookup("OpenInList", null);
  17.     if (fileList)
  18.     {
  19.         fileList.removeAll();
  20.     }
  21. }
  22.  
  23.  
  24. !!/Script
  25.  
  26.