And the earlier thread may be found here: Script for attaching pdf to email
I'm not seeing anything obviously wrong with your script.
If you select the last script step and click Specify..., then Click the specify button next to the Attachment check box, exactly what do you see in the Specify File dialog that appears?
I'm thinking the path may need filewin: or filemac: in front of it depending on wether it is Windows or Mac
Good point, but the OP confirmed that the PDF was actually being created and saved to the desktop. I wouldn't have expected that to work without such text at the beginning of the file path.
In any case, just "File:" works on both MacandWindowssystems.
I was confused by that as well.
Phil and Ron
Thats it! - The dialog gave the full path ending in $filepath. - the save as pdf only had $filepath
I deleted the full path to match and it works- Thanks very much to you both.
One last question, would this work for multiple - records being browsed, and still send the correct pdf to the correct address
Except for specifying "records being browsed" when you save the PDF, the process is identical.
Thanks- I will give it a go tomorrow
Chris (its after midnight UK!)