5 Replies Latest reply on Jun 17, 2016 8:45 AM by cbishop01

    How to use a Button in a Script to open up a file?

    cbishop01 Level 2

      I need a button to open PDF in whatever the default PDF app is.  In my case its acrobat.  I cannot find what i'm looking for so if you guys can help it would be appreciated.
      Here's the code i am trying to alter.

         with(add ('group {alignment: "center"}')) 
                add ('button {text: "EXAMPLES HERE"}'); 


      I've tried a few codes from here that i found for opening Other Scripts from a button but it didnt work.  Gave me a runtime error.