fileMenu.openGuestDatabase

Syntax fileMenu.openGuestDatabase (f, topLevelName="", flHidden=true)

Params f is a full path name to the file to open or create.

topLevelName is a string, providing the name of the top level item in the database. If it's empty, don't create a top-level item.

flHidden is a boolean, if true, when creating a file, it is hidden, otherwise it is visible to the user.

Action Opens or creates the file.

Returns True if the file is open, false otherwise.

Examples fileMenu.openGuestDatabase ("C:\\Program Files\\Radio Userland\\backups\\test.root", "testStuff", false)

   » true

Errors If a disk error occurs during this process, an error message is generated and the script terminates.

Notes It creates the folders containing the file if they don't exist.

This verb, implemented by a script, is new in Frontier 7.

See Also window.isOpen

fileMenu.open

fileMenu.new

Discuss