-
Hi - I've been developing a listview in Autohotkey that parses a map's XML and lists the nodes in sortable columns. It's similar to the Find and Replace window on Ctrl+Shift+F but with additional columns such as attributes, node depths, child counts, descendant counts, anything useful. Icons, selected via the Structured Icon Toolbar, work well as tags. I'm happy to show 'em as words rather than images. Within the map's XML, these icons are stored as internal identifiers. But the user is likely to have chosen the icon via a semantic description in the UI that is not retained in the map's XML. Thus for example: Excellent is stored as bookmark Question: is there a table a script could interrogate to map the internal icon name back to the friendly description by which it was selected? That's what I'd prefer to show in my listview. Workarounds there are of course. With just a few icons in use at present, I can maintain my own table as an array pair or string within the script. Also, user icons are displayed and selected by their filenames, so I can make some PNGs and choose meaningful names for them. Still interested in a native solution if anybody knows of one. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I don't know a solution for your situation, but I can say that the Developer Tools Add-on has an inspector of menu items that shows information about the icons. For example, when inspecting one icon, it returns this kind of information:
So, one idea is to take a look at the methods used in the Developer Tools add-on, to understand how it works. |
Beta Was this translation helpful? Give feedback.
-
Maybe, it's possible to use |
Beta Was this translation helpful? Give feedback.
I don't know a solution for your situation, but I can say that the Developer Tools Add-on has an inspector of menu items that shows information about the icons. For example, when inspecting one icon, it returns this kind of information:
So, one idea is to take a look at the methods used in the Developer Tools add-on, to understand how it works.