mikemccloskey Posted February 24, 2008 Posted February 24, 2008 (edited) I am looking for an easy way to email a pdf from a filemaker layout using the email address from the record in one step. I do not need to save the pdf. I am sure there is an easy solution but I have not yet been able to figure it out. Thanks for any help Edited February 24, 2008 by Guest
Fenton Posted February 24, 2008 Posted February 24, 2008 How about 3 lines? On FileMaker 9 it is much easier, because there is a Get ( TemporaryPath ), which is the path to a special temporary items folder for FileMaker items. You don't really need to know where it is, because all its items are dumped when you restart the computer (I believe, can't check while writing this :-). This example is for FileMaker 9 only. It is possible in earlier versions, using similar, with AppleScript, or a fixed path in Windows. Email_PDF_from_Temp_9.fp7.zip
mikemccloskey Posted February 25, 2008 Author Posted February 25, 2008 That looks great Fenton. Thanks for that. I don't understand all that the script does, but I should be able to utilize it easily enough.
mikemccloskey Posted February 25, 2008 Author Posted February 25, 2008 Fenton, if I could trouble you a bit more. I don't need to have a subject field as all emailed pdf's will have the default "Invoice" as the subject line in the email (defined by the email to script step). I say this because I am not sure how the subject info relates to the Set Variable step. I am getting the message "$TempPDF could not be created on this disk, etc."
Fenton Posted February 25, 2008 Posted February 25, 2008 Are you using my file, as is? Do you see the Temp path (are you using FileMaker 9)? Do you have an email address in the To line? Are you using Apple Mail as your email client app? If you look at the Send Mail step in the script, you can put "Invoice" in the Subject box.
mikemccloskey Posted February 25, 2008 Author Posted February 25, 2008 I played with it a bit more and was able to figure what it was doing so I could put it in my solution. Works great now! Thanks for all the help Fenton.
Recommended Posts
This topic is 6117 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