openFilename

Opens a new window on the given filename.

Syntax
aFrame openFilename (newWindow, filename, layout)
Parameters
newWindow - Boolean
If true, a new window is opened, even if there is already an existing window opened on this file.
filename - String
The name of the file to load.
layout - String
The view to use. It can be one of:
  • default: use the view defined for the language of this file.
  • single: simple view.
  • hlist: horizontal browser view.
  • vlist: vertical browser view.
  • tree: tree view.
  • page: page view.
Return Value
The Window object or nil if the file could not be opened.