2 Replies Latest reply on Apr 25, 2016 8:17 AM by rgordon

    Insert PDF script step not working on windows

    LawrenceCamp

      In a FM 14 solution an invoice pdf is saved to the user’s desktop folder with the $path = Get( DesktopPath)  & “Invoice.pdf"

       

      This insert pdf script step works correctly on the Mac, but on Windows it returns an error number 3 ”Command is unavailable (for example, wrong operating system, wrong mode, etc.).” FileMaker says Insert PDF is compatible with both Mac and Windows.


      The variable is changed for the insert step to $path = Case( Get( SystemPlatform ) = 1; "imagemac:"; "imagewin:") & Get( DesktopPath)  & “Invoice.pdf"

       

      For windows $path = imagewin:/C:/Users/Admin/Desktop/Invoice.pdf

       

      The container field is interactive and preceding the Insert PDF step is a Go To Field step which selected the container field.

       

      Anybody see what I'm missing?

       

      Thanks for your help,

      Lawrence