Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4721 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

from your sample above, you've never defined $pdffile.

Isn't it Insert Picture? and why not Insert File?

Posted

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.

This topic is 4721 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.