December 20, 201114 yr hello i need some help: I am trying to run a script that will insert a pdf file to a field container . the script goes like this filepath ="imagemac:/mac/Users/usera/Desktop/to/Cliant/902/1638.pdf" goto field = [pdffile] insert image [$pdffile] at the end of the i get a empty filed no file is in the field , i did a check by GetAsText ( pdffile ) what am i doing wrong. Thank you dani
December 20, 201114 yr from your sample above, you've never defined $pdffile. Isn't it Insert Picture? and why not Insert File?
December 21, 201114 yr A PDF file (on the Mac OS platform) can be inserted into a container field as a file, as a picture or as a movie. If you want the field to display the contents of the PDF file, then you must insert it as a picture or as a movie (for multi-page documents). If the script: Set Variable [ $path ; ... ] Go to Field [ YourTable::Containerfield ] Insert Picture [ $path ] does not produce a result, then the $path is wrong.
Create an account or sign in to comment