Combining the the Save Record as PDF Script with Send Mail Script
<!-- StartFragment -->
I am running OS 10.5.8 with FM Pro 9 and no networks or publishing. I have used Save Records as PDF to create a Script, which works great. I have used Send Mail to create a second Script, which also works great. When I run these 2 Scripts“manually” one right after the other they work fine, but for multiple records I have to run each Script each time, for each for record, I wish to save and then send.
The problem occurs when I create a thirdScript to run both of the above Scripts together. It appears the PDF fille gets “saved,” but the Send Mail Script appears to delete the “saved” PDF file as it begins to run, as it does not get attached, and it is missing from the folder where the Save Script put it once the Send Mail Script finishes.<!-- EndFragment -->