How to open pdf from a win standalone app
Hello everyone,
I need a solution about how to open a pdf file located into a max standalone app. I've found a solution for Os X environment, using the 'shell' object, but it doesn't exist for windows yet. Does anyone have any suggestion about how to write automatically in a message box a path that refers to this file located in a standalone app?
Here's the algorithm I've used for the os x version.
Thank to all in advance.
localize_file1.maxpat
Max Patch
Hi Marco,
You don't have to use [shell] to open a pdf. You can use:
;
max launchbrowser $1
message where the $1 will be the pdf's path.
The file will open with the default application for that type of files.
Type it in a [messagebox] including the semicolon.
-N