home *** CD-ROM | disk | FTP | other *** search
- !!Script
-
- var gOutput = getOutput();
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- editor.save();
- var path = editor.path;
- // Let the scripts in DHTML have full access
- // to the objects in the IDE. To do this we just pass
- // the Host object to IE4. In a DHTML page then we can assess
- // any object defined in the IDE by starting with the Host object.
- var result = showHTMLDialog(path, Host);
- gOutput.writeLine("Result: " + result);
- }
- }
-
- !!/Script
-
-