I’m currently reorganizing all patches and subpatches I did.
I put some of them in the “modules” folder of the vvvv release (more exactly on a personal subdir of this folder).
It works fine, I have them in the list of the available nodes with the right click.
But if a pin of a module requests a filename, it is with a relative path and the module doesn’t find the file (since I think it takes the given path from its location and not from the location of the patch using it).
Hope I’m clear.
How could I manage this problem ?
Is there a solution to transform a relative path into absolute path ? (I tried with the concatenation of the outputs of the FileName node, which gives something like “C:/blabla/MyFile”, it doesn’t work).
Is there a solution to transform a relative path into absolute path ? (I tried with the concatenation of the outputs of the FileName node, which gives something like “C:/blabla/MyFile”, it doesn’t work).
Sorry actually it works, but only in the patch calling the module (since FileName gives the path of the current patch), which is not really satisfying, it’s heavy to do that for each filename. It would be better if I could put this little function in the module.