home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-1998 - Modelworks Software
- // @Modified build 239 cm19981208 - added document comment
-
- /**
- @Notify: onPrestartupPythonFiles~adds support py (Python) file types.
- @EndTool:
- @Summary: onPrestartupHtmFiles~adds support Python file types
- */
-
- function OnNotify()
- {
- var output = getOutput();
- var logEvents = getGlobal("LogEvents", false);
- if (logEvents)
- {
- output.writeLine("Running onPreStartupPythonFiles");
- }
-
- var documentTemplate = Application.createDocumentType("Python file", "",
- "python (*.py)", ".py", "", "python");
-
- documentTemplate.specialKeywordCharacters = "+";
- documentTemplate.setEOLComment('#');
- }
-
- !!/Script
-
-