Problems with loadbang and sendapppath

Dec 12, 2012 at 4:41pm

Problems with loadbang and sendapppath

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?

#65644
Dec 12, 2012 at 6:29pm

this is the way to find your path in a standalone

– Pasted Max Patch, click to expand. –

Nikolas

#236452
Dec 12, 2012 at 6:34pm

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

#236453
Dec 12, 2012 at 7:58pm

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!

#236454
Dec 12, 2012 at 10:13pm

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!

#236455

You must be logged in to reply to this topic.