I'm trying to open a folder of audio files within a standalone. For the moment I'm using [opendialog fold] and choosing it, but for the standalone I want the folder to populate a [umenu] automatically.
then have a [receive] object named app-path-name (or anything you want, just the same in both places). this will give you the folder path of the standalone. you can then use [sprintf] or [combine] to add the subfolder path to it, then [prepend prefix] to [umenu].
note that getting the path this way is different than the "path" message to [thispatcher], which only works in a .maxpat file, not a built application. It's a little confusing and you have to do it differently for each, but it works fine. It's also a bit of a pain because during testing (in the .maxpat before building the application) it won't work! So you have to build to test it fully.
Note that this will also be an issue if you want to save files as well---they don't auto-save in the same places, typically. So you need to create the save filepath differently for the standalone too, and test it in the same way---with the standalone itself.