0 Replies Latest reply on Nov 11, 2015 10:56 AM by arkvys

    Send event for tow type of files

    arkvys

      Hello,

      I'm working on a database to keep track of tooling components. I placed a button on the form to open an AutoCAD drawing with .dwg extension using Send Event(see script bellow). But some of the drawings were scanned to .pdf files and I would like to create a script, which would recognize the file extension. Then the Send Event would open the file, using the default application, assigned for that type of file. I am new to Filemaker and still learning it. Is there a function, to get the file name from the directory including the extension? Sorry I couldn't figure out how to copy and paste the script and have attached the screen snap.

      Thank you.

      Scrip.jpg