4 Replies Latest reply on Dec 22, 2017 8:11 AM by ClayUUID

    Using File.openDialog with javascript

    frankr79242118

      Hi,

       

      i want to give users the chance to open things like powerpoint or videos directly by clicking a button in my pogramm.

      I know that i can use something like this

       

      function open_File()

      {

      window.open("myshow.pptx","","height=400,width=400,menubar=0,resizable=0,scrollbars=0,stat us=0,titlebar=0,toolbar=0,left=0,top=0");

      }

       

      but how can i manage to let the user choose a file from his pc? I thought of using File.openDialog, safe the file path as an variable and open it. But right now i didnt manage to work with File.openDialog. Hoping for some advices.....

       

      The Powerpoints and so on don't need to start in animate,

       

      Greetings

      Frank