
A small IDE tool that lists the PB constants.
Searches can be performed via filters on variable name, type and/or value.
It can also be used as a standalone tool.
It is largely inspired by an old tool whose author, source and executable I have been unable to find.
If he recognizes himself, please let us know, and thanks in any case.
And unlike his, my old very first version only allowed me to copy the name or value to the clipboard.
I recently decided to improve it (without going into details, partly because of #PB_ListIcon_Alignment

Sorry, but this is a Windows-only version, because I use several APIs whose equivalents I don't know on MMacOS and Linux.
How it works:
As PB IDE tool:
• It uses environment variables 'PB_TOOL_Compiler" to identify which version of PB it was launched from and 'PB_TOOL_Scintilla' to retrieve the gadget handle to use.
Note: This means that if you run it from a certain version, constants added to PB afterwards will not be listed in the tool.
As standalone tool:
• For compiler path:
• If config file exists, it tries to retrieve the path of the PB compiler
• If config file not exists or if the compiler path is invalid:
• It tries to read the 'HKEY_CLASSES_ROOT\Applications\PureBasic.exe\shell\open\command' key in the registry
• If it fails, to finish, it tries to read the 'HKEY_CLASSES_ROOT\PureBasic.exe\shell\open\command' key in the registry
• If it fails or compiler not exists, the app ends.
• For Scintilla gadget:
• It enumerates all windows with a Scintilla gadget and uses the topmost (the most forward) window and gadget (if several) to insert name or value. This scan is performed each time the appropriate buttons are pressed. It allows the user to change the target window and/or Scintilla gadget.
If inserting or copy are succesfull, a message is displayed in the status bar. If not, no message.
This tool have 5 localizations : French (of course!

It can be renamed as you want and the config file name structure is ToolName (without extension) + ".ini".
Don't hesitate to feedback if bugs (Certainly, there are!


[Download link temporarily unavailable]