home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 67 / IOPROG_67A.ISO / soft / Tools / mwsppv4.exe / ONPRESTARTUPIDLFILES.SCRIPT < prev    next >
Encoding:
Text File  |  1998-12-07  |  738 b   |  36 lines

  1. !!Script
  2. // Copyright ⌐1998 - Modelworks Software
  3. // @Modified build 239 cm19981207 - added document comment
  4.  
  5. /**
  6. @Notify: onPrestartupIdlFiles~adds support idl file types. 
  7. @EndTool:
  8. @Summary: onPrestartupIdlFiles~adds support idl file types
  9. */
  10.  
  11. function OnNotify()
  12. {
  13.   var output = getOutput();
  14.   var logEvents = getGlobal("LogEvents", false);
  15.   if (logEvents)
  16.   {
  17.     output.writeLine("Running onPreStartupIdlFiles");
  18.   }
  19.  
  20.   doctemp = Application.createDocumentType("Idl Corba file", "", 
  21.     "IDL Interfaces (*.idl)", ".idl", "", "Idl");
  22.     doctemp.setEOLComment("//");
  23.     doctemp.setDelimiters("{", "}");
  24.     doctemp.setMultilineComment("/*", "*/");
  25.  
  26. }
  27.  
  28. function DoCommand()
  29. {
  30.     OnNotify();
  31. }
  32.  
  33.  
  34. !!/Script
  35.  
  36.