[Show/Hide Left Column]

s_EditingF9

Editing the F9 Application Menu

ZTreeWin has an editor for the F9 Application Menu, which can also export and import scripts. It is limited to operations on a single entry at a time.

The ZTreeWin Help file "3.5 Application Menu" explains how the menu works and how to edit the menu.

To edit the Application Menu entries using an more powerful text editor it is necessary to convert between the ZAM proprietrary format and plain text.

  • Ian Binnie has written a Vedit macro, ZtwMenu2txt.vdm which toggles between plain text and original ZAM format within Vedit(external link) to facilitate convenient editing.

    The conversion can be performed automatically on opening a .ZAM file with a File-Open event macro.
    Remember to convert back before saving.

  • Ben Kent has written a Visual Basic Script file, ZTWMenuText.vbs(external link) which converts ZAM files to text files (and back again) for menu editing in an external text editor. The script can also output in xml and html, for documentation outside of ZTreeWin.

    Convert the existing ZAM to ASCII text, then edit in your preferred text editor, save your changes and convert the text file back to ZAM format.


Both applications can convert back and forth without any loss, but it is important to back up your original file.
Better still create a copy of your ZAM file, and load it using the Application Menu F2 Load.

The ZTreeWin Application Menu should not be open while saving, and the ZAM file should not be open in an external application when using the F9 Application Menu.


Contributors to this page: ian .
Page last modified on Thursday 01 of March, 2007 02:33:29 EST by ian.