Josef Templ wrote:It seems that this (impressive tool)
absolutely impressive, but not my work
is intended to be run as a standalone application.
yes. It looks like.
When mixing in the many subsystems into the standard BlackBox distribution there are
ambiguities leading to duplicate menu entries.
As far as I understood the /USE option, which was originally intended for a global (read only)
installation of BB, it should provide a kind of lookup path, i.e. look first in the path given
by the /USE argument and if not found look in the path where the main (i.e. normally
BlackBox) EXE file was found. In this case the /USE path would "black out" the file from
the EXE path. But this seems to be handled differently for the menu files.
Please understand me right: I like the feature that the menus from the EXE path
are displayed also, but I am a little bit surprised by the fact of duplicate entries.
If you want to avoid the duplication, you probably have to provide two
System/Rsrc/Menus.odc files and a command for switching between them
depending on what you want to see, the BUGS application menu or the
BlackBox standard menu.
I do not understand your suggestion.
In your customized menus file avoid the line
because that line includes all menus of subsystems not yet included.
Is the INCLUDE the cause of the duplication?
--
Bernhard