Modify the Accessories Menu - Intergraph Smart Review - Help

Intergraph Smart Review Help

Intergraph Smart Review
2020 (15.0)

The ACCESSRY.txt file (delivered to the SmartPlant\Review folder) defines entries on the Accessories menu. You can edit ACCESSRY.txt with any ASCII text editor such as Notepad. However, if you edit the file in a word processor, such as Microsoft Word, you must save the file as text-only.

File conventions

The following graphic shows the contents of the default ACCESSRY.txt file delivered with Smart Review. The string before the equals (=) sign is the text that displays as an entry on the Accessories menu. The ampersand (&) inserted in front of a given letter creates a mnemonic, an underline on that letter, to aid in menu navigation. An optional working folder, enclosed within an open bracket ([) and a close bracket (]), follows the equals (=) sign. The working folder might be the location of other files needed by the program or may be an output location for any files generated by the program. If not specified, the working folder is the project folder (where the .dri file is located). The program name, including any path and any parameters, follows the close bracket (]) if a working folder is specified. If the working folder is not listed, the program name string follows the equals (=) sign.

Other ACCESSRY.txt file conventions include the following:

  • Comment lines begin with a semicolon (;) and they are ignored.

  • Leading or trailing white space characters are ignored.

  • A blank line between menu entries signifies a separator (horizontal line) on the menu. Blank lines before first menu entry and after the last are ignored.

  • To create a submenu, use greater than signs (>) to enclose menu text strings. The keyword ENDMENU is used after the last item in the submenu.

Additional file information

The software looks for the ACCESSRY.txt file in the following order and reads the first ACCESSRY.txt file found (ignores any other ACCESSRY.txt files in any other locations).

  1. In the project folder where the .dri file is located.

  2. In the home folder.

  3. In the product folder where SPR.exe is located.

If the first ACCESSRY.txt file that the software finds contains entries, the software places those entries on the Accessories menu in the order that they appear in the ACCESSRY.txt file. The software reads this file at program start- up and when you click the Load Accessories menu command. If you move or delete the ACCESSRY.txt file, only the Load Accessories command is available on the Accessories menu. Edits to the ACCESSRY.txt file display on the menu when you save it and select Load Accessories.

See Also

Using Accessories