AnsweredAssumed Answered

Insert PDF script step not working on windows

Question asked by LawrenceCamp on Apr 24, 2016
Latest reply on Apr 25, 2016 by rgordon

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,