| Commands
SiteMenu commands add
versatility and new functionality to MicroStation and AutoCAD.
SiteMenu commands can be entered via the keyboard or used
in custom interface components such as function keys, toolboxes,
keyboard shortcuts, or other interface components. SiteMenu
commands can also be used in the context of SiteMenu HotLists,
menu bars, and the SiteMenu
browser.
There are approximately 20 commands
available in SiteMenu. A sample of commands is listed below,
showing functionality and syntax.
SITEMENU EXECUTE
runs a program or opens a file, depending on the argument
specified. Supports the use of any variable, UNC, or path
name. If a file is specified, it will be opened by the associated
application. Examples:
SITEMENU EXECUTE $(DOCS)myfile.doc
Opens myfile.doc in Microsoft Word. Variable DOCS is used
to define path.
SITEMENU EXECUTE calc
Launches the Microsoft Calculator (if available on your
system).
SITEMENU EXPLORE
launches Windows Explorer to view a folder. Supports the
use of any variable, UNC, or path name. Examples:
SITEMENU EXPLORE c:/winnt/
Opens an Explorer window to c:/winnt/
SITEMENU EXPLORE //Server-HQ/Workstation-100/Resources/
Opens Explorer to the UNC path specified.
SITEMENU EXPLORE $(PROJECTDIR)
Opens an Explorer window to the folder currently defined
by PROJECTDIR.
SITEMENU URL
launches the SiteMenu browser to the address, folder,
or filename specified. Use this command to view
any Microsoft Internet Explorer-recognized file format,
such as HTM, JPG, or MPP. Supports the use of any variable.
Examples:
SITEMENU URL c:/sitemenu/doclinks/explanation.htm
Opens the specified file in the SiteMenu browser.
SITEMENU URL mailto:info@prosoftnet.com
Launches an email to the specified email address.
SITEMENU URL $(CONFIG)workorder.doc
Opens the file specified by the combination of a variable
and the filename. The variable could be used to specify
a path or a part of the text defining the filename.
In AutoCAD, enter the command(s) at the
command prompt, or use any combination of commands
within a menu macro (MNS) file.
In MicroStation, use the Key-in Command
Browser (DIALOG CMDBROWSE) or enter the key-in command(s)
in the Key-in window.
|