Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Multiple Save as PDF to email wont open


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

Recommended Posts

Posted

Hello.all I have a script that saves files to a pdf is a person has "Passed" the exam . There is multiple Certificates and the script used to put them all together and email them as ONE pdf. Since upgrading to FM15 this script although still working and i can in fact open my email and see multiple PDFs on my MAC, the people with Windows say they cant open it. It appears to save on there system as a PDF.Dat ?  If i send a single i have no problem, its just if i send as a multiple. Any ideas?

 

Screen Shot 2016-10-08 at 07.12.57.png

Posted

your $path doesn't look correct. It should end with ".pdf" and it looks as if it ends with "pdf".

Posted

Did you step through the script using the Script Debugger and Data Viewer?

Posted

Hello Thanks for your reply, Yes your right the dot is missing if i use the script debugger and let the first PDF load onto desktop there is no .Pdf only Pdf  If i reneame it and put in the dot it shows as a full pdf on my desktop. So the question is how do i get the dot in there? Thanks

 

Posted

$path = get (desktop path) & "filename" & ".pdf"

 

where filename is whatever you want it to be

Posted

great Thanks for that after i sent that i checked through and saw it , Problem i have now is that its not loading onto the email. It used too though. the pdf loads onto desktop perfect!

//PATH
Get ( DesktopPath ) &  

//NAME
BS Testing Input::BS Person1 & ".pdf"

 

 

this is what i have 

Posted

Can you print your script to pdf (not a screen shot) and post again? Also, the above script assumes that the first PDF is created, because all the others append. Is that a fair assumption?

Posted

You should not be redefining $path in the "Boron Awareness" section. $path should only be defined at the top of the script.

Also, what is a typical value for the field "BS Testing Input::BS Person1"? I typically script or substitute any values in the field that would result in a file name that is not friendly. That is, substitute out spaces and put underscores, make sure you do not have any periods, such as "Sara J. Cooney" which'll break your path.

 

In the Send Mail script step, simply enter $path in the Attachment dialog.

 

 

This topic is 3035 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.