How to open pdf from a win standalone app

    Mar 09 2017 | 6:28 pm
    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.

    • Mar 09 2017 | 9:05 pm
      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.