I want my programm to search automatically for new tooldata. The new tools must be written in a commandbox so that the user only has to click on the correct one to use it.
I believe you are trying to create an application targeting the FlexPendant:
Using ScreenMaker - All tooldata names could be stored in an Rapid array and can be bound to a control like combo box. On change in combox box selected index, read the value of tool data and display it a control like label, etc.
The solution above is more like you are reading from a rapid array. It will not find any new tooldata that is made available.
To find new tooldata, you can write a .NET method which finds new tooldata and updates the rapid array.