The cLabel text should show up next to the generic icon. Is this not the case?
And specifying an icon is possible, but it's far from simple. In fact, it's one of the most (unnecessarily, IMO) complex things that you can do in Acrobat JS.
The clabel name shows up in the add-on tools list, but not in the quick tools toolbar above (which is where I want it). Oh well, until I figure out the icon business I'll just have to know which tool is which based on the order in the toolbar.
Ah, I see what you mean now. You should specify the cTooltext parameter,
which will display when you hover with the mouse above the icon in the
quick tools toolbar.
One further question...
I found a code snippet somewhere online that attempted to deal with this issue. That led me to this (failed) solution:
this.importIcon("myIconFlat", "/D/J/CAD Standards/Stamps/Acrobat tools/flatten.jpg", 0);
var flatIcon = util.iconStreamFromIcon(this.getIcon("myIconFlat"));
cEnable: "event.rc = (app.doc != null);",
The code in a folder-level script executes before any file is opened, so the keyword "this" in such a context is not a Doc object, and therefore this.importIcon() is an invalid command.