home *** CD-ROM | disk | FTP | other *** search
- !!Script
-
- function WriteHeader(editor)
- {
- // Edit this script to provide a custom header for your new Java Files
-
- var name = Application.userName;
- var org = Application.userOrganization;
-
- if (editor)
- {
- var date = new Date();
- editor.append("/*\n");
- editor.append(" * Author: " + name + "\n");
- if (org && org.length > 0)
- {
- editor.append(" * Organization: " + org + "\n");
- }
- editor.append(" * Created: " + date.toLocaleString() + "\n");
- editor.append(" * Modified: " + date.toLocaleString() + "\n");
- editor.append(" */\n\n\n");
-
- // Return false to have the standard header inserted.
- return true;
- }
- return false;
- }
-
- !!/Script
-
-