AnsweredAssumed Answered

Opening pdf file from container in Windows 7

Question asked by DennisPrickett on Jan 20, 2011
Latest reply on Jan 21, 2011 by DennisPrickett

Title

Opening pdf file from container in Windows 7

Post

I have a document archive "Document Library", in which a container field  "File" holds a pdf file.  When I want to view the pdf file, I run the following script:

  • Set Variable [$path; Value:"filewin:" & GetAsText (Document Library::SavePath) & GetAsText (Document Library::File)]
  • Export Field Contents [Document Library::File; "$path"; Automatically open]

This saves the pdf fild to a disk and sends a message to open the file.  The script runs fine and opens the file on a machine running XP, on a Mac OSX machine, even on my iPad running Filemaker Go.  But, it will not open the file on a machine running Windows 7.  In this machine, the script runs, saves the file to the temp location, and then nothing happens.  I've tried it with Acrobat Reader already up and not running, with no difference.

I've also tried: Send Event ["aevt"; "odoc"; $path]     to no avail.

Outcomes