Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > DSS Supplement > Venapps > Command Descriptions > SPECIAL

SPECIAL>SETTITLE|title

Scroll Prev Top Next More

Sets the window title to contain title.  This is useful for customizing appearance.  

You can display the name of the loaded model, the title of the currently displayed view, and the current workbench variable.  To do this begin the title with a * followed by M for model, V for view and W for workbench variable.  You can include 1, 2 or three of these letters in any order.  Follow the letters by a vertical bar | and then the text for the title with %s where the names should appear (this is standard C syntax).  For example:  

SPECIAL>SETTITLE|*M|My App the model is %s

Naming a view only works on a screen in which a SKETCH control is included.  

NOTE Don't ever repeat %s more than 3 times as this will cause a program error.