“the problem only is the width and hight should be like a icon file (filetexture->quad) hight and widht”
you can get the this information with the “info (EX.9 Texture)”-node node that you can input a spread of textures and you get spreads with the height and width values in teh same order as the input textures…
"and every button has other icons so i may redesign your project and if you want to i send it to you, that you can release it again :D "
if you send a spreads of texture to the spreaded buttons this could be solved…
can you gerate a spread of textures? just use spreaded filenames with the filetexture nodes… and how you can generate this filenames automatically? just use the dir nodes which outputs the content of a directory as a spread of strings… merkst du was? praktisch alles ist spreadable… but the difficult part in many cases is to deal with the order of indices of the spread…
"and the next problem is that every button have a other action to do, like play or stop or exit or something, "
mhh, that could be soplved in severall ways… one way could be to generate an additional spread with the same count as there are buttons… the value in each slice defines what the button would do… for example 0=play 1=stop 2=exit…
if you use my button check module you know the index (means the possition in the spread) of the touched button… with this information you can get the function of this button with this indexnumber… just connect a “getslice” node to your additinal function spread and my button check module on the index inlet of getslice and you get the function of the touzched button…
i have somewhere an picturebrowser and selector patch arround which does some things that can be usefull for you but it isnt finished and not documented… i post it later…