Sub-Folders?

snaper's icon

Hy,

I've asked this in a diff. thread, but it seems, it is far more harder than I thoughed.

If I have a sub folder inside the main folder of the patcher, how to set the path of that sub folder?

I would like to use tge patcher in a different place, so I need to remove the drive name for example...

if my path :

DRIVE / PATCH FOLDER / SUB FOLDER

How to set to something like this :

/SUB FOLDER

Is it possible?

Or I should add all of the files into my patch?

snaper's icon

I saw some pluggo plugins with external files, so I think it is possible...but how?

Roman Thilenius's icon

i cant find my abstraction now, as i am not at my main computer, but it is possible to do stuff like this using the [folder] object and [strippath].

formatting a path works likewise. you can use [regexp] or [sprintf] to just add another folder name on top.

basically you´d use ":" where you normally would write and think "/" to describe a path in max.

":"   is the max app folder
":patches:subfolder:file.txt"   will get a file 2 levels deeper.

the leading ":" is what most people forget to add and creates confusion on the first attempts.

-110