AnsweredAssumed Answered

Script to send an email with the "find" results attached

Question asked by dumiya on Feb 12, 2012
Latest reply on Feb 13, 2012 by philmodjunk

Title

Script to send an email with the "find" results attached

Post

This a print of the personalised script Ref: TSGal  June 17,2011

I have tried to follow the Script given in the above reply: The creating an email works but there is no attachment.

I have a Master shopping list,   I select items, find only the selected items. Now I want to send that list to my iPhone using a script. 


Set Variable [ $FileName; Value:"Shopping List.pdf" ]

Save Records as PDF [ File Name: “$FileName”; Records being browsed ]

[ No dialog ] ((-This is out of place in the print out))

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

Send Mail [ Send via E-mail Client; To: "xx@xx.xxx"; Subject: "Shopping List";

Message: "$PDFPath" ]

 

The Script will not accept "Test";"$PDFPath" Its says it is looking for an operator after the ";". 

The script does generate an email but no attachment , so I am half way there!  The above is a print out of my script word for word except the email address. I would be grateful for any help. (iMac27 FM11 FMGo latest version)

dumiya

Outcomes