Using JavaScript in HomeSite 4.0, Part I: The Application Object's Methods, Part VI
Using JavaScript in HomeSite 4.0, Part I
The Application Object's Methods, Part VI
OpenFile(fullPath) |
Boolean |
Opens the given file. Returns -1 (a true value) if successful, 0 otherwise. This method also returns a true value if the file is already open. If the passed argument is empty, a dialog box opens and asks the user for the file name.
PreviousDoc() |
None |
Moves to the previous document in the document tab. Moves to the last one if the current file is the first one in the tab.
Quit() |
None |
Quits the HomeSite application. It will prompt the user to save any unsaved documents prior to exiting.
RunCodeSweeper() |
None |
Runs the CodeSweeper on the active document using the active CodeSweeper. To change the active CodeSweeper, use SetActiveCodeSweeper()
.
SaveAll() | Boolean |
Saves all open documents, returning -1 if successful, 0 otherwise.
SendToBack() |
None |
Sends the main window to the behind all other applications.
Produced by Yehuda Shiran and Tomer Shiran
Created: September 13, 1999
Revised: September 13, 1999
URL: https://www.webreference.com/js/column48/appmet6.html