alternatives for change in 4.6: sendapppath?

jvkr's icon

"Developers may wish to note is the behavior of the message sendapppath to the Max object. This message now reports the file path of the application bundle rather than the executable file inside the MacOS folder. Since this is typically what developers wanted in the first place, we hope this change does not pose a problem." says the topics.pdf.

Well. This used to be my ticket into the app, where I would save preferences files with settings of ui objects. Is there now an alternative way to store such settings, hidden for the user?

_
jvkr

johnpitcairn's icon

I didn't like the new behaviour either, more work ... append /appname/Contents/etc to the path you get...

johnpitcairn's icon

Oops, just checked what I'm actually doing ... I'm not using sendapppath, I'm checking whether I'm running in a standalone using ;max getruntime, then using either my (known) development path or:

./appname.app/Contents/etc

Hope this helps...

jvkr's icon

Thanks, will try that in a minute.

_
johan

mattyo's icon