Menu Files

 

Windows Interface Language (WIL) scripts are written in a plain text file, which can be created by Notepad or most word processors. (Of course, we recommend our own WinBatch Studio, which has many features designed expressly for programmers.)

These text files can take one of two forms, depending on your particular implementation of WIL: batch files or menu files.

  • WinBatch executes batch files. A batch file is simply a list of WIL commands and function calls, executed in order (just like the old DOS batch language).

  • A menu file is similar to a batch file, except that multiple chunks of WIL code are organized into menu and sub-menus, and each routine is launched by pressing the appropriate keystroke (if supported) or selecting an item from the menu. (The name and location of the menus vary depending on the particular implementation of WIL menu files.

WinBatch comes with three utilities that use menu files: FileMenu , PopMenu and the right-click context menu in WinBatch Studio.

The menu file format is explained in the Windows Interface Language Reference help file.

 

 

FileMenu

PopMenu