![]() |
|
|||
|
Home
Process Simulation
Device Simulation
Interactive Tools
Virtual Wafer Fab
Licensing
Platforms
Services
Design Flows
Technical Library
Downloads and Support
Corporate
Learn more
|
Hints, Tips and Solutions
Volume 12, Number 3, March 2002 A simple way to add custom commands to Expert's menu is implemented. It is possible to add menu items that execute xi-commands or procedures. To do this, you must put a file named 'custom.mnu' with syntax described below into Expert's executable directory and start (or restart) Expert. Below is an example custom.nmu file. This file may be found in the "Examples>>Expert" folder of the CELEBRITY installation.
Syntax: The syntax will be explained using the previous example. "10", "11", "12"" are the positions in Expert's main menu for new submenus. The > character marks the beginning of a submenu. The < character marks the end of a submenu. As you can see, submenus may be nested. "Debu&g" shows how to define the name (Debug) of a submenu and its hotkey (G). "New &Box = box 0 0 100 100; zoom;" This line defines a submenu command. Here, as above, "New &Box" defines the name and the hotkey for the command. It is separated from the actual command by the equal sign. You may put here several xi-commands separated by semicolon, as in: &Box3 = box 10 10 100 100; zoom; The line &Wordpad = spawn("C:/WinNT/notepad.exe") /nowait; is an example of calling other Windows programs from Expert. More advanced customization of Expert's User Interface and functionality is possible via Expert API.
|
|||
| © 1984 -
Silvaco Data Systems Inc. -
Trademarks - Privacy Policy
|
||||