Forums > MaxMSP

Problems with loadbang and sendapppath

December 12, 2012 | 4:41 pm

I’m working on an application that allows users to download videos from the internet into the same directory as the application. Right now it is set up so that there is a loadbang triggering a "sendapppath" to a message. However, when I build the application and open it, the message automatically has the path of the patch instead of the path of the built application, so it doesn’t work. Is there an easy way to fix this?


December 12, 2012 | 6:29 pm

this is the way to find your path in a standalone

– Pasted Max Patch, click to expand. –

Nikolas


December 12, 2012 | 6:34 pm

Sorry, actually with this, you do not have to change the process of path finding, from max patch to standalone.
Hope it helps

– Pasted Max Patch, click to expand. –

Nikolas


December 12, 2012 | 7:58 pm

Thank you! That appears to work most of the time. I think my actual problem lies in a different part of the patch/order of operations. Thank you for your help!


December 12, 2012 | 10:13 pm

without a sample of the patch it is difficult to think of what might be the problem.
Maybe you store the path somewhere, if it is ‘set’ to a message box, it is saved, so maybe it is triggered there.., if you save it when patching and is triggered after you make it a standalone…
A piece of your patch would really help solving this!


Viewing 5 posts - 1 through 5 (of 5 total)