![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there anyway to build a script that would email a .jpg file out of a container field using FM built in email client. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thank you for that, will it work if the name of the .jpg is different each time? Thanks JC |
|
JC <jc (AT) jclewis (DOT) biz> wrote: Is there anyway to build a script that would email a .jpg file out of a container field using FM built in email client. Yes, it is easy: Database: Test One table: Test Two fields: Text, Billede (which means picture) One script, two steps: Mail (this is the name of the script) Export Field Contents [ Test::Billede; "file:../Desktop/Billede999.jpeg" ] Send Mail [ To: "no (AT) way (DOT) dk"; Subject: Test::Text; Attachment: "file:../Desktop/Billede999.jpeg" ] [ No dialog ] This is done on Mac. You can of course save it to other locations than the desktop. But this is the simple version. |
#5
| |||
| |||
|
|
Jens' script specified the name of the output file (Billede999.jpeg), so it's identical each time the script is run. Yes. And as I understood the task the filename is of no importance, |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
I may be confused. I have a container field that holds .jpg files A picture of each customer. The file name is different in each record. john.jpg, mary.jpg etc. So, I want to make sure I can make a script to email that .jpg (regardless of name) out. Thanks JC |
#8
| |||
| |||
|
|
I may be confused. I have a container field that holds .jpg files A picture of each customer. The file name is different in each record. john.jpg, mary.jpg etc. So, I want to make sure I can make a script to email that .jpg (regardless of name) out. |
#9
| |||
| |||
|
|
I may be confused. I have a container field that holds .jpg files A picture of each customer. The file name is different in each record. john.jpg, mary.jpg etc. So, I want to make sure I can make a script to email that .jpg (regardless of name) out. Thanks JC |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |