I am still am having problems getting a menu to appear on WShell
2.0 I have copied the following to ENV:shellwindow and ENVARC:shellwindow
con:0/10/640/100/WShell/close menu S:cnc-menus
In my user-startup at end i tell it to execute w-startup which has
my scripts for WShell in which I have the following DHOpts
con:0/10/640/100/WShell/close menu S:cnc-menus
I don't know what I'am doing wrong… HELP!!!
Thanxs Larry
Larry,
When you load a menu using the DHOpts command, the name it assigns to the
menu is (by default) the tail part of the filename you pass. In your case
you're loading S:CNC-Menus, so "CNC-Menus" is used as the name for the
menu.
When you then refer to this menu in the console definition in the
SHellWindow variable, you need to use the menu's name. Your example used
S:CNC-Menus instead of CNC-Menus, so no menu was attached to the window.
If you'd rather give the menu a descriptive name, you can use the NAME
keyword with the DHOpts command, as for example
DHOpts menu S:My-dogs-menu name Rover
-Bill Hawes