Export the tool output named in the command. For graphical output and sketches, this will go to the clipboard as a Windows Metafile (PICT file on the Mac). For text output, it will be sent to the clipboard as text. The tool output name must match the name field of the TOOL or WIPTOOL control.
:SCREEN TREE
TOOL,"TR1",2,6,96,42,,,WORKBENCH>CAUSES TREE
BUTTON,"Export the Tree",50,60,0,0,C,,EXPORT>TR1
You can have multiple output windows open on a screen and export them by name. If the name does not match an open graph, report, or sketch, nothing will be done.
You can not use the EXPORT command to export graphs created using MENU or TEXTMENU commands. The graphs can only be exported if the user clicks on the Export button on the graphics titlebar.
If you use an exclamation point ! instead of a graph label with the export command a bitmap image of the screen will be copied into the clipboard.
BUTTON,"Snapshop",50,60,0,0,C,,EXPORT>!