Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Multiple Save as PDF to email wont open

Featured Replies

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

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

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

  • Author

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

 

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

 

where filename is whatever you want it to be

  • Author

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 

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?

  • Author

yes it assumes the first is created then appends. Wow i didnt even know you could print scripts to PDF , here it is .  thanks

Print all if passed.pdf

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.

 

 

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.