app.saveWindow
| Syntax |
app.saveWindow (path)
|
| Params |
path is the full path to a file that the contents of the target window is to be saved into.
|
| Action |
Save the contents of the target window to the file indicated by the full path If the path is empty, the window is saved to the file it was opened from. If the target window is a new window thas has never been saved, and the dialogs-enabled flag is on (see enableDialogs), and the path is empty, a standard file selection dialog appears. If the application isn't the frontmost application it brings itself to the front before displaying the dialog. If the user clicks on Cancel, the verb returns false, otherwise the returned value indicates success or failure of the Save operation. If dialogs are not enabled and the target window is a new window, and the path is empty, the verb returns false.
|
| Returns |
True if the application saved the window, false otherwise.
|
| Examples |
app.start ("MinApp"); app.saveWindow ("System:Dave's email copy") » true
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| See Also |
app.newWindow
|