Jump to content

script help for emailing pdf of record


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

Recommended Posts

  • Newbies

This is my script but it isn't working - any help would be appreciated

If [ Get ( SystemPlatform ) = 3 ]

Set Variable [ $FileName; Value:Clients::C_FirstName & Sessions::Ses_Date ]

Save Records as PDF [ File Name: “$FileName”; Current record ]

[ Document - Compatibility: Acrobat 7 and later ]

[ Pages - Number Pages From: 1; Include: All pages ]

[ Security - Printing: High Resolution; Editing: Any except extracting pages; Enable copying; Enable Screen Reader ] [ Initial View - Show: Pages Panel and Page; Page Layout: Single Page; Magnification: 100% ]

[ Restore; No dialog ]

Set Variable [ $PDFPath; Value:Get ( DocumentsPath ) & $FileName ]

Send Mail [ Send via E-mail Client; To: Clients::C_Email; CC: Locations::Loc_Email; Subject: Clients::C_FirstName & " " & Sessions::Ses_Date; Attachment: “$PDFPath” ]

End If

thanks!

Link to comment
Share on other sites

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