reading the contextmenus commodity documentation it says that you can define special context menus inside a tooltype of a program. unfortunately this does not seem to work. anyone tried? missing feature or a bug?
also what about the prefs program for it? the docs tell: "The Prefs program is being worked on." is this still true?
MichaelMerkel wrote: reading the contextmenus commodity documentation it says that you can define special context menus inside a tooltype of a program. unfortunately this does not seem to work. anyone tried? missing feature or a bug?
That's probably an outdated piece of information you found there. The way (that I know of, at least) to customize the ContextMenus menus is to edit ENVARC:ContextMenus.cfg -- the format should be more or less be obvious by studying the existing entries. But do save a backup, just in case.
Quote:
also what about the prefs program for it? the docs tell: "The Prefs program is being worked on." is this still true?
Well, at least it is true that such a program has not been finished and/or released. Whether one is being worked on presently, I don't know.
MichaelMerkel wrote: reading the contextmenus commodity documentation it says that you can define special context menus inside a tooltype of a program. unfortunately this does not seem to work. anyone tried? missing feature or a bug?
That's probably an outdated piece of information you found there. The way (that I know of, at least) to customize the ContextMenus menus is to edit ENVARC:ContextMenus.cfg -- the format should be more or less be obvious by studying the existing entries. But do save a backup, just in case.
the config file is ok. this is what the documentation is abount. have a look in the contrib drawer of the os4 cd: documentation/commodities/contextmenus.doc
there the format is described and also the part with the tooltypes mentioned to be able to do program specific context menus.
the config file is ok. this is what the documentation is abount. have a look in the contrib drawer of the os4 cd: documentation/commodities/contextmenus.doc
Yep, you are right. I had forgotten about that feature and misunderstood your post. Sorry.
Quote:
there the format is described and also the part with the tooltypes mentioned to be able to do program specific context menus.
Unfortunately the icon for that doc file, which is referred to in the doc as having an example tooltype in it, has not been included on the final CD for some reason. I found an earlier version, and this is the tooltype it had in it:
POWERMENU=TT menu,CLI,requestchoice >nil: "ContextMenus specific menu" "Hey you clicked my tooltype menu !?" "That's right"
But such a program is something "anybody" could make. You know the file format, you know the GUI requirements, there is a whole drawer full of other Prefs programs to get hints from ... what's stopping you?
Or we could make a contest: Who will be the first to make a nice and conformant ContextMenus prefs program and donate it to AmigaOS as a small gift in appreciation for OS4 final?
I'm sure it would be appreciated; it would leave a core developer free for more demanding tasks.