eBook Maestro: Versatile EBook Compiler Software  

FileInfo object

The object with properties for retrieving the file path and command-line parameters of the ebook.
Addressing the FileInfo object:

window.external.FileInfo

Properties

Dir

Call: window.external.FileInfo.Dir;

Returns the full path of the eBook's file.

Params

Call: window.external.FileInfo.Dir;

Returns the command-line parameters used for launching the eBook. For example, if the command-line is: 'c:/eBook/MyEbook.exe somestring', then the property will return 'somestring'.