How can I compile a MAX app that can locate a folder on another computer?
I’ve designed this photo booth and it works great on my computer. The problem is that when I compile it to a stand alone, it has no idea where the photos are supposed to be saved and where the photos that already exist can be opened. I’ve tried this a few ways, but can’t get it to work.
Ideally I would have the app in the same folder as the folder containing the images, and I could just access them with some sort of filepath + ‘/images’ situation. Here is the way I have it now (works for me, not others)
----------begin_max5_patcher---------- 453.3ocyT0zSiCCD8bxuBKKs2BMwIMIMbk8ZOshSqVgbRFZMjZGY6x1Bh+6D OtAJeHHZQhkKYx7ge9MO6w2EFPqU6.CkbJ42jff6BCBvPt.AG7Cna36Z53Fr LpD9qp9JZjOkE1YwvcJd6FvXHsPs8h90JqxLVTO21rVHWcgFZr98JqHYVRDI KAMr7bmIMaVB4OGVjb6F0VaGXwskcHpOjceO3wgRebAMpNk1Gk4Pa.4rrxpE t+XUUkyYQtDOV+kJo0HtEAhkNrBeXQK1OC83IoUzmHiP9Rt3.Px2f.PWpj7F E0k49vP2mnOmfZ50Bo8RhArjeXheOsLuZVdznjxXUeK0xx+iZIu1n51ZgAwa 8DtTlglpxuk5XwWgN5lj4qfWIjqz78K4MmFetAzlXmqQIiWt+LMvsBkzD+Kq VbM7ygWAhO5of269a9Bb5OaNZlu.U+T1mQ2+Xcr7smsSmlNhaDsSHe4amX64 h+bw0n1paFo43SKjmZvVvXERTAOtnhmUzZQaKf4G6mVggW2AXWk7lGySlOkS fOkUec7oXJ5S4+He7Ge799aFtEe.SjJCSAW4GXKhPWgz6hHR0vMhw5yCcnce 3CPJ2Jae -----------end_max5_patcher-----------
I haven’t been able to spend time debugging on another machine yet, but it seems that if I could just add the folder to MAX’s included list, it would work. But how can I do that on a computer w/o MAX installed?
Is there any object that is good for this?
;max message to the rescue!
no need to include the folder to the list, this will give you the app’s path.
for standalones only. for patches, it’s "path" message to [thispatcher].
----------begin_max5_patcher---------- 393.3ocuTssTBCCD841uhL4YzooPwh9jeGpCSncEB1lzIIkKxv+tIaaADPGw aujL6lS2bNmcS2DFPmnVAFJ4VxCjffMgAAXJehf13.ZIeUVA2fvnYpxRPZo8 ZNyBqrX9khhBxRk9EhPRLVtLmWnjPGtmURqQ7J3wxhuNpMsrtTHK.KVa19jp ZaW1NnUba1Lgb5XMjYaXbbZpqRj3DleikDgQtUxSsejHGImZx7qt4PpH4kHU n2qE7Bp+fsgg9kdeQenDLF9zKRewmUerOVerQiPEkN.2Fg5ikdd8kzQklZaW WAMUgR2A+2Q5RXo6BOYBPSJWO1ohYWhmD8c8jld9vAeVKu++lkbzzvNO4tG0 NbDC3dNTU4MmiMoBgDxT0R6gSH+MSS2flEaX6qkD+V+9m25h+wVGBCk2Q+eA olO+68SipVm0cIscOxdtkCFqPxsBk7.LtgdBaGlYh7bPd3XUtvvmT.nthNgb tVxBPaZKIRDWactR6CG1CCExlPrhTMrPzgePnuZaCeibL0yZ -----------end_max5_patcher-----------