Dani R Posted December 20, 2011 Posted December 20, 2011 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
bcooney Posted December 20, 2011 Posted December 20, 2011 from your sample above, you've never defined $pdffile. Isn't it Insert Picture? and why not Insert File?
Dani R Posted December 21, 2011 Author Posted December 21, 2011 $pdffile="imagemac:/mac/Users/user1/Desktop/to/Cliant/902/1638.tiff"
Vaughan Posted December 21, 2011 Posted December 21, 2011 The insert image step should be insert file.
NickOE Posted December 21, 2011 Posted December 21, 2011 You need to use filemac in place of imagemac Then use Insert File
comment Posted December 21, 2011 Posted December 21, 2011 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.
Recommended Posts
This topic is 5072 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now