Please enable JavaScript to view this site.

Vensim Help

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

SPECIAL>SECONDCLICK|graph

Scroll Prev Top Next More

Tell Vensim the equivalent of a second click has occurred in the window named by graph. graph must refer to a tool output window as labeled in the txt  field of a TOOL or WIPTOOL control (see the EXPORT command for an example).

The SECONDCLICK command selects the highlighted variable in the tool output into the workbench.  Consider the example:

:SCREEN CAUSE

TEXTONLY,"Causal tracing -",0,2,50,0,R

WBVAR,"",50,2,0,0,L

TOOL,"TR1",2,6,96,42,,,WORKBENCH>CAUSES TREE

TEXTMENU,"T - Trace on highlight",5,50,0,0,L,Tt,SPECIAL>SECONDCLICK|TR1,

SETWB,"",0,0,0,0,,,,CAUSE