Property CatalogFilename
CatalogFilename
A filename of the catalog (without extension) that is currently open in the MobiScript window.
Declaration
public string CatalogFilename { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Examples
if (appli.MobiscriptWindow.CatalogFilename != ""
 && appli.MobiscriptWindow.ActiveTableType == Catalog.TableType.Blocks)
{
    appli.Catalog.UseMobiscriptCatalog();
    var activeTable =
        appli.Catalog.Tables[appli.MobiscriptWindow.ActiveTableType];
    var activeLine =
        activeTable.Rows[appli.MobiscriptWindow.ActiveLineRank];
    Console.WriteLine(
        "The code of the block currently selected " +
        $"in MobiScript window is {activeLine.Cells[0]}");
}