pattrstorage: writexml writes to wrong location?
I send this message to pattrstorage without defining a path:
writexml XPedals4_Storage.xml
and expect the file to be created in the directory where the patcher lives.
But Max (9.0.5 on Mac M1) writes it to this location:
/Applications/Max.app/Contents/Resources/C74/help/max
Why?
So far I remember Max used to write to the directory of the patcher.
———
Afterwards:
read XPedals4_Storage.xml
does not work. I guess it looks at the "correct" location.
This is normal behaviour in case patch you use was not allready stored, and so has no path.
In case that it was allready stored, that must be a bug.
I would use absolute paths to make sure what gets stored where.
Patch was saved, is many days old. But because you just mentioned that - the patch recently didn't save normally for a couple of times, opened a prompt. Maybe it really doesn't know where it is anymore. I will check.
Yesss! It had forgotten its home. Simply duplicated and reopened and everything is normal. Maybe I could have tested with the thispatcher path. Thanks.
there are few things in Max Preferences which I allways disable :


"Save Dependency Paths" was on, switched it off.
Thank you.