app.revertWindow
| Syntax |
app.revertWindow ()
|
| Params |
None.
|
| Action |
Closes the target window, and re-opens it from the original file, discarding any changes since the last save.
|
| Returns |
False if there is no target window or if the window is a new one, not associated with a file, or if the file couldn't be opened, true otherwise.
|
| Examples |
app.start ("MinApp"); app.revertWindow () » true
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
If changes have been made to the window (see app.madeChanges) the window is closed without confirmation.
|
| See Also |
app.newWindow
|